News for hackers. Stuff that matters.
Re:Constraint Solving with MiniZinc by ant6n on Sunday October 07, 2018 @07:28PM (#18163178)
How does this relate to using integer linear programming to solve linear constraint problems? Why would one use a dedicated language?

When I model constraint satisfaction & optimization problems, I generally try to make linear models and define them using pulp in Python. The models are built by python programs; I feel using a dedicated domain-specific language is not so useful (you need general purpose computing to define problems, for example you need to read data that is necessary to build the model).

Re:Constraint Solving with MiniZinc by bash-j on Sunday October 07, 2018 @10:21PM (#18163735)
How do you optimise a delivery route with specific window times for each drop off using a linear model? How do you schedule shifts for employees to satisfy business requirements without also violating their contracts? How do you fill a truck with the right combinations of goods so that it maximises the space used, but also doesn't unbalance the container, and can still be unloaded at each drop off using first in last out? How do you maximise operating capacity at a factory when each time you change what you are building requires stop start time and you need to produce a range of products consistently, while also meeting customer delivery windows, and you don't have unlimited storage for inventory and limited staff with specific skills that only work certain hours or days of the week? How does a retailer layout their warehouses so when the orders for stores are picked it minimises the labour costs for not only picking the orders, but also putting stock on the shelves at the stores? How much should they order for each item, and how often do you deliver to stores? You can probably guess I work in Supply Chain.
Re:Constraint Solving with MiniZinc by ant6n on Sunday October 07, 2018 @10:24PM (#18163748)
I believe you're trying to make a point about something, but all I can see are (rethorical?) questions.
Re:Constraint Solving with MiniZinc by 3rdAccount on Sunday October 07, 2018 @10:37PM (#18163782)
Maybe saying some of that can't be formulated as LP/MIP?
Re:Constraint Solving with MiniZinc by shaklee3 on Tuesday October 09, 2018 @01:20AM (#18173517)
All of these can be formulated by MIPS, so I didn't understand the point either.
Re:Constraint Solving with MiniZinc by 3rdAccount on Sunday October 07, 2018 @09:08PM (#18163500)
I agree with you here. I think MiniZinc is more like a free/open-source version of the AIMMS modeling language, although AIMMS seems to have better I/O facilities.