Ask HN: Do you use an optimization solver? Which one? Do you like it?
21–30 of 158 posts
Re: Ask HN: Do you use an optimization solver? Which one? Do you like it?
#22For MIP and LP I have used CPLEX, Gurobi and to a lesser extent Cbc. I used those three using JuMP (Julia package for mathematical programming) and Gurobi via pulp and pyomo. Of all three, I think Gurobi has a very accessible documentation, note that I am not saying better or more complete which in that case it would go to CPLEX, and the integration with Python straight out of the box is very useful. Cbc is a lifesav…
Re: Ask HN: Do you use an optimization solver? Which one? Do you like it?
#23For fun I made this Golomb ruler solver using cplex: https://github.com/strateos/golomb-solver
Re: Ask HN: Do you use an optimization solver? Which one? Do you like it?
#24Re: Ask HN: Do you use an optimization solver? Which one? Do you like it?
#25Re: Ask HN: Do you use an optimization solver? Which one? Do you like it?
#26Re: Ask HN: Do you use an optimization solver? Which one? Do you like it?
#27* Minion for IP for scheduling + edge crossing minimization.
* cvxpy (wrapping ECOS, OSQP, and SCS by default) for convex optimization for making nice geometry.
* Z3 and STP for SAT/SMT for program analysis.
All are FLOSS, which is my main criterion in many situations.
Beyond that, I like minion for its focus on only providing efficiently implementable primitives, cvxpy for the awesome lectures and documentation the folks behind it have produced, and z3 + stp for their use in tools I like, such as klee.
Re: Ask HN: Do you use an optimization solver? Which one? Do you like it?
#28After trying different stuff, and under different platforms (e.g. Matlab + CPLEX, Python + GLPK, etc), I settled first on Python or-tools with COIN-LP (about 100x faster than GLPK). Later we got access to FICO Xpress solver which in turn gave us some other gains.
I really liked this benchmarking website: http://plato.asu.edu/bench.html
It seems like they got into some trouble, so I don't know if they are still tracking the main commercial solvers.
Re: Ask HN: Do you use an optimization solver? Which one? Do you like it?
#29Community sentiment seems to be beginning to shift toward favouring the HiGHS solver (https://github.com/ERGO-Code/HiGHS) over CBC. Something I'm keeping a close eye on.
nextmv seems to pitch itself as a generic solving ("decision automation") platform or something (unclear). But it seems that the only fleshed out product offering is for vehicle routing, based on the docs. Are there plans to offer, for instance, a solver binary that can be used to solve generic problems?
Also all the github repos under https://github.com/nextmv-io are private, so links from docs are 404.
Re: Ask HN: Do you use an optimization solver? Which one? Do you like it?
#30Most open-source solvers don't handle parallelization well, and they lack the latest research on techniques like branch-cutting and heuristics that can speed things up significantly.
In my experience, Gurobi is still leader for linear and MiP solving. But, it's really expensive and the licensing terms seem anachronistic.
SimpleRose.com was a startup working on a new solver, too - I'm curious if anybody has tried it yet?