skip to main content
research-article

Smoothed Analysis of the 2-Opt Algorithm for the General TSP

Published:14 September 2016Publication History
Skip Abstract Section

Abstract

2-Opt is a simple local search heuristic for the traveling salesperson problem that performs very well in experiments with respect to both running time and solution quality. In contrast to this, there are instances on which 2-Opt may need an exponential number of steps to reach a local optimum. To understand why 2-Opt usually finds local optima quickly in experiments, we study its expected running time in the model of smoothed analysis, which can be considered as a less-pessimistic variant of worst-case analysis in which the adversarial input is subject to a small amount of random noise.

In our probabilistic input model, an adversary chooses an arbitrary graph G and a probability density function for each edge according to which its length is chosen. We prove that in this model the expected number of local improvements is O(mnϕ ċ 16√ln m)=m1+o(1), where n and m denote the number of vertices and edges of G, respectively, and ϕ denotes an upper bound on the density functions.

References

  1. Barun Chandra, Howard J. Karloff, and Craig A. Tovey. 1999. New results on the old k-opt algorithm for the traveling salesman problem. SIAM J. Comput. 28, 6, 1998--2029. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Matthias Englert, Heiko Röglin, and Berthold Vöcking. 2014. Worst case and probabilistic analysis of the 2-opt algorithm for the TSP. Algorithmica 68, 1, 190--264. DOI:http://dx.doi.org/10.1007/s00453-013-9801-4 Google ScholarGoogle ScholarCross RefCross Ref
  3. David S. Johnson and Lyle A. McGeoch. 1997. The traveling salesman problem: A case study in local optimization. In Local Search in Combinatorial Optimization, E. H. L. Aarts and J. K. Lenstra (Eds.). John Wiley & Sons, New York, NY.Google ScholarGoogle Scholar
  4. Walter Kern. 1989. A probabilistic analysis of the switching algorithm for the Euclidean TSP. Math. Program. 44, 2, 213--219. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. George S. Lueker. 1975. Unpublished Manuscript. Princeton University.Google ScholarGoogle Scholar
  6. Bodo Manthey and Rianne Veenstra. 2013. Smoothed analysis of the 2-opt heuristic for the TSP. In Proceedings of the 24th International Symposium on Algorithms and Computation (ISAAC). Springer, Berlin, 579--589.Google ScholarGoogle Scholar
  7. Daniel A. Spielman and Shang-Hua Teng. 2004. Smoothed analysis of algorithms: Why the simplex algorithm usually takes polynomial time. J. ACM 51, 3, 385--463. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Smoothed Analysis of the 2-Opt Algorithm for the General TSP

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in

    Full Access

    • Published in

      cover image ACM Transactions on Algorithms
      ACM Transactions on Algorithms  Volume 13, Issue 1
      January 2017
      422 pages
      ISSN:1549-6325
      EISSN:1549-6333
      DOI:10.1145/2997037
      Issue’s Table of Contents

      Copyright © 2016 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 14 September 2016
      • Accepted: 1 July 2016
      • Revised: 1 June 2016
      • Received: 1 February 2015
      Published in talg Volume 13, Issue 1

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article
      • Research
      • Refereed

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader