[Help] MDVRP with WorkingTime TimeWindows, but DrivingTime Break #2972
Replies: 6 comments
-
|
Hi Karsten, Did you solve this problem. I'm also looking for a solutions to the EU driver time regulations in .NET? Regards, Steffaan |
Beta Was this translation helpful? Give feedback.
-
No, I guess it is not possible with or-tools until the bug #1730 is not solved. Regards Karsten |
Beta Was this translation helpful? Give feedback.
-
HI Steffaan, did you ever find a solution? I am struggling to get this working in .NET. |
Beta Was this translation helpful? Give feedback.
-
|
Hi All, any update on this? |
Beta Was this translation helpful? Give feedback.
-
|
Any solution for this MDVRPTW ? |
Beta Was this translation helpful? Give feedback.
-
|
I have tried by creating a separate dimension used for breaks using driving time, and adding constraint so in each node the slackVar in newly created dimension is <= than slack in time dimension.. This implementation does need some postprocessing in order to make breaks usable (breaks are set in VehicleDriveRestTime dimension..). Seems to work, but there is a significant performance drop compared to normal implementation.. |
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.
-
Hello,
I started with or-tools some days ago in C# and have a problem now with breaks. Maybe somebody can help me.
I try to solve a routing problem (MDVRP with TimeWindows and Capacity). The TimeWindows are based on working time, which means driving time + service time. So far so good.
What I try to implement now, is a break based on driving time only. So the driver of a vehicle can use the vehicle about 6 hours, but after a maximum of 4.5 hours of driving (!) he needs a break of 45 minutes.
I create the break per vehicle in the following way:
But how to tell the dimension "workingTime", to insert a break at the correct time, because my break bases on drivingTime?
Regards
Karsten
Beta Was this translation helpful? Give feedback.
All reactions