Comparison
gurobipy vs highspy vs linopy vs swiglpk
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python interface to Gurobi
Actively maintained. Last release 3 weeks ago. A safe choice.
pip install gurobipyA thin set of pybind11 wrappers to HiGHS
Actively maintained. Last release 1 day ago, commits in 26 of the last 26 weeks. A safe choice.
pip install highspyLinear optimization with N-D labeled arrays in Python
Actively maintained. Last release 6 weeks ago, commits in 22 of the last 26 weeks. A safe choice.
pip install linopyswiglpk - Simple swig bindings for the GNU Linear Programming Kit
Maintained. Last release 10 months ago, commits in 7 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install swiglpkIn short
- highspy is the most used: 7.9M downloads a month, 8.1× more than gurobipy.
- Maintenance is comparable: highspy 86, linopy 84, gurobipy 82, swiglpk 54 on Pythie’s Index.
- swiglpk is growing fastest: downloads +63% over the last month.
- Safe default for a new project: highspy.