VRP constraint to limit each vehicle can load demands within the same order #2366
Replies: 2 comments 4 replies
-
|
few questions:
|
Beta Was this translation helpful? Give feedback.
-
|
you can "incentive" solver to fully load your vehicle using or-tools/ortools/constraint_solver/routing.h Lines 2516 to 2526 in b77bd3a |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear all,
I have such routing constraint problem that looks somehow weird to model on or-tools (Capacity const. VRP)
Data model has locations(x,y coordinates), demands(qty of orders at each location), number of vehicles and the vehicle capacity.
Each location address to products located in the warehouse to get picked. Customer orders can have multiple products and you have list of orders belongs to group of different customers.
Rather than capacity and distance dimension there is one specific constraint that each vehicle should pick products belongs to same order during it's route. If the vehicle capacity not exceeded then continues to collect another order. At the end of route each vehicle must have products for whole orders.
Glad to have your feedbacks how to apply those constraints on VRP solution.
Sample Data:
Beta Was this translation helpful? Give feedback.
All reactions