You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone , I am having an issue with routing. I am using Google OR Tools for VRP (Vehicle Routing Problem) with Pickups and Deliveries. I want to ensure that, within a route, I must visit pickup points before making deliveries. How can I constrain this issue? .
For example, I have PickupsDeliveries = [[1,2], [3,4]]. After running the solution, the obtained result is 0 -> 3 -> 4 -> 1 -> 2. This is not the desired outcome. What I want is 0 -> 3 -> 1 -> 2 -> 4. That means visiting all pickup points before making deliveries.
This discussion was converted from issue #3868 on July 28, 2023 08:41.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone , I am having an issue with routing. I am using Google OR Tools for VRP (Vehicle Routing Problem) with Pickups and Deliveries. I want to ensure that, within a route, I must visit pickup points before making deliveries. How can I constrain this issue? .
For example, I have PickupsDeliveries = [[1,2], [3,4]]. After running the solution, the obtained result is 0 -> 3 -> 4 -> 1 -> 2. This is not the desired outcome. What I want is 0 -> 3 -> 1 -> 2 -> 4. That means visiting all pickup points before making deliveries.
Beta Was this translation helpful? Give feedback.
All reactions