Opvious SDK
A Python SDK for solving linear, mixed-integer, and quadratic optimization models with the Opvious platform
Highlights
Declarative modeling API exportable to LaTeX
Remote solves with real-time progress notifications, no local solver installation required
Seamless data import/export via native support for
pandas
Flexible multi-objective support: weighted sums, epsilon constraints, …
Built-in debugging capabilities: relaxations, fully annotated LP formatting, …
Getting started
First install the SDK, for example using pip
:
$ pip install opvious[aio]
Note
The optional aio
dependency is recommended for improved performance. It may
be omitted for compatibility with Pyodide environments, for example in
JupyterLite kernels.
We recommend you generate an API access token and set it as OPVIOUS_TOKEN
environment variable. This optional step allows you to optimize larger datasets
and increases rate limits.
You are now ready to hop on over to the Overview section!