Skip to main content

An analysis of several heuristics for the traveling salesman problem

  • Chapter
Fundamental Problems in Computing

Abstract

Several polynomial time algorithms finding “good,” but not necessarily optimal, tours for the traveling salesman problem are considered. We measure the closeness of a tour by the ratio of the obtained tour length to the minimal tour length. For the nearest neighbor method, we show the ratio is bounded above by a logarithmic function of the number of nodes. We also provide a logarithmic lower bound on the worst case. A class of approximation methods we call insertion methods are studied, and these are also shown to have a logarithmic upper bound. For two specific insertion methods, which we call nearest insertion and cheapest insertion, the ratio is shown to have a constant upper bound of 2, and examples are provided that come arbitrarily close to this upper bound. It is also shown that for any n≥8, there are traveling salesman problems with n nodes having tours which cannot be improved by making n/4 edge changes, but for which the ratio is 2(1−1/n).

An extended abstract of this paper is in the Proceedings of the IEEE Fifteenth Annual Symposium on Switching and Automata Theory, 1974, under the title Approximate algorithms for the traveling salesperson problem.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.00
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. M. Bellmore and G. L. Nemhauser. The traveling salesman problem: A survey. Operations Res., 16:538–558, 1968.

    Article  MATH  MathSciNet  Google Scholar 

  2. N. Christofides. Worst-case analysis of a new heuristic for the traveling salesman problem. In Symp. on New Directions and Recent Results in Algorithms and Complexity. Carnegie-Mellon Univ., Pittsburgh, 1976.

    Google Scholar 

  3. G. A. Croes. A method for solving traveling salesman problems. Operations Res., 6:791–812, 1958.

    Article  MathSciNet  Google Scholar 

  4. R. Floyd. Algorithm 97, Shortest path. Comm. ACM, 5:345, 1962.

    Article  Google Scholar 

  5. J. Gavett. Three heuristic rules for sequencing jobs to a single production facility. Management Sci., 11:166–176, 1965.

    Google Scholar 

  6. W. W. Hardgrave and G. L. Nemhauser. On the relation between the traveling salesman and the longest path problem. Operations Res., 10:647–657, 1962.

    Article  MATH  MathSciNet  Google Scholar 

  7. L. L. Karg and G. L. Thompson. A heuristic approach to solving traveling salesman problems. Management Sci., 10:225–248, 1964.

    Article  Google Scholar 

  8. R. M. Karp. Reducibility among combinatorial problems. In R. E. Miller and J. W. Thatcher, editors, Complexity of Computer Computations, pages 85–103. Plenum, New York, 1972.

    Google Scholar 

  9. J. B. Kruskal. On the shortest spanning subtree of a graph and the traveling salesman problem. Proc. Amer. Math. Soc., 2:48–50, 1956.

    Article  MathSciNet  Google Scholar 

  10. S. Lin. Computer solution of the traveling salesman problem. Bell System Tech. J., 44:2245–2269, 1965.

    MATH  MathSciNet  Google Scholar 

  11. S. Lin and B. W. Kernighan. An effective heuristic algorithm for the traveling salesman problem. Operations Res., 21:498–516, 1973.

    Article  MATH  MathSciNet  Google Scholar 

  12. T. A. J. Nicholson. A sequential method for discrete optimization problems and its application to the assignment, traveling salesman, and three machine scheduling problems. J. Inst. Math. Appl., 3:362–375, 1967.

    Article  MATH  Google Scholar 

  13. R. C. Prim. Shortest connection networks and some generalizations. Bell System Tech. J., 36:1389–1401, 1957.

    Google Scholar 

  14. S. Reiter and G. Sherman. Discrete optimizing. J. Soc. Indust. Appl. Math., 13:864–889, 1965.

    Article  MATH  MathSciNet  Google Scholar 

  15. S. M. Roberts and B. Flores. An engineering approach to the traveling salesman problem. Management Sci., 13:269–288, 1966.

    Article  Google Scholar 

  16. S. Sahni and T. Gonzales. P-complete problems and approximate solutions. In IEEE Fifteenth Ann. Symp. on Switching and Automata Theory, pages 28–32, 1974.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2009 Springer Science + Business Media B.V.

About this chapter

Cite this chapter

Rosenkrantz, D.J., Stearns, R.E., Lewis, P.M. (2009). An analysis of several heuristics for the traveling salesman problem. In: Ravi, S.S., Shukla, S.K. (eds) Fundamental Problems in Computing. Springer, Dordrecht. https://doi.org/10.1007/978-1-4020-9688-4_3

Download citation

  • DOI: https://doi.org/10.1007/978-1-4020-9688-4_3

  • Publisher Name: Springer, Dordrecht

  • Print ISBN: 978-1-4020-9687-7

  • Online ISBN: 978-1-4020-9688-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics