Bring your custom Python decision model to Nextmv to validate model changes, simulate scenarios, share run details and experiment results with stakeholders, and create a system of record for your decision model. Nextmv integrates directly with modeling tools and solvers like OR-Tools, AMPL, Pyomo, VROOM, HiGHS, and Gurobi which offer Python interfaces for solving optimization problems such as vehicle routing, shift scheduling, price optimization, inventory allocation, and more.
Our community apps offer convenient launching points based on your use case (e.g., routing) and optimization provider (e.g., AMPL) for bringing your Python model to Nextmv. Here’s a generic “Hello world” example that illustrates how the template is structured for reading an input file, inserting model code, printing logs, and writing output and statistics.
Easily configure run options
Capture run-level parameters such as paths to the input and output, the solver to be used, and run duration. When making a run locally or remotely, simply pass in option values using CLI arguments or environment variables.
Here’s an example from our Python OR-Tools Knapsack app:
Streamline I/O
Read input from multiple formats including JSON, CSVs, and plain, UTF-8 encoded, text inputs. Write run output to a file including the input, the result, and statistics.
Here’s an example output file from our Python PyVroom Routing app:
Record run data
Use statistics to highlight specific data from a run for quick at-a-glance analysis and more in-depth experimentation with the Nextmv platform (e.g., shadow tests, switchback tests, scenario tests, etc.).
Here’s an example from our Python Pyomo Shift Planning app:
And here’s what the statistics for a remote run look like in the Nextmv UI:
Capture critical logs
Create a record of the information you need per run such as use case descriptions, variables, and debugging messages that other team members can easily access.
Here’s an example of how easy it is to add logs (using our Python HiGHS Knapsack app).
And here’s what the logs from a remote run look like in the Nextmv UI:
Try it out with an OR-Tools example
We have community apps that cover common use cases (e.g., routing, price optimization, shift assignment, etc.) in Python for AMPL, Gurobi, HiGHS, OR-Tools, Pyomo, and more.
Here’s an example of how to get started with a custom Python OR-Tools Routing app.
Get started
Sign up for a Nextmv account and start a free trial to create a custom app in Python.
Have questions? We’d love to chat. Reach out to us directly or head to our community forum.