CVRP with different vehicle capacities
AnsweredSo I want to make a code to solve the problem of VRP where every vehicle has different capacities. I tried several codes, but the capacities of the vehicle always being limited to the smallest vehicle capacities. So what should I do ?
0
-
Official comment
This post is more than two years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support. -
Hi Elvina,
For heterogeneous fleets, you must replicate the routing variables in common VRP formulations for each vehicle (leading to an additional index). Then, you can set individual capacities for each vehicle.
Best regards,
Mario0
Post is closed for comments.
Comments
2 comments