Comparison
gurobipy vs mip vs optimaru vs ortools
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 gurobipyPython tools for Modeling and Solving Mixed-Integer Linear Programs (MIPs)
Actively maintained. Last release 3 weeks ago, commits in 7 of the last 26 weeks. A safe choice.
pip install mipMetaheuristic optimization engine for routing, scheduling, timetabling and allocation — 24 ready-to-use models.
Maintained. Last release today, commits in 6 of the last 26 weeks. Weaker on contributor spread.
pip install optimaruGoogle OR-Tools python libraries and modules
Actively maintained. Last release 8 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install ortoolsIn short
- ortools is the most used: 9.7M downloads a month, 10.0× more than gurobipy.
- Maintenance is comparable: gurobipy 82, ortools 72, mip 70, optimaru 68 on Pythie’s Index.
- optimaru is growing fastest: downloads +444% over the last month.
- optimaru is the newcomer: first released Nov 2026.
- Safe default for a new project: ortools.
Side by side
| Metric | gurobipy | mip | optimaru | ortools |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 82 | Pythie’s Index: 70 | Pythie’s Index: 68 | Pythie’s Index: 72 |
| Verdict | Actively maintained | Actively maintained | Maintained | Actively maintained |
| Downloads / month | 971.2K | 186.6K | 68.9K | 9.7M |
| Downloads, month over month | +14% | -3% | +444% | +30% |
| GitHub stars | – | 605 | 17 | 14.5K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 145 | 35 | 0 | 222 |
| Last release | Nov 10, 2026 | Nov 9, 2026 | Dec 3, 2026 | Nov 25, 2026 |
| Releases, 12 months | 5 | 10 | 19 | 2 |
| Weeks with commits | – | 7 / 26 | 6 / 26 | 26 / 26 |
| Recent contributors | – | 8 | 1 | 9 |
| First release | Apr 2021 | Nov 2018 | Nov 2026 | Nov 2022 |
| Python versions | 3.11 – 3.14 | 3.11 – 3.14 | 3.11 – 3.14 | 3.9 – 3.14 |
| License | non-standard | EPL-2.0 | Apache-2.0 | Apache-2.0 |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.