I understand the logic behind performing a 2-opt, pairwise exchange to get two edges to uncross:
Simply take two edges out and replace them with two other ones. If you have a list of cities:
A, B, C, D, E, A
, and AB
and DE
are chosen... then just reverse the order of cities between B
and D
so:
A, E, B, C, D, A
For 3-opt, similarly, I also understand that given A,B,C,D,E,F,A
, there are two possible changes. For example, if AB
, CD
and EF
are chosen, then:
A,C,B,E,D,F,A
and A,E,D,B,C,F,A
are both possibilities of 3-opted tours.
However, what exactly is 2.5 opt and how can it be implemented? I've tried looking for info on it but I don't understand the majority of what I've found...