Route not optimising correctly as Near locations are not optimising #1278
Closed
sharmas1ddharth
started this conversation in
General
Replies: 1 comment 3 replies
-
The solver does not (and can not) guarantee that an optimal solution will be found. It gives you the best solution it can find, in the time it is given. The fact that a particular solution was not found is not a bug - it is a consequence of the stochastic nature of the algorithm used. There are ways of helping the solver to find better solutions:
Since you are mentioning Nearby, which is a commercial feature of Timefold Solver Enterprise Edition, I assume you have access to Enterprise Edition - in that case, multi-threaded solving and automatic node-sharing will help you with speed. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have 3 vehicles and 12 locations total and there were 4 locations near each other, all vehicles capacity is 5 but vehicle leaves one location only pick 3 locations that are near each other and goes to one far location then came back.
Attaching screenshot, can someone explain why is this happening and how to fix this as you can see blue vehicle pick three locations but leaves one location then red vehicle pick that location
Beta Was this translation helpful? Give feedback.
All reactions