mlsanityData to 14 Oct 2026

Worst Case and Probabilistic Analysis of the 2-Opt Algorithm for the TSP

arXiv 2302.06889 ↗First posted 14 Feb 2023cs.DScited by 2

Not on the map. Why?

Abstract (arXiv)

2-Opt is probably the most basic local search heuristic for the TSP. This heuristic achieves amazingly good results on real world Euclidean instances both with respect to running time and approximation ratio. There are numerous experimental studies on the performance of 2-Opt. However, the theoretical knowledge about this heuristic is still very limited. Not even its worst case running time on 2-dimensional Euclidean instances was known so far. We clarify this issue by presenting, for every p∈mathbbN, a family of Lp instances on which 2-Opt can take an exponential number of steps. Previous probabilistic analyses were restricted to instances in which n points are placed uniformly at random in the unit square [0,1]2. We consider a more advanced model in which the points can be placed independently according to general distributions on [0,1]d, for an arbitrary d≥ 2. In particular, we allow different distributions for different points. We study the expected number of local improvements in terms of the number n of points and the maximal density φ of the probability distributions. We show an upper bound on the expected length of any 2-Opt improvement path of tildeO(n4+1/3·φ8/3). When starting with an initial tour computed by an insertion heuristic, the upper bound on the expected number of steps improves even to tildeO(n4+1/3-1/d·φ8/3). If the distances are measured according to the Manhattan metric, then the expected number of steps is bounded by tildeO(n4-1/d·φ). In addition, we prove an upper bound of O(√[d]φ) on the expected approximation factor with respect to all Lp metrics. Let us remark that our probabilistic analysis covers as special cases the uniform input model with φ=1 and a smoothed analysis with Gaussian perturbations of standard deviation σ with φ~1/σd.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). First posted on arXiv 14 Feb 2023.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 0; 2026: 1.

2 papers.