A Comparison of ACO, GA and SA for Solving the TSP Problem

  • Fevrier ValdezEmail author
  • Francisco Moreno
  • Patricia Melin
Part of the Studies in Computational Intelligence book series (SCI, volume 827)


The ACO algorithm is an optimization algorithm, recognized for being very efficient in problems of finding routes and planning paths in roads. In terms of the problem of the traveling salesman, ACO algorithm has been able to find optimal solutions to the problem, we want to make a comparison with the algorithms GA and SA, to determine which of these obtains better results.


TSP (Travelling Salesman Problem) ACO (Ant Colony Optimization) Bio-inspired algorithms GA (Genetic Algorithm) SA (Simulated Annealing) 



The authors would like to express thank to the Consejo Nacional de Ciencia y Tecnología and Tecnológico Nacional de Mexico/Tijuana Institute of Technology for the facilities and resources granted for the development of this research.


  1. 1.
    M. Dorigo, Optimization, Learning and Natural Algorithms. (Ph.D. Thesis, Politecnico di Milano, Italian, 1992)Google Scholar
  2. 2.
    M. Dorigo, G.D. Caro, Ant colony optimization: a new meta-heuristic, in Proceedings of the IEEE Congress on Evolutionary Computation, vol. 2 (1999), pp. 1470–1477Google Scholar
  3. 3.
    M. Dorigo, L.M. Gambardella, Ant colony system: a cooperative learning approach to the traveling salesman problem. IEEE Trans. Evol. Comput. 1(1), 53–66 (1997)CrossRefGoogle Scholar
  4. 4.
    J.L. Deneubourg, S. Aron, S. Goss, J.M. Pasteels, The self-organizing exploratory pattern of the argentine ant. J. Insect Behav. 3, 159–168 (1990)CrossRefGoogle Scholar
  5. 5.
    J.M. Pasteels, J.L. Deneubourg, S. Goss, Self-organization mechanisms in ant societies (I): trail recruitment to newly discovered food sources. Experientia Suppl 76, 579–581 (1989)Google Scholar
  6. 6.
    M. Dorigo, L.M. Gambardella, Ant colonies for the travelling salesman problem. Biosystems 43(2), 73–81 (1997)CrossRefGoogle Scholar
  7. 7.
    J.H. Holland, Adaptation in Natural and Artificial Systems: An Introductory Analysis with Applications to Biology, Control, and Artificial Intelligence (University of Michigan Press, Ann Arbor, MI, 1975)zbMATHGoogle Scholar
  8. 8.
    Y. Tsujimura, M. Gen, Entropy-based genetic algorithm for solving TSP, in 1998 Second International Conference on Knowledge Based Intelligent Electronic Systems. Proceedings KES 98 (1998)Google Scholar
  9. 9.
    H.A. Mukhairez, A.Y.A. Maghari, Performance comparison of simulated annealing, GA and ACO applied TSP. Int. J. Intell. Comput. Res. (IJICR) 6(4) (2015)CrossRefGoogle Scholar
  10. 10.
    J.S.H. Zhan, Z.J. Lin, Y.W. Zhang, Zhong: List-based simulated annealing algorithm for traveling salesman problem. Comput. Intell. Neurosci. 2016, Article ID 1712630, 12 p (2016)Google Scholar
  11. 11.
    N. Metropolis, A.W. Rosenbluth, M.N. Rosenbluth, A.H. Teller, E. Teller, Equation of state calculations by fast computing machines. J. Chem. Phys. 21(6), 1087–1092 (1953)CrossRefGoogle Scholar
  12. 12.
    L. Bo, M. Peisheng, Simulated annealing-based ant colony algorithm for traveling salesman problems. Nat. Sci. 11, 26–30 (2009)MathSciNetzbMATHGoogle Scholar
  13. 13.
    M. Dorigo, V. Maniezzo, A. Colorni, Ant system: optimization by a colony of cooperating agents. IEEE Trans. Syst. Man Cybern. Part B 26(1), 29–41 (1996)CrossRefGoogle Scholar
  14. 14.
    M.R. Garey, D.S. Johnson, Computers and Intractability: A Guide to the Theory of NP-Completeness (W.H. Freeman, San Francisco, 1979)zbMATHGoogle Scholar
  15. 15.
    E.H.L. Aarts, J.K. Lenstra, The travelling salesman problem: a case study in local optimization, in Local Search in Combinatorial Optimization (1997)Google Scholar
  16. 16.
    R. Johnson, M.G. Pilcher, in The Traveling Salesman Problem, ed. by E.L. Lawler, J.K. Lenstra, A.H.G. Rinnooy Kan, D.B Shmoys, John Wiley (1988)Google Scholar
  17. 17.
    D.J. Rosenkrantz, R.E. Stearns, P.M. Lewis, An analysis of several heuristics for the traveling salesman problem. SIAM J. Comput. 6, 563–581 (1977)MathSciNetCrossRefGoogle Scholar
  18. 18.
    A. Acan, GAACO: A GA + ACO hybrid for faster and better search capability, in Ant Algorithms (2002), pp. 300–301CrossRefGoogle Scholar
  19. 19.
    A. Colorni, M. Dorigo, V. Maniezzo, An investigation of some properties of an ant algorithm, in Proceedings of Parallel Problem Solving from Nature Conference (PPSN 92) (1992), pp. 509–520Google Scholar
  20. 20.
    B. Freisleben, P. Merz, New genetic local search operators for the traveling salesman problem, in Proceedings of PPSN IVth International Conference on Parallel Problem Solving from Nature (1996), pp. 890–899Google Scholar
  21. 21.
    P. Stodola, J. Mazal, M. Podhorec, Parameter tuning for the ant colony optimization algorithm used in ISR systems. Int. J. Appl. Math. Inform. 9 (2015)Google Scholar
  22. 22.
    T. Stutzle, M. Lopez, P. Pellegrini, M. Maur, M.M.D. Oca, M. Birattari, M. Dorigo, Parameter adaptation in ant colony optimization, Technical Report Series (2010)Google Scholar
  23. 23.
    B. Gonzalez, F. Valdez, P. Melin, A gravitational search algorithm using type-2 fuzzy logic for parameter adaptation, in Nature-Inspired Design of Hybrid Intelligent Systems, vol. 667 (Springer, Cham, 2017)Google Scholar
  24. 24.
    C.I. Gonzalez, P. Melin, J.R. Castro, O. Mendoza, O. Castillo, An improved sobel edge detection method based on generalized type-2 fuzzy logic. Soft. Comput. 20(2), 773–784 (2016)CrossRefGoogle Scholar
  25. 25.
    C.I. Gonzalez, P. Melin, J.R. Castro, O. Castillo, O. Mendoza, Optimization of interval type-2 fuzzy systems for image edge detection. Appl. Soft Comput. 47, 631–643 (2016)CrossRefGoogle Scholar
  26. 26.
    P. Melin, D. Sanchez, Multi-objective optimization for modular granular neural networks applied to pattern recognition. Inf. Sci. 460, 594–610 (2018)MathSciNetCrossRefGoogle Scholar
  27. 27.
    P. Ochoa, O. Castillo, J. Soria, Differential evolution using fuzzy logic and a comparative study with other metaheuristics, in Nature-Inspired Design of Hybrid Intelligent Systems, vol. 667 (Springer, Cham, 2017)Google Scholar
  28. 28.
    F. Olivas, F. Valdez, O. Castillo, C.I. González, G.E. Martinez, P. Melin, Ant colony optimization with dynamic parameter adaptation based on interval type-2 fuzzy logic systems. Appl. Soft Comput. 53, 74–87 (2017). Scholar
  29. 29.
    D. Sanchez, P. Melin, O. Castillo, Optimization of modular granular neural networks using a firefly algorithm for human recognition. Eng. Appl. AI 64, 172–186 (2017)CrossRefGoogle Scholar

Copyright information

© Springer Nature Switzerland AG 2020

Authors and Affiliations

  • Fevrier Valdez
    • 1
    Email author
  • Francisco Moreno
    • 1
  • Patricia Melin
    • 1
  1. 1.Tijuana Institute of TechnologyTijuanaMexico

Personalised recommendations