The $k$-Opt algorithm for the Traveling Salesman Problem has exponential running time for $k \ge 5$
Sophia Heimann, Hung P. Hoang, Stefan Hougardy
TL;DR
The paper tackles the hardness of the $k$-Opt local search for the Traveling Salesman Problem, proving that the algorithm exhibits exponential running time for all pivot rules when $k \ge 5$, and that TSP/$k$-Opt is PLS-complete for $k \ge 17$. The authors construct a sequence of reductions from Max-Cut/Flip using parity and XOR gadgets, along with a careful gadget equipping and labeling scheme, to translate flipping in Max-Cut into $k$-swaps in TSP. They progressively tighten the thresholds—from $k \ge 13$ to $k \ge 9$ and finally to $k \ge 5$—by leveraging the Michel–Scott construction, introducing a flexible gadget and a double gadget, and by controlling local strictness properties. The results settle open questions about the practical limits of local-search hardness in TSP and offer a rigorous PLS-completeness proof for relatively small $k$, with implications for understanding the limits of local-search heuristics in combinatorial optimization.
Abstract
The $k$-Opt algorithm is a local search algorithm for the Traveling Salesman Problem. Starting with an initial tour, it iteratively replaces at most $k$ edges in the tour with the same number of edges to obtain a better tour. Krentel (FOCS 1989) showed that the Traveling Salesman Problem with the $k$-Opt neighborhood is complete for the class PLS (polynomial time local search) and that the $k$-Opt algorithm can have exponential running time for any pivot rule. However, his proof requires $k \gg 1000$ and has a substantial gap. We show the two properties above for a much smaller value of $k$, addressing an open question by Monien, Dumrauf, and Tscheuschner (ICALP 2010). In particular, we prove the PLS-completeness for $k \geq 17$ and the exponential running time for $k \geq 5$.
