Comparison
gurobipy vs highspy vs swiglpk vs xpresslibs
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 highspyswiglpk - 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 swiglpkFICO Xpress Optimizer libraries
Actively maintained. Last release 5 weeks ago. A safe choice.
$
pip install xpresslibsIn short
- highspy is the most used: 7.9M downloads a month, 8.1× more than gurobipy.
- Maintenance is comparable: highspy 86, xpresslibs 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.
Side by side
| Metric | gurobipy | highspy | swiglpk | xpresslibs |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 82 | 86 |