You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current 2-opt implementation for a pair of routes works as follow.
Before
After
In the above schema, it's possible that one of the route ends after the last non-changed node in which case we exchange a route end with an empty leg. So in particular this covers transferring the end of the route to the end of another route.
What is impossible on the other hand with the current setup is that one whole route is transferred to the end of the other route. It would be interesting to test this option as a separate RouteShift operator that could move a whole route to the beginning or end of another route.
Some specific cases we should exclude: if the target route is empty, that would already be covered by RouteExchange; if the source route has only 1 or 2 jobs, this would already be covered by Relocate or OrOpt. Maybe due to those restrictions the odds of such a move are quite low but it would be interesting to check.
The text was updated successfully, but these errors were encountered:
The current 2-opt implementation for a pair of routes works as follow.
In the above schema, it's possible that one of the route ends after the last non-changed node in which case we exchange a route end with an empty leg. So in particular this covers transferring the end of the route to the end of another route.
What is impossible on the other hand with the current setup is that one whole route is transferred to the end of the other route. It would be interesting to test this option as a separate
RouteShift
operator that could move a whole route to the beginning or end of another route.Some specific cases we should exclude: if the target route is empty, that would already be covered by
RouteExchange
; if the source route has only 1 or 2 jobs, this would already be covered byRelocate
orOrOpt
. Maybe due to those restrictions the odds of such a move are quite low but it would be interesting to check.The text was updated successfully, but these errors were encountered: