Re:Constraint Solving with MiniZinc
by 3rdAccount on Sunday October 07, 2018 @10:33PM
(#18163768)
Ah, thanks for giving some context. Since I work in an industry that has our main problems being LP & MIP, I can see no reason to not use a general purpose language like Python or Julia to talk to an industrial solver like Gurobi. However, if I worked for a firm that did all sorts of optimization work (I'm jealous of anyone who does this), I might have to determine how best to formulate the problem and maybe MiniZinc is helpful there.
Minizinc makes it easy to spell out a problem, try different ways to formulate the same constraint, and run the same model on some external data through lots of different solvers to see which one works best. It comes with an enormous constraint catalogue adapted to each solver.
Whether you then use PuLP, OR-tools, JuMP etc. (or even Minizinc itself) for the actual implementation is up to you; but I've found that it is hard to beat when I am at the prototyping stage.