A Near-Complete Resolution of the Exponential-Time Complexity of k-opt for the Traveling Salesman Problem
Abstract
The -opt algorithm is one of the simplest and most widely used heuristics for solving the traveling salesman problem. Starting from an arbitrary tour, the -opt algorithm improves the current tour in each iteration by exchanging up to edges. The algorithm continues until no further improvement of this kind is possible. For a long time, it remained an open question how many iterations the -opt algorithm might require for small values of , assuming the use of an optimal pivot rule. In this paper, we resolve this question for the cases and by proving that in both these cases an exponential number of iterations may be needed even if an optimal pivot rule is used. Combined with a recent result by Heimann, Hoang, and Hougardy (ICALP 2024), this provides a complete answer for all regarding the number of iterations the -opt algorithm may require under an optimal pivot rule. In addition we establish an analogous exponential lower bound for the 2.5-opt algorithm, a variant that generalizes 2-opt and is a restricted version of 3-opt. All our results hold for both the general and the metric traveling salesman problem.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Related papers
- A Matching-Based Algorithm for the Traveling Tournament ProblemJingyang Zhao, Mingyu XiaoAAAI 2025 · 2 citations
- A (slightly) improved approximation algorithm for metric TSPAnna R. Karlin, Nathan Klein, Shayan Oveis GharanSTOC 2021 · 114 citations
- An improved approximation algorithm for ATSPVera Traub, Jens VygenSTOC 2020
- FPT Approximation Algorithms for TSP on Non-Metric GraphsJingyang Zhao, Zimo Sheng, Mingyu XiaoAAAI 2026
- The Karger-Stein algorithm is optimal for k-cutAnupam Gupta, Euiwoong Lee, Jason LiSTOC 2020 · 13 citations
