Open-source C++ metaheuristic solver with Python bindings for routing, scheduling, and assignment.
https://optimaru.com β// momentum
// why it's here
- Created 4 weeks ago and already shipping
- Built almost entirely by one person
- Health 99/100 with only 16 stars
- 10 releases in the last 90 days
// how to help
// readme
optimaru
A metaheuristic optimization engine for real-world routing, scheduling, timetabling and allocation, with 24 ready-to-use models you call from Python.
This repository contains the free, open-source edition. The Enterprise edition hosts the same engine as the optimaru API. To switch an existing Python program to the API, add a single setting for the API key (Solving on the optimaru API).
Documentation: https://optimaru.github.io/optimaru/ (built from docs/
with MkDocs; the API reference is generated from the sources).
Quick start
pip install optimaru
Each use case has a subpackage, such as optimaru.vehicle_routing and
optimaru.school_timetabling. Prebuilt wheels are available for Linux, macOS and
Windows (Python 3.11+, pydantic 2.11+). No C++ toolchain is needed. Every use case has
two entry points: solve(problem, ...) for a problem built in Python, and
solve_request(request) for a pydantic request (JSON in, JSON out).