On the Approximation Ratio of the $k$-Opt and Lin-Kernighan Algorithm
Xianghui Zhong
TL;DR
This work investigates the worst-case performance of local-search-based TSP heuristics, showing that for fixed $k\ge3$ the $k$-Opt and (via a parameterized Lin–Kernighan variant) yield an approximation ratio of $O(n^{1/k})$ on Metric TSP. By tying edge-length structure to extremal graph theory quantities $\mathrm{ex}(n,2k)$, it derives conditional lower bounds (under the Erdős girth conjecture) and unconditional results for key $k$ values, with a tight characterization for $k=3,4,6$ up to logarithmic factors. It extends these upper-bound techniques to Graph TSP and establishes a near $\Theta(\log n/\log\log n)$ lower bound, plus a matching (up-to-logs) upper bound for the 2-Opt family. For the (1,2)-TSP, the paper proves a universal lower bound of $11/10$ on the approximation ratio of $k$-improv and $k$-Opt across fixed $k$, illustrating fundamental limits of these local-search strategies. Collectively, the results sharpen our understanding of how local improvement depth and graph girth constrain worst-case performance in both Metric and unweighted-graph TSP settings.
Abstract
The $k$-Opt and Lin-Kernighan algorithm are two of the most important local search approaches for the Metric TSP. Both start with an arbitrary tour and make local improvements in each step to get a shorter tour. We show that for any fixed $k\geq 3$ the approximation ratio of the $k$-Opt algorithm for Metric TSP is $O(\sqrt[k]{n})$. Assuming the Erdős girth conjecture, we prove a matching lower bound of $Ω(\sqrt[k]{n})$. Unconditionally, we obtain matching bounds for $k=3,4,6$ and a lower bound of $Ω(n^{\frac{2}{3k-3}})$. Our most general bounds depend on the values of a function from extremal graph theory and are tight up to a factor logarithmic in the number of vertices unconditionally. Moreover, all the upper bounds also apply to a parameterized generalization of the Lin-Kernighan algorithm with appropriate parameters. We also show that the approximation ratio of $k$-Opt for Graph TSP is $Ω\left(\frac{\log(n)}{\log\log(n)}\right)$ and $O\left(\left(\frac{\log(n)}{\log\log(n)}\right)^{\log_2(9)+ε}\right)$ for all $ε>0$. For the (1,2)-TSP we give a lower bound of $\frac{11}{10}$ on the approximation ratio of the $k$-improv and $k$-Opt algorithm for arbitrary fixed $k$.
