↧
Answer by Maarten for Incorrect solution for Vehicle Routing Problem in or-tools
I notice you are using FirstSolutionStrategy.Value.PATH_CHEAPEST_ARC. If this name does what it suggests, then it's probably a greedy strategy that chooses between distance 1, 1 and so on. The clue is...
View ArticleIncorrect solution for Vehicle Routing Problem in or-tools
I am trying to understand how the Vehicle Routing Problem is solved in OR-Tools. Using the example given here, I have tried to solve the following distance matrix with 9 separate vehicles: [0, 1, 1,...
View Article