Define penalty for waiting time #3829
Unanswered
mohsenk
asked this question in
Routing (and legacy CP) questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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'm working on a VRP with time windows.
And I'm looking for a way to define a penalty for waiting time.
For example in this case the solution have 2 hours waiting time. becasue stop #1, #2, #3 have time windows.
It seems it's only cares about minimizing distance. It's not care about completion time.
This result is from jsprit :
How I can define a penalty for waiting times more than 1 hour ?
I've tested setSpanCostCoefficientForAllVehicles method to give more cost to time dimension but it's not working as expected.
This is the code related to my time window constraint :
Beta Was this translation helpful? Give feedback.
All reactions