Skip to content

Introduce 09-routing#12

Merged
ksk-jij merged 12 commits intomainfrom
09-routing
Oct 2, 2025
Merged

Introduce 09-routing#12
ksk-jij merged 12 commits intomainfrom
09-routing

Conversation

@ahao27
Copy link
Collaborator

@ahao27 ahao27 commented Aug 18, 2025

Description

Introduces 09-routing. Running ommx_create.py right under 09-routing/models/integer_linear creates .ommx files.

Other Info

For now, The ommx files is not in this PR due to the size isuue.

@ahao27 ahao27 changed the title Draft introduce 09-routing Introduce 09-routing Aug 21, 2025
@ksk-jij ksk-jij requested a review from Copilot August 21, 2025 07:57
Copy link
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

This PR introduces the 09-routing problem set, which contains Vehicle Routing Problem (VRP) instances and an integer linear programming model implementation. The submission includes 55 TSPLIB-format VRP instances with their optimal solutions, along with Python code to create OMMX artifacts from these instances.

  • Adds 55 VRP instances (XSH-n20-k4-01 through XSH-n20-k4-55) in TSPLIB format with 21 nodes and 4 vehicles
  • Implements an integer linear programming model for the capacitated VRP using JijModeling
  • Provides infrastructure to convert instances and solutions into OMMX format for optimization benchmarking

Reviewed Changes

Copilot reviewed 117 out of 117 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
09_routing/instances/*.vrp TSPLIB-format VRP problem instances with coordinates, demands, and capacity constraints
09_routing/solutions/*.sol Optimal or best-known solutions for the VRP instances showing route assignments and costs
09_routing/solutions/README.md Documentation of solution quality and computation times using HGS-SVRP solver
09_routing/models/integer_linear/model.py JijModeling implementation of capacitated VRP as integer linear program
09_routing/models/integer_linear/dat_reader.py Parser for TSPLIB-format VRP files to extract instance data
09_routing/models/integer_linear/sol_reader.py Parser for VRP solution files to convert routes into variable assignments
09_routing/models/integer_linear/ommx_create.py Batch processing script to create OMMX artifacts from instances and solutions
09_routing/models/integer_linear/test_model.ipynb Jupyter notebook for testing the VRP model implementation

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Collaborator

@ksk-jij ksk-jij left a comment

Choose a reason for hiding this comment

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

I've put some comments! Please have a look! Also, again, I didn't execute any, please make sure it works well :)

Copy link
Collaborator

@ksk-jij ksk-jij left a comment

Choose a reason for hiding this comment

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

Thank you! Looks good to me!

@ksk-jij ksk-jij merged commit 4432b04 into main Oct 2, 2025
9 checks passed
@ksk-jij ksk-jij deleted the 09-routing branch October 2, 2025 04:46
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.

2 participants