skip to main content
10.5555/1283383.1283522acmconferencesArticle/Chapter ViewAbstractPublication PagessodaConference Proceedingsconference-collections
Article

Worst case and probabilistic analysis of the 2-Opt algorithm for the TSP: extended abstract

Published: 07 January 2007 Publication History

Abstract

2-Opt is probably the most basic and widely used 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 Euclidean instances was known so far. In this paper, we clarify this issue by presenting a family of Euclidean 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, where it was shown that the expected number of steps is bounded by Õ(n10) for Euclidean instances. We consider a more advanced model of probabilistic instances in which the points can be placed according to general distributions on [0, 1]2. In particular, we allow different distributions for different points. We study the expected running time 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 Õ(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 Õ(n3+5/6 · φ8/3). If the distances are measured according to the Manhattan metric, then the expected number of steps is bounded by Õ(n3+1/2 · φ). In addition, we prove an upper bound of O(√φ) on the expected approximation factor with respect to both of these 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/σ2. Besides random metric instances, we also consider an alternative random input model in which an adversary specifies a graph and distributions for the edge lengths in this graph. In this model, we achieve even better results on the expected running time of 2-Opt.

References

[1]
{Aro98} Sanjeev Arora. Polynomial time approximation schemes for Euclidean traveling salesman and other geometric problems. Journal of the ACM, 45(5):753--782, 1998.
[2]
{CKT99} Barun Chandra, Howard J. Karloff, and Craig A. Tovey. New results on the old k-Opt algorithm for the traveling salesman problem. SIAM Journal on Computing, 28(6):1998--2029, 1999.
[3]
{ERV06} Matthias Englert, Heiko Röglin, and Berthold Vöcking. Worst case and probabilistic analysis of the 2-Opt algorithm for the TSP. Technical Report TR06-092, ECCC, 2006.
[4]
{JM97} David S. Johnson and Lyle A. McGeoch. The traveling salesman problem: A case study in local optimization. In E. H. L. Aarts and J. K. Lenstra, editors, Local Search in Combinatorial Optimization. John Wiley and Sons, 1997.
[5]
{Ker89}Walter Kern. A probabilistic analysis of the switching algorithm for the Euclidean TSP. Mathematical Programming, 44(2):213--219, 1989.
[6]
{Lue75} George S. Lueker. Unpublished manuscript, 1975. Princeton University.
[7]
{Pap77} Christos H. Papadimitriou. The Euclidean traveling salesman problem is NP-complete. Theoretical Computer Science, 4(3):237--244, 1977.
[8]
{Rei91} Gerhard Reinelt. TSPLIB - A traveling salesman problem library. ORSA Journal on Computing, 3(4):376--384, 1991.
[9]
{RSI77} Daniel J. Rosenkrantz, Richard Edwin Stearns, and Philip M. Lewis II. An analysis of several heuristics for the traveling salesman problem. SIAM Journal on Computing, 6(3):563--581, 1977.
[10]
{ST04} Daniel A. Spielman and Shang-Hua Teng. Smoothed analysis of algorithms: Why the simplex algorithm usually takes polynomial time. Journal of the ACM, 51(3):385--463, 2004.
[11]
{vLS80} Jan van Leeuwen and Anneke A. Schoon. Untangling a traveling salesman tour in the plane. Technical report, University of Utrecht, 1980. Report No. RUUCS-80-11.

Cited By

View all
  • (2014)Smoothed performance guarantees for local searchMathematical Programming: Series A and B10.1007/s10107-013-0683-7146:1-2(185-218)Online publication date: 1-Aug-2014
  • (2012)Local Search and the Traveling Salesman ProblemRevised Selected Papers of the 6th International Conference on Learning and Intelligent Optimization - Volume 721910.5555/2961491.2961501(115-129)Online publication date: 16-Jan-2012
  • (2012)Smoothed complexity theoryProceedings of the 37th international conference on Mathematical Foundations of Computer Science10.1007/978-3-642-32589-2_20(198-209)Online publication date: 27-Aug-2012
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
SODA '07: Proceedings of the eighteenth annual ACM-SIAM symposium on Discrete algorithms
January 2007
1322 pages
ISBN:9780898716245
  • Conference Chair:
  • Harold Gabow

Sponsors

Publisher

Society for Industrial and Applied Mathematics

United States

Publication History

Published: 07 January 2007

Check for updates

Qualifiers

  • Article

Acceptance Rates

SODA '07 Paper Acceptance Rate 139 of 382 submissions, 36%;
Overall Acceptance Rate 411 of 1,322 submissions, 31%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)2
  • Downloads (Last 6 weeks)0
Reflects downloads up to 02 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2014)Smoothed performance guarantees for local searchMathematical Programming: Series A and B10.1007/s10107-013-0683-7146:1-2(185-218)Online publication date: 1-Aug-2014
  • (2012)Local Search and the Traveling Salesman ProblemRevised Selected Papers of the 6th International Conference on Learning and Intelligent Optimization - Volume 721910.5555/2961491.2961501(115-129)Online publication date: 16-Jan-2012
  • (2012)Smoothed complexity theoryProceedings of the 37th international conference on Mathematical Foundations of Computer Science10.1007/978-3-642-32589-2_20(198-209)Online publication date: 27-Aug-2012
  • (2011)Smoothed performance guarantees for local searchProceedings of the 19th European conference on Algorithms10.5555/2040572.2040657(772-783)Online publication date: 5-Sep-2011
  • (2011)Smoothed analysis of partitioning algorithms for Euclidean functionalsProceedings of the 12th international conference on Algorithms and data structures10.5555/2033190.2033200(110-121)Online publication date: 15-Aug-2011
  • (2011)Settling the complexity of local max-cut (almost) completelyProceedings of the 38th international colloquim conference on Automata, languages and programming - Volume Part I10.5555/2027127.2027146(171-182)Online publication date: 4-Jul-2011
  • (2011)Smoothed Analysis of the k-Means MethodJournal of the ACM10.1145/2027216.202721758:5(1-31)Online publication date: 1-Oct-2011
  • (2011)Theory of swarm intelligenceProceedings of the 13th annual conference companion on Genetic and evolutionary computation10.1145/2001858.2002142(1381-1410)Online publication date: 12-Jul-2011
  • (2010)Theoretical properties of two ACO approaches for the traveling salesman problemProceedings of the 7th international conference on Swarm intelligence10.5555/1884958.1884987(324-335)Online publication date: 8-Sep-2010
  • (2010)On the power of nodes of degree four in the local max-cut problemProceedings of the 7th international conference on Algorithms and Complexity10.1007/978-3-642-13073-1_24(264-275)Online publication date: 26-May-2010
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media