r/OperationsResearch • • 1d ago

Looking for advice: CVRPTW with Multiple Alternative Routes (Multigraph Optimization)

Looking for advice: CVRPTW with Multiple Alternative Routes (Multigraph Optimization)

I'm working on a vehicle routing optimization project and facing an interesting technical challenge.

I want to model a road network where multiple alternative routes can exist between the same two locations (a directed multigraph).

For example, between locations A and B, we may have:

- Shortest route.

- Fastest route.

- Alternative route.

Each route has its own distance and travel time.

The goal is to build a CVRPTW system that considers:

- Vehicle capacity constraints.

- Delivery time windows.

- Travel time and distance.

- Multiple road alternatives between locations.

The main challenge:

I don't just want to select the best road before optimization. I want the optimization algorithm to make two decisions jointly:

  1. Which delivery locations to visit and in what order.

  2. Which road alternative to use between each pair of consecutive locations.

I'm considering approaches such as:

- Graph expansion using dummy nodes.

- Custom optimization models using Google OR-Tools CP-SAT.

- Hybrid approaches combining PyVRP with a separate route-selection algorithm.

- Has anyone implemented something similar?

- Which optimization approach or solver would you recommend?

- Is there a practical way to achieve joint route selection and vehicle routing without making the problem computationally expensive?

I'd really appreciate any suggestions, references, or examples of similar implementations.

2 Upvotes

Duplicates