Reputation: 17
This VRP has multiple locations, time windows for each location, multiple vehicles, and weight capacity for each vehicle.
I started with Google's OR Tools.I need to get a vehicle routing result for each vehicle considering capcity and time windows of locations. I want to do Capacity constraint and time window constraint as single solution with minimum cost. How to achive this?
Upvotes: 0
Views: 958
Reputation: 11014
Have you checked the sample directory for the routing library:
https://github.com/google/or-tools/tree/stable/ortools/constraint_solver/samples
and in particular the cvrp_tw example:
https://github.com/google/or-tools/blob/stable/ortools/constraint_solver/samples/cvrptw.py
Upvotes: 2