Overview¶
Nextmv: The home for all your optimization work
The Nextmv Python SDK, nextmv, is a library to interact
programmatically with the Nextmv Platform from Python. There are three main
packages (or namespaces) in the SDK:
nextmv(root): modeling constructs to work with decision models in an opinionated way.nextmv.local: functionality to run and interact with decision models locally, i,e., on your machine.nextmv.cloud: functionality to interact with Nextmv Cloud, e.g., to run decision models remotely, perform experimentation, testing, versioning, and more.
Please refer to each of the sections in this documentation for more details on each of these packages.
Installation¶
The library is hosted on PyPI. Python >=3.9 is required.
Install via pip:
Install all optional dependencies (recommended):
Examples¶
A great way to get started is to check out the community apps. The following apps are a non-exhaustive list of concrete examples for using this SDK:
python-ampl-facilitylocation,python-ampl-knapsack,python-ampl-priceoptimizationpython-gurobi-knapsackpython-hello-worldpython-hexaly-knapsackpython-highs-knapsackpython-nextroutepython-ortools-costflow,python-ortools-demandforecasting,python-ortools-knapsack-multicsv,python-ortools-knapsack,python-ortools-routing,python-ortools-shiftassignment,python-ortools-shiftplanningpython-pyomo-knapsack,python-pyomo-shiftassignment,python-pyomo-shiftplanningpython-pyoptinterface-knapsackpython-pyvroom-routingpython-xpress-knapsack
