New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize initial route #445
Optimize initial route #445
Conversation
f6a8a21
to
879a8e0
Compare
This pull request conflicts with the changes of #443 in This pull request optimizes the route returned to the user based on the position of the clients. When I wrote the algorithm, the route returned to the user was random, now it is a route previously saved. @lamontfr, @manumilou do you still need this optimization. If yes, how? |
Mathieu, I will check this tomorrow and let you know. -François. On 9/8/16, Mathieu Larose notifications@github.com wrote:
|
@larose @manumilou I think that Mathieu's route optimization is an important improvement and is definitely required. When I worked on PR #443, I was not aware of your work and here were my assumptions :
So the code I wrote does this :
Now that you wrote a path optimisation algorithm (TSP) , we have two choices : 1- When the user chooses a route, we load all the orders for the day in the sequence saved from last week (if any). Then when the user clicks "Optimize" we use your TSP optimisation to find the best sequence then display these on the map. The user can then make some manual changes and save this sequence, then print/display the delivery Route Sheet. 2- When the user chooses a route, we load all the orders for the day then we use your TSP right away to find the best sequence then display these on the map. The user can then make some manual changes then print/display the delivery Route Sheet without saving the sequence. I am open to any of these choices. Let me know what you think. |
Thanks @lamontfr for the recap of the situation. I would rather go for the solution 2. For two reasons:
|
879a8e0
to
8ca1654
Compare
8ca1654
to
69cbe52
Compare
Ready to be merged! Thanks @lamontfr and @manumilou! |
Thanks @larose 👍 |
Part of #435