python-mip
csips
python-mip | csips | |
---|---|---|
1 | 1 | |
504 | 1 | |
1.4% | - | |
7.1 | 0.0 | |
about 2 months ago | about 2 years ago | |
Python | Python | |
Eclipse Public License 2.0 | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
python-mip
-
Ask HN: Do you use an optimization solver? Which one? Why? Do you like it?
I've been using CBC via python-mip (https://github.com/coin-or/python-mip). It's great because it's got a super clean interface (milp variables/expressions/constraints), the code is quite accessible, and it's low overhead which makes it good for solving many very small problems.
Community 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.
csips
-
Ask HN: Do you use an optimization solver? Which one? Why? Do you like it?
I actually just finished implementing an extremely simple Integer Linear Program solver in Python as an educational exercise, wrapping scipy's linprog function to solve the linear relaxation. It has an expression syntax so you don't have to specify the matrix and vectors for the standard form, and it does branch-and-cut on the linear relaxation
https://github.com/cwpearson/csips
What are some alternatives?
or-tools - Google's Operations Research tools:
HiGHS - Linear optimization software
SciPy - SciPy library main repository
HybridTSPSolver - A hybrid TSP solver that I made for my master's degree thesis in computer science.
osqp - The Operator Splitting QP Solver
EA-FC-24-Automated-SBC-Solving - EA FC 24 Automated SBC Solving using Integer Programming ⚽
clpz - Constraint Logic Programming over Integers
minizinc-python - Access to all MiniZinc functionality directly from Python
exact
golomb-solver - Create Golomb rulers with constraint programming