PyOptInterface is an open-source Python library to provide a unified API to construct and solve optimization models with various optimizers.
Get started
A community app is a great place to get started with the PyOptInterface integration. Make sure to specify the python runtime in your app’s app.yaml manifest:
Read more about using Python with Nextmv.
Languages & runtimes
Supported languages and available runtimes for PyOptInterface apps are listed in the table below. These properties must be defined in the app manifest for your app to run remotely.
| Language | Runtime |
|---|---|
| Python | ghcr.io/nextmv-io/runtime/python |
- Learn more about setting up your app manifest
- Learn more about runtimes
Community apps
The community apps listed in the table below use PyOptInterface.
| Community app | Description |
|---|---|
python-pyoptinterface-knapsack | Solve a knapsack problem with PyOptInterface. |
Clone a community app locally using Nextmv CLI: