Skip to main content

Predicting Hardness of Travelling Salesman Problem Instances

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 9868))

Abstract

Travelling Salesman Problem is a classical combinatorial problem which is used to check the performance of heuristics and metaheuristics. However, for fairly comparing the performance of these algorithms, it is necessary an in-depth understanding of the hardness of the Travelling Salesman Problem instances. This requires to recognize which attributes allow a correct prediction of the hardness of the instances of Travelling Salesman Problem. In this work, the hardness of the instances was predicted based on the statistical distribution of the distance between the cities, the areas arisen from the Dirichlet tessellation, and the areas from the Delaunay triangulation. As a consequence of this work, the attributes which separate the ease and difficult instances of the Travelling Salesman Problem are stated.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight 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

Learn about institutional subscriptions

Notes

  1. 1.

    The area of the Delaunay triangles are normalized to the total area covered by the cities.

  2. 2.

    The mean squared error (MSE) is the average of the squares of the differences between the predicted and actual values, \(MSE=\frac{1}{N}\sum _N (\hat{y}_i-y_i)^2\), where N is the number of samples and \(\hat{y}_i\) is the prediction of the value \(y_i\).

References

  1. Gutin, G., Punnen, A.P. (eds.): The Traveling Salesman Problem and Its Variations. Combinatorial Optimization. Kluwer Academic, Dordrecht (2002)

    MATH  Google Scholar 

  2. Blum, C.: Hybrid metaheuristics in combinatorial optimization: a tutorial. In: Dediu, A.-H., Martín-Vide, C., Truthe, B. (eds.) TPNC 2012. LNCS, vol. 7505, pp. 1–10. Springer, Heidelberg (2012)

    Chapter  Google Scholar 

  3. Garey, M.R., Johnson, D.S.: Computers and Intractability: A Guide to the Theory of NP-Completeness. W. H. Freeman, New York (1979)

    MATH  Google Scholar 

  4. Gent, I.P., Walsh, T.: The TSP phase transition. Artif. Intell. 88(1–2), 349–358 (1996)

    Article  MathSciNet  MATH  Google Scholar 

  5. Cárdenas-Montes, M.: Evaluating the difficulty of instances of the travelling salesman problem in the nearby of the optimal solution based on random walk exploration. In: Martínez-Álvarez, F., Troncoso, A., Quintián, H., Corchado, E. (eds.) HAIS 2016. LNCS, vol. 9648, pp. 299–310. Springer, Heidelberg (2016). doi:10.1007/978-3-319-32034-2_25

    Chapter  Google Scholar 

  6. Lin, S.: Computer solutions of the traveling salesman problem. Bell Syst. Tech. J. 44(10), 2245–2269 (1965)

    Article  MathSciNet  MATH  Google Scholar 

  7. Applegate, D.L., Bixby, R.E., Chvatal, V., Cook, W.J.: The Traveling Salesman Problem: A Computational Study. Princeton Series in Applied Mathematics. Princeton University Press, Princeton (2007)

    MATH  Google Scholar 

  8. Smith-Miles, K., van Hemert, J., Lim, X.Y.: Understanding TSP difficulty by learning from evolved instances. In: Blum, C., Battiti, R. (eds.) LION 4. LNCS, vol. 6073, pp. 266–280. Springer, Heidelberg (2010)

    Chapter  Google Scholar 

  9. Lin, S., Kernighan, B.W.: An effective heuristic algorithm for the travelling-salesman problem. Oper. Res. 21, 498–516 (1973)

    Article  MathSciNet  MATH  Google Scholar 

  10. Applegate, D., Cook, W.J., Rohe, A.: Chained Lin-Kernighan for large traveling salesman problems. INFORMS J. Comput. 15(1), 82–92 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  11. Johnson, D.S., McGeoch, L.A.: Experimental Analysis of Heuristics for the STSP. Wiley, London (2001)

    MATH  Google Scholar 

  12. Smith-Miles, K., Lopes, L.: Measuring instance difficulty for combinatorial optimization problems. Comput. OR 39(5), 875–889 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  13. Breiman, L.: Random forests. Mach. Learn. 45(1), 5–32 (2001)

    Article  MathSciNet  MATH  Google Scholar 

  14. Breiman, L.: Bagging predictors. Mach. Learn. 24(2), 123–140 (1996)

    MathSciNet  MATH  Google Scholar 

  15. Ho, T.K.: The random subspace method for constructing decision forests. IEEE Trans. Pattern Anal. Mach. Intell. 20(8), 832–844 (1998)

    Article  Google Scholar 

  16. Liaw, A., Wiener, M.: Classification and regression by randomForest. R News 2(3), 18–22 (2002)

    Google Scholar 

  17. Turner, R.: deldir: Delaunay Triangulation and Dirichlet (Voronoi) Tessellation. R package version 0.1-9 (2015)

    Google Scholar 

  18. Matthews, B.: Comparison of the predicted and observed secondary structure of T4 phage lysozyme. Biochim. Biophys. Acta (BBA) - Protein Struct. 405(2), 442–451 (1975)

    Article  Google Scholar 

Download references

Acknowledgement

The research leading to these results has received funding by the Spanish Ministry of Economy and Competitiveness (MINECO) for funding support through the grant FPA2013-47804-C2-1-R, and “Unidad de Excelencia María de Maeztu”: CIEMAT - FÍSICA DE PARTÍCULAS through the grant MDM-2015-0509.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Miguel Cárdenas-Montes .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing Switzerland

About this paper

Cite this paper

Cárdenas-Montes, M. (2016). Predicting Hardness of Travelling Salesman Problem Instances. In: Luaces , O., et al. Advances in Artificial Intelligence. CAEPIA 2016. Lecture Notes in Computer Science(), vol 9868. Springer, Cham. https://doi.org/10.1007/978-3-319-44636-3_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-44636-3_7

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-44635-6

  • Online ISBN: 978-3-319-44636-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics