Adds PyVRP routing app#188
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new Nextmv routing example app that solves VRP instances using the PyVRP solver package.
Changes:
- Introduces a new
python-pyvrp-routingapp (solver implementation, manifest, sample input, and docs). - Adds README workflow scripts and golden-test fixtures for the new app.
- Registers the new app in the
.nextmv/readme/workflow-configuration.ymlworkflow configuration.
Reviewed changes
Copilot reviewed 23 out of 24 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| python-pyvrp-routing/requirements.txt | Pins PyVRP + Nextmv SDK dependencies for the new app. |
| python-pyvrp-routing/main.py | Implements input prep/validation, matrix processing, PyVRP model build/solve, and Nextmv-formatted output. |
| python-pyvrp-routing/input.json | Provides a sample input (vehicles, stops, defaults, and a duration matrix). |
| python-pyvrp-routing/app.yaml | Defines Nextmv Cloud app manifest (runtime, included files, requirements). |
| python-pyvrp-routing/README.md | Documents local install and run steps for the example app. |
| python-pyvrp-routing/LICENSE | Adds Apache 2.0 license for the new app folder. |
| .nextmv/readme/workflow-configuration.yml | Registers python-pyvrp-routing in the readme workflow scripts list. |
| .nextmv/readme/python-pyvrp-routing/0.sh | Workflow step to install dependencies. |
| .nextmv/readme/python-pyvrp-routing/0.sh.golden | Golden output placeholder for install step. |
| .nextmv/readme/python-pyvrp-routing/1.sh | Workflow step to run the app with sample input. |
| .nextmv/readme/python-pyvrp-routing/1.sh.golden | Golden stdout/stderr snippet for the run step. |
| .nextmv/golden/python-pyvrp-routing/main_test.go | Golden test harness to execute the Python app and compare outputs. |
| .nextmv/golden/python-pyvrp-routing/inputs/no-matrix.md | Documents the “no matrix provided” golden test case. |
| .nextmv/golden/python-pyvrp-routing/inputs/no-matrix.json | Input fixture for “no matrix provided” test case. |
| .nextmv/golden/python-pyvrp-routing/inputs/no-matrix.json.golden | Expected output for “no matrix provided” test case. |
| .nextmv/golden/python-pyvrp-routing/inputs/max-duration.md | Documents the “max duration constraint” golden test case. |
| .nextmv/golden/python-pyvrp-routing/inputs/max-duration.json | Input fixture for “max duration constraint” test case. |
| .nextmv/golden/python-pyvrp-routing/inputs/max-duration.json.golden | Expected output for “max duration constraint” test case. |
| .nextmv/golden/python-pyvrp-routing/inputs/distance-matrix.md | Documents the “distance matrix + speed” golden test case. |
| .nextmv/golden/python-pyvrp-routing/inputs/distance-matrix.json | Input fixture for “distance matrix + speed” test case. |
| .nextmv/golden/python-pyvrp-routing/inputs/distance-matrix.json.golden | Expected output for “distance matrix + speed” test case. |
| .nextmv/golden/python-pyvrp-routing/inputs/both-matrices.md | Documents the “both matrices provided” golden test case. |
| .nextmv/golden/python-pyvrp-routing/inputs/both-matrices.json | Input fixture for “both matrices provided” test case. |
| .nextmv/golden/python-pyvrp-routing/inputs/both-matrices.json.golden | Expected output for “both matrices provided” test case. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
cowanwalls
approved these changes
May 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a new routing app that utilizes the PyVRP package.