python-mip
sdk.py
python-mip | sdk.py | |
---|---|---|
1 | 3 | |
504 | 8 | |
1.4% | - | |
7.1 | 8.3 | |
about 2 months ago | 5 months ago | |
Python | Python | |
Eclipse Public License 2.0 | Apache License 2.0 |
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.
sdk.py
-
Opvious - deploy optimization models with just a few lines of code
I’m excited to introduce opvious, a Python SDK which enables you to build, validate, and deploy optimization models!
- Show HN: Opvious, a batteries-included optimization platform
-
opvious.io - an API-first platform for deploying optimization models
If you are interested in trying it out, the best place to get started is the welcome guide which walks through an interactive end-to-end example (no account required). You can also browse all available interactive examples here or check out the Python SDK here.
What are some alternatives?
or-tools - Google's Operations Research tools:
notebooks - Optimization notebooks
SciPy - SciPy library main repository
minizinc-python - Access to all MiniZinc functionality directly from Python
HiGHS - Linear optimization software
emhass - emhass: Energy Management for Home Assistant, is a Python module designed to optimize your home energy interfacing with Home Assistant.
EA-FC-24-Automated-SBC-Solving - EA FC 24 Automated SBC Solving using Integer Programming ⚽
pyomo - An object-oriented algebraic modeling language in Python for structured optimization problems.
OMLT - Represent trained machine learning models as Pyomo optimization formulations
exact
Simplex_Numpy - Creating a Linear Program Solver by Implementing the Simplex Method in Python with NumPy