-
Dear support team, I hope you are doing well. I am trying to solve an instance of the problem and I am having a dificalty to invoke the solution. Let me explain more: After initializing the input data and solving the model the output seems to be correct. The output is something like this:
Now, I would like to get this solution as a nested list based on the vehicles or something like that as a dictionary.
Also, as a follow up questions,
All the best |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi @abb-omidi
The easiest is probably visits = [route.visits() for route in best_solution.routes()]
Release times are not time windows. Release times say something about when a client order may leave the depot. The time windows say something about when we may arrive at the client location. |
Beta Was this translation helpful? Give feedback.
-
Dear @N-Wouda, Many thanks for your comments. I tried with the All the best |
Beta Was this translation helpful? Give feedback.
-
Many thanks for the clarification. Best |
Beta Was this translation helpful? Give feedback.
Hi @abb-omidi
The easiest is probably
release_time
is an integer that specifies the earliest time such a client order may leave the depot, if it's put on a route. It thus impacts route's start times. I do not understand the question about arrays.