Skip to main content

Advertisement

Log in

A comparative analysis of genetic algorithms on a case study of asymmetric traveling salesman problem

  • Original Article
  • Published:
International Journal of System Assurance Engineering and Management Aims and scope Submit manuscript

Abstract

In the present paper, the genetic algorithm and some of its variants i.e. adaptive genetic algorithm, binary-coded genetic algorithm and real-coded genetic algorithm are applied to the Asymmetric Traveling Salesman Problem (ATSP). ATSP is one of the most widely studied combinatorial NP-hard problems of finding the shortest path. The present ATSP is a novel real-life case of the shortest path problem based on the distances between 22 districts of Haryana, India. To solve the above problem, one-point crossover and exchange mutation are applied to compare the performance of these algorithms on different parameters such as the size of the population, the number of iterations, and the rate of crossover. The main objective of this paper is to study the influence of these parameters on ATSP. Numerical results show that the binary genetic algorithm worked better in terms of the size of the population and the number of iterations, while the real-coded genetic algorithm worked better in terms of the rate of crossover.

Graphical abstract

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4

Similar content being viewed by others

References

  • Adewumi AO, Adeleke OJ (2018) A survey of recent advances in vehicle routing problems. Int J Syst Assur Eng Manage 9:155–172

    Article  Google Scholar 

  • Akhand MAH, Ayon SI, Shahriyar SA, Siddique N, Adeli H (2020) Discrete spider monkey optimization for travelling salesman problem. Appl Soft Comput 86:105887

    Article  Google Scholar 

  • Ali MZ, Awad NH, Suganthan PN, Shatnawi AM, Reynolds RG (2018) An improved class of real-coded genetic algorithms for numerical optimization. Neurocomputing 275(1):155–166

    Article  Google Scholar 

  • Ascheuer N, Junger M, Reinelt G (2000) A branch & cut algorithm for the asymmetric traveling salesman problem with precedence constraints. Comput Optim Appl 17:61–84

    Article  MathSciNet  MATH  Google Scholar 

  • Balas E, Christofides N (1981) A restricted Lagrangean approach to the traveling salesman problem. Math Program 21(1):19–46

    Article  MATH  Google Scholar 

  • Bansal N, Singh AK (2022) Valuable survey on scheduling algorithms in the cloud with various publications. Int J Syst Assur Eng Manag 13(5):2132–2150

    Article  Google Scholar 

  • Bellmore M, Nemhauser GL (1968) The traveling salesman problem: a survey. Oper Res 16(3):538–558

    Article  MathSciNet  MATH  Google Scholar 

  • Boryczka U, Szwarc K (2019) The harmony search algorithm with additional improvement of harmony memory for asymmetric traveling salesman problem. Expert Syst Appl 122:43–53

    Article  Google Scholar 

  • Buriol L, Franca PM, Moscato P (2004) A new memetic algorithm for the asymmetric traveling salesman problem. J Heurist 10:483–506

    Article  MATH  Google Scholar 

  • Carpaneto G, Dell’Amico M, Toth P (1995) Exact solution of large-scale, asymmetric traveling salesman problems. ACM Transact Math Softw (TOMS) 21(4):394–409

    Article  MathSciNet  MATH  Google Scholar 

  • Deep K, Mebrahtu H, Nagar AK (2018) Novel GA for metropolitan stations of Indian railways when modeled as a TSP. Int J Syst Assur Eng Manage 9:639–645

    Article  Google Scholar 

  • Deepa SN (2008) Introduction to genetic algorithms. Springer, Berlin

    MATH  Google Scholar 

  • Dehedkar SN, Raj S (2022) Determination of optimal location and implementation of solar photovoltaic system using ETAP. In: 2022 IEEE 2nd International Symposium on Sustainable Energy, Signal Processing and Cyber Security (iSSSC). IEEE, pp 1–4

  • Eshelman LJ, Schaffer JD (1993) Real-coded genetic algorithms and interval-schemata. Found Genet Algorithm 2(1):187–202

    Google Scholar 

  • Fiechter CN (1994) A parallel tabu search algorithm for large traveling salesman problems. Discret Appl Math 51(3):243–267

    Article  MathSciNet  MATH  Google Scholar 

  • Gary MR, Johnson DS (1979) Computers and intractability: a guide to the theory of NP-completeness

  • Goldberg DE (1989) Genetic algorithms in search, optimization and machine learning. Addison Wesley, Reading

    MATH  Google Scholar 

  • Goldberg DE (1991) Real-coded genetic algorithms, virtual alphabeths, and blocking. Complex Syst 5(1):139–167

    MathSciNet  MATH  Google Scholar 

  • https://www.google.com/maps/@29.282929,76.026532,8z

  • Katoch S, Chauhan SS, Kumar V (2021) A review on genetic algorithm: past, present, and future. Multimed Tools Appl 80(5):8091–8126

    Article  Google Scholar 

  • Kim JW, Kim SW, Park P, Park TJ (2002) On the similarities between binary-coded GA and real-coded GA in wide search space. Proc 2002 Congress Evoluti Comput 1(2):681–686

    Google Scholar 

  • Larranaga P, Kuijpers C, Murga R (1999) Genetic algorithms for the travelling salesman problem: a review of representations and operators. Artif Intell Rev 13(2):129–170

    Article  Google Scholar 

  • Li K, Zhuo Y, Luo X (2022) Optimization method of fuel saving and cost reduction of tugboat main engine based on genetic algorithm. Int J Syst Assur Eng Manage 13(1):605–614

    Article  Google Scholar 

  • Li W, Wang C, Huang Y, Cheung YM (2023) Heuristic smoothing ant colony optimization with differential information for the traveling salesman problem. Appl Soft Comput 133:109943

    Article  Google Scholar 

  • Lin C (2009) An adaptive genetic algorithm based on population diversity strategy. In: 2009 Third International Conference on Genetic and Evolutionary Computing, pp 93–96

  • Mahapatra S, Dey B, Raj S (2021) A novel ameliorated Harris hawk optimizer for solving complex engineering optimization problems. Int J Intell Syst 36(12):7641–7681

    Article  Google Scholar 

  • Mahapatra S, Raj S (2023) A novel meta-heuristic approach for optimal RPP using series compensated FACTS controller. Intell Syst Appl 18:200220

    Google Scholar 

  • Majumdar J, Bhunia AK (2011) Genetic algorithm for asymmetric traveling salesman problem with imprecise travel times. J Comput Appl Math 235(9):3063–3078

    Article  MathSciNet  MATH  Google Scholar 

  • Mohebifar A (2006) New binary representation in genetic algorithms for solving TSP by mapping permutations to a list of ordered numbers. WSEAS Transact Comput Res 1(2):114–118

    Google Scholar 

  • Mora-Melia D, Martinez-Solano FJ, Iglesias-Rey PL, Gutierrez-Bahamondes JH (2017) Population size influence on the efficiency of evolutionary algorithms to design water networks. Procedia Eng 100(186):341–348

    Article  Google Scholar 

  • Mzili T, Mzili I, Riffi ME (2023) Artificial rat optimization with decision-making: a bio-inspired metaheuristic algorithm for solving the traveling salesman problem. Decis Making Appl Manage Eng

  • Nagata Y, Soler D (2012) A new genetic algorithm for the asymmetric traveling salesman problem. Expert Syst Appl 39(10):8947–8953

    Article  Google Scholar 

  • Osaba E, Del Ser J, Sadollah A, Bilbao MN, Camacho D (2018) A discrete water cycle algorithm for solving the symmetric and asymmetric traveling salesman problem. Appl Soft Comput 71:277–290

    Article  Google Scholar 

  • Osaba E, Yang XS, Diaz F, Lopez-Garcia P, Carballedo R (2016) An improved discrete bat algorithm for symmetric and asymmetric traveling salesman problems. Eng Appl Artif Intell 48:59–71

    Article  Google Scholar 

  • Pekny JF, Miller DL (1990) A parallel branch and bound algorithm for solving large asymmetric traveling salesman problems. In: Proceedings of the 1990 ACM annual conference on Cooperation, pp 56–62

  • Potvin JY (1996) Genetic algorithms for the traveling salesman problem. Ann Oper Res 63(3):337–370

    Article  MATH  Google Scholar 

  • Raj S, Bhattacharyya B (2018) Optimal placement of TCSC and SVC for reactive power planning using Whale optimization algorithm. Swarm Evol Comput 40:131–143

    Article  Google Scholar 

  • Raj S, Mahapatra S, Babu R, Verma S (2023) Hybrid intelligence strategy for techno-economic reactive power dispatch approach to ensure system security. Chaos, Solitons Fractals 170:113363

    Article  Google Scholar 

  • Rocha Y, Subramanian A (2023) Hybrid genetic search for the traveling salesman problem with hybrid electric vehicle and time windows. Comput Operat Res 155:106223

    Article  MathSciNet  MATH  Google Scholar 

  • Saptarini NGAPH, Ciptayani PI, Wisswani NW, Suasnawa IW (2020) Adaptive genetic algorithm for high school time-table. J Phys 1569(3):01–06

    Google Scholar 

  • Singh G, Gupta N, Khosravy M (2015) New crossover operators for real coded genetic algorithm (RCGA). In: 2015 International Conference on Intelligent Informatics and Biomedical Sciences (ICIIBMS), pp 135–140

  • Tawhid MA, Savsani P (2019) Discrete sine-cosine algorithm (DSCA) with local search for solving traveling salesman problem. Arab J Sci Eng 44(4):3669–3679

    Article  Google Scholar 

  • Wang J, Huang J, Rao S, Xue S, Yin J (2008) An adaptive genetic algorithm for solving traveling salesman problem. In: International Conference on Intelligent Computing, pp 182–189

  • Wang J, Zhang M, Ersoy OK, Sun K, Bi Y (2019) An improved real-coded genetic algorithm using the Heuristical normal distribution and direction-based crossover. Comput Intell Neurosci 2019(1):01–18

    Google Scholar 

  • Zbigniew M (1996) Genetic Algorithms+ Data Structures= Evolution Programs. Springer-Verlag, Berlin

    MATH  Google Scholar 

  • Zhang T, Zhou Y, Zhou G, Deng W, Luo Q (2023) Discrete Mayfly algorithm for spherical asymmetric traveling salesman problem. Expert Syst Appl 221:119765

    Article  Google Scholar 

Download references

Acknowledgements

The first author is extremely grateful to the Council of Scientific & Industrial Research (CSIR) for providing Junior Research Fellowship (JRF) with file number 09/1152(0024)/2020-EMR-1 and encouragement, which made this research possible.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Pawan Kumar.

Ethics declarations

Conflict of interest

There are no conflicts of interest to disclose by the authors in relation to the current study.

Ethical approval

The author did not conduct any studies involving human participants or animals for this article.

Informed consent

All the authors have approved the manuscript and agree with its submission to the International Journal of System Assurance Engineering and Management.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Raj, A., Punia, P. & Kumar, P. A comparative analysis of genetic algorithms on a case study of asymmetric traveling salesman problem. Int J Syst Assur Eng Manag 14, 2684–2694 (2023). https://doi.org/10.1007/s13198-023-02161-2

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s13198-023-02161-2

Keywords

Navigation