Skip to content

Adds PyVRP routing app#188

Merged
merschformann merged 16 commits into
developfrom
merschformann/adding-pyvrp
May 27, 2026
Merged

Adds PyVRP routing app#188
merschformann merged 16 commits into
developfrom
merschformann/adding-pyvrp

Conversation

@merschformann
Copy link
Copy Markdown
Member

Description

Adds a new routing app that utilizes the PyVRP package.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-routing app (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.yml workflow 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.

Comment thread python-pyvrp-routing/main.py Outdated
Comment thread python-pyvrp-routing/main.py
Comment thread python-pyvrp-routing/main.py
Comment thread python-pyvrp-routing/main.py Outdated
Comment thread python-pyvrp-routing/main.py Outdated
Comment thread python-pyvrp-routing/main.py Outdated
@merschformann merschformann merged commit cc8ed61 into develop May 27, 2026
48 checks passed
@merschformann merschformann deleted the merschformann/adding-pyvrp branch May 27, 2026 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants