Skip to main content

HGADC: Hierarchical Genetic Algorithm with Density-Based Clustering for TSP

  • Conference paper
  • First Online:
Bio-Inspired Computing: Theories and Applications (BIC-TA 2023)

Abstract

Genetic algorithms (GA) are widely used to solve complex combinatorial optimization problems, such as the Traveling Salesman Problem (TSP). However, as the problem being scale-up, the feasible solution space expands extremely large, resulting in a significant decrease in the efficiency of GA. This paper is dedicated to address this challenge on large TSP by proposing an improved Hierarchical Genetic Algorithm with Density-Based Clustering (HGADC). First the Hierarchical Density-Based Clustering (HDBSCAN) algorithm was employed to cluster all cities into clusters. Each cluster will be considered as a sub-problem, by this way we have a hierarchical structure, i.e. low-level intra-cluster sub-problems and high-level inter-clusters problems. For low-level, a novel Elite Ranking strategy GA was proposed. While for high-level, we designed two approaches, one is the Barycenter Method (BM), which condensed the cluster to be an individual city, the other is called Gene Segment Method (GSM), which kept both head and tail of gene segment as a representation of the cluster. Finally, the results of two levels were integrated to form the final solution. HGADC facilitated the preservation of high-quality genes in GA via the clustering method combined with GA, dramatically reduced the problem’s size and computational costs. The experiments showed that the HGADC algorithm exhibits promising performance in solving large TSPs in TSPLIB compared with notable methods such as MMAS, PACO-3OPT, and KIG.

Supported by the project “Study on Robustness and Explainability of Evolutionary Ensemble Learning”, 2022ZDZX1006.

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 79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 84.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

Institutional subscriptions

References

  1. Campello, R.J.G.B., Moulavi, D., Sander, J.: Density-based clustering based on hierarchical density estimates. In: Pei, J., Tseng, V.S., Cao, L., Motoda, H., Xu, G. (eds.) PAKDD 2013. LNCS, vol. 7819, pp. 160–172. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-37456-2_14

    Chapter  Google Scholar 

  2. Davis, L., et al.: Applying adaptive algorithms to epistatic domains. In: IJCAI, vol. 85, pp. 162–164. Citeseer (1985)

    Google Scholar 

  3. Deng, Y., Liu, Y., Zhou, D., et al.: An improved genetic algorithm with initial population strategy for symmetric tsp. Math. Probl. Eng. 2015 (2015)

    Google Scholar 

  4. Dorigo, M.: Optimization, learning and natural algorithms. Ph.D. thesis, Politecnico di Milano (1992)

    Google Scholar 

  5. Ester, M., Kriegel, H.P., Sander, J., Xu, X., et al.: A density-based algorithm for discovering clusters in large spatial databases with noise. In: KDD, vol. 96, pp. 226–231 (1996)

    Google Scholar 

  6. Gülcü, Ş, Mahi, M., Baykan, Ö.K., Kodaz, H.: A parallel cooperative hybrid method based on ant colony optimization and 3-opt algorithm for solving traveling salesman problem. Soft. Comput. 22, 1669–1685 (2018)

    Article  Google Scholar 

  7. Mahi, M., Baykan, Ö.K., Kodaz, H.: A new hybrid method based on particle swarm optimization, ant colony optimization and 3-opt algorithms for traveling salesman problem. Appl. Soft Comput. 30, 484–490 (2015)

    Article  Google Scholar 

  8. McInnes, L., Healy, J.: Accelerated hierarchical density based clustering. In: 2017 IEEE International Conference on Data Mining Workshops (ICDMW), pp. 33–42. IEEE (2017)

    Google Scholar 

  9. Nguyen, H.D., Yoshihara, I., Yamamori, K., Yasunaga, M.: Implementation of an effective hybrid GA for large-scale traveling salesman problems. IEEE Trans. Syst. Man Cybern. Part B (Cybern.) 37(1), 92–99 (2007)

    Article  Google Scholar 

  10. Stützle, T., Hoos, H.H.: Max-min ant system. Futur. Gener. Comput. Syst. 16(8), 889–914 (2000)

    Article  Google Scholar 

  11. Yu, F., Fu, X., Li, H., Dong, G.: Improved roulette wheel selection-based genetic algorithm for TSP. In: 2016 International Conference on Network and Information Systems for Computers (ICNISC), pp. 151–154. IEEE (2016)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Wenjun Wang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Song, Z., Li, Y., Wang, W. (2024). HGADC: Hierarchical Genetic Algorithm with Density-Based Clustering for TSP. In: Pan, L., Wang, Y., Lin, J. (eds) Bio-Inspired Computing: Theories and Applications. BIC-TA 2023. Communications in Computer and Information Science, vol 2061. Springer, Singapore. https://doi.org/10.1007/978-981-97-2272-3_20

Download citation

  • DOI: https://doi.org/10.1007/978-981-97-2272-3_20

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-97-2271-6

  • Online ISBN: 978-981-97-2272-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics