Comparison
cplex vs gurobipy vs highspy vs xpresslibs
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A Python interface to the CPLEX Callable Library, Community Edition.
Maintained. Last release 5 months ago.
$
pip install cplexPython 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 3 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install highspyFICO Xpress Optimizer libraries
Actively maintained. Last release 5 weeks ago. A safe choice.
$
pip install xpresslibsIn short
- highspy is the most used: 7.8M downloads a month, 8.1× more than gurobipy.
- Maintenance is comparable: highspy 88, xpresslibs 84, gurobipy 82, cplex 69 on Pythie’s Index.
- xpresslibs is growing fastest: downloads +27% over the last month.
- Safe default for a new project: highspy.
Side by side
| Metric | cplex | gurobipy | highspy | xpresslibs |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 69 | 82 |