First public release of quicopt — the Python client for the Quicopt optimization service.
Author a model in a Python modeling front-end (Pyomo or OR-Tools MathOpt), convert it to Quicopt's versioned, language-neutral wire IR, and emit or solve the wire bytes the service consumes.
Highlights
ir— theProgramIR data model (front-end-agnostic).wire— a standard-library-only, byte-exact encoder of the versioned wire schema.pyomo/mathopt— front-ends: a Pyomo model / an OR-Tools MathOpt model →Program.client— HTTP transport: POST the wire bytes and read the result JSON.
Notes
- The core (
ir+wire) depends on no third-party package; the front-ends are optional extras. - Correctness of the encoder is a byte-equality golden test.
- Docs: https://timbode.github.io/quicopt-python/ · Apache-2.0 · Python 3.9+.
Install:
pip install quicopt # core
pip install "quicopt[pyomo]" # + Pyomo front-end
pip install "quicopt[mathopt]" # + OR-Tools MathOpt front-end