Setting cumulative time variable #2541
Unanswered
jysun95
asked this question in
Routing (and legacy CP) questions
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
I'm solving a VRPTW case, which show results as
I've add a dummy start location which indicates zero distance to other location, which means distance[0][i] = 0 for i in all location.
I realize the algorithm solving the problem with minimizing the total time of route, but the calculation of the time of the route seems odd to me,
for example Route for Vehicle 1, the total time is 600 min but vehicle 1 actually start it's route at 120(time), and only need to visit location 71 between (120,480), so why isn't the Time of the route 480 at most then.
Another question is, how do I change my searching algorithm to minimizing the largest distance of route or longest time of route then minimizing the total, cause I'm a director of Logistics Department, I want to make sure all my couriers have task to finish everyday then finding the shortest total route.
Beta Was this translation helpful? Give feedback.
All reactions