Skip to main content
Log in

Heterogeneous ant colony algorithm based on selective evolution mechanism and game strategy

  • Published:
The Journal of Supercomputing Aims and scope Submit manuscript

Abstract

In order to solve the problems of slow convergence and low accuracy of the traditional ant colony algorithm in solving the traveling salesman problem (TSP), this paper proposes a heterogeneous ant colony algorithm based on the selective evolution mechanism and game strategy (SGHACA). First, we propose a game mechanism. In each iteration, the best population and the worst population will play a game. At the end of the game, pheromone gains will be given to the participants according to the weight coefficients to motivate the populations to participate in the next round of the game, in order to promote cooperation among different populations and thus improve the diversity of the algorithm. Second, we introduce a selective evolution mechanism. The optimal paths of each iteration are compared with the historical optimal paths to evolve relatively better path fragments, thus improving the convergence speed of the algorithm. Finally, when the algorithm stagnates, we introduce a dynamic shaking mechanism, which is able to dynamically dither the pheromone on the current optimal path according to the number of iterations, increasing the probability that the algorithm chooses other paths, thus helping to jump out of the locally optimal solution. In order to verify the effectiveness of the improved algorithm in this paper, we experimentally verify through a large number of TSP instances that SGHACA is able to improve the convergence of the algorithm and the accuracy of the solution to a certain extent when solving large-scale TSP. Meanwhile, compared with the latest improved algorithms, the accuracy of the solution of SGHACA is better than most of the latest improved algorithms, which indicates that the improved algorithm of this paper has some competitiveness.

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

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

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

Instant access to the full article PDF.

Fig. 1
Algorithm 1
Fig. 2
Fig. 3
Algorithm 2
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

Data availability

Data will be made available on request.

References

  1. Ezugwu AES, Adewumi AO, Frîncu ME (2017) Simulated annealing based symbiotic organisms search optimization algorithm for traveling salesman problem. Expert Syst Appl 77:189–210. https://doi.org/10.1016/j.eswa.2017.01.053

    Article  Google Scholar 

  2. Emambocus BAS, Jasser MB, Hamzah M et al (2021) An Enhanced Swap Sequence-Based Particle Swarm Optimization Algorithm to Solve TSP. IEEE Access 9:164820–164836. https://doi.org/10.1109/ACCESS.2021.3133493

    Article  Google Scholar 

  3. Dorigo M, Di Caro G, Gambardella LM (1999) Ant algorithms for discrete optimization. Artif Life 5:137–172. https://doi.org/10.1162/106454699568728

    Article  Google Scholar 

  4. Liu S, Xiao Z, You X, Su R (2022) Multistrategy boosted multicolony whale virtual parallel optimization approaches. Knowledge-Based Syst 242:108341. https://doi.org/10.1016/j.knosys.2022.108341

  5. Wang JJ, Wang J (2022) A cooperative memetic algorithm with feedback for the energy-aware distributed flow-shops with flexible assembly scheduling. Comput Ind Eng 168:108126. https://doi.org/10.1016/j.cie.2022.108126

    Article  Google Scholar 

  6. Pan Z, Lei D, Wang L (2022) A knowledge-based two-population optimization algorithm for distributed energy-efficient parallel machines scheduling. IEEE Trans Cybern 52:5051–5063. https://doi.org/10.1109/TCYB.2020.3026571

    Article  Google Scholar 

  7. Zhao F, Zhang H, Wang L (2022) A pareto-based discrete jaya algorithm for multiobjective carbon-efficient distributed blocking flow shop scheduling problem. IEEE Trans Ind Informatics 19:8588–8599. https://doi.org/10.1109/TII.2022.3220860

    Article  Google Scholar 

  8. Zhao F, Di S, Wang L (2023) A hyperheuristic with q-learning for the multiobjective energy-efficient distributed blocking flow shop scheduling problem. IEEE Trans Cybern 53:3337–3350. https://doi.org/10.1109/TCYB.2022.3192112

    Article  Google Scholar 

  9. Zhao F, Jiang T, Wang L (2023) Meta-Heuristic Algorithm for Energy-Efficient Distributed No-Wait Flow-Shop Scheduling With Sequence-Dependent Setup Time 19:8427–8440

    Google Scholar 

  10. Zhao F, Xu Z, Wang L et al (2023) A population-based iterated greedy algorithm for distributed assembly no-wait flow-shop scheduling problem. IEEE Trans Ind Informatics 19:6692–6705. https://doi.org/10.1109/TII.2022.3192881

    Article  Google Scholar 

  11. Dorigo M, Maniezzo V, Colorni A (1996) Ant system: optimization by a colony of cooperating agents. IEEE Trans Syst Man, Cybern Part B Cybern 26:29–41. https://doi.org/10.1109/3477.484436

    Article  Google Scholar 

  12. Dorigo M, Gambardella LM (1997) Ant colony system: a cooperative learning approach to the traveling salesman problem. IEEE Trans Evol Comput 1:53–66. https://doi.org/10.1109/4235.585892

    Article  Google Scholar 

  13. Hoos HH, Stützle T (2000) MAX MIN ant system. Futur Gener Comput Syst 16:889–914

    Article  Google Scholar 

  14. Mavrovouniotis M, Muller FM, Yang S (2017) Ant colony optimization with local search for dynamic traveling salesman problems. IEEE Trans Cybern 47:1743–1756. https://doi.org/10.1109/TCYB.2016.2556742

    Article  Google Scholar 

  15. Wang Y, Geng C, Xu N (2021) Assembly sequence optimization based on hybrid symbiotic organisms search and ant colony optimization. Soft Comput 25:1447–1464. https://doi.org/10.1007/s00500-020-05230-x

    Article  Google Scholar 

  16. Ebadinezhad S (2020) DEACO: adopting dynamic evaporation strategy to enhance ACO algorithm for the traveling salesman problem. Eng Appl Artif Intell 92:103649. https://doi.org/10.1016/j.engappai.2020.103649

    Article  Google Scholar 

  17. Zong C, Yao X, Fu X (2022) Path planning of mobile robot based on improved ant colony algorithm. IEEE Jt Int Inf Technol Artif Intell Conf. https://doi.org/10.1109/ITAIC54216.2022.9836572

    Article  Google Scholar 

  18. Tian H, Mo Z, Ma C et al (2023) Design and validation of a multi-objective waypoint planning algorithm for UAV spraying in orchards based on improved ant colony algorithm. Front Plant Sci 14:1–14. https://doi.org/10.3389/fpls.2023.1101828

    Article  Google Scholar 

  19. Wang Y, Han Z (2021) Ant colony optimization for traveling salesman problem based on parameters optimization. Appl Soft Comput 107:107439. https://doi.org/10.1016/j.asoc.2021.107439

    Article  Google Scholar 

  20. Stodola P, Nohel J (2022) Adaptive ant colony optimization with node clustering for the multi-depot vehicle routing problem. IEEE Trans Evol Comput. https://doi.org/10.1109/TEVC.2022.3230042

    Article  Google Scholar 

  21. Liu C, Wu L, Xiao W et al (2023) An improved heuristic mechanism ant colony optimization algorithm for solving path planning. Knowledge-Based Syst. https://doi.org/10.1016/j.knosys.2023.110540

    Article  Google Scholar 

  22. Twomey C, Stützle T, Dorigo M et al (2010) An analysis of communication policies for homogeneous multi-colony ACO algorithms. Inf Sci (Ny) 180:2390–2404. https://doi.org/10.1016/j.ins.2010.02.017

    Article  Google Scholar 

  23. Li S, You X, Liu S (2021) Multiple ant colony optimization using both novel LSTM network and adaptive Tanimoto communication strategy. Appl Intell 51:5644–5664. https://doi.org/10.1007/s10489-020-02099-z

    Article  Google Scholar 

  24. Zhu H, You X, Liu S (2019) Multiple ant colony optimization based on pearson correlation coefficient. IEEE Access 7:61628–61638. https://doi.org/10.1109/ACCESS.2019.2915673

    Article  Google Scholar 

  25. Xu M, You X, Liu S (2017) Dual Population Ant Colony Optimization Algorithm. IEEE Access 5:

  26. Meng L, You X, Liu S (2020) Multi-colony collaborative ant optimization algorithm based on cooperative game mechanism. IEEE Access 8:154153–154165. https://doi.org/10.1109/ACCESS.2020.3011936

    Article  Google Scholar 

  27. Mo Y, You X, Liu S (2022) Multi-colony ant optimization with dynamic collaborative mechanism and cooperative game. Complex Intell Syst 8:4679–4696. https://doi.org/10.1007/s40747-022-00716-7

    Article  Google Scholar 

  28. Wu L, You X, Liu S (2023) Multi-ant colony optimization based on bidirectional induction mechanism and cooperative game. Soft Comput. https://doi.org/10.1007/s00500-023-08689-6

    Article  Google Scholar 

  29. Mo Y, You X, Liu S (2022) Multi-colony ant optimization based on pheromone fusion mechanism of cooperative game. Arab J Sci Eng 47:1657–1674. https://doi.org/10.1007/s13369-021-06033-4

    Article  Google Scholar 

  30. Meng J, You X, Liu S (2022) Heterogeneous ant colony optimization based on adaptive interactive learning and non-zero-sum game. Soft Comput 26:3903–3920. https://doi.org/10.1007/s00500-022-06833-2

    Article  Google Scholar 

  31. Chen D, You XM, Liu S (2022) Ant colony algorithm with Stackelberg game and multi-strategy fusion. Appl Intell 52:6552–6574. https://doi.org/10.1007/s10489-021-02774-9

    Article  Google Scholar 

  32. Zhao J, You X, Duan Q, Liu S (2022) Multiple ant colony algorithm combining community relationship network. Arab J Sci Eng 47:10531–10546. https://doi.org/10.1007/s13369-022-06579-x

    Article  Google Scholar 

  33. Zhou X, Ma H, Gu J et al (2022) Parameter adaptation-based ant colony optimization with dynamic hybrid mechanism. Eng Appl Artif Intell. https://doi.org/10.1016/j.engappai.2022.105139

    Article  Google Scholar 

  34. Gao W (2020) New ant colony optimization algorithm for the traveling salesman problem. Int J Comput Intell Syst 13:44–55. https://doi.org/10.2991/ijcis.d.200117.001

    Article  Google Scholar 

  35. Du P, Liu N, Zhang H, Lu J (2021) An improved ant colony optimization based on an adaptive heuristic factor for the traveling salesman problem. J Adv Transp. https://doi.org/10.1155/2021/6642009

    Article  Google Scholar 

  36. Pan H, You X, Liu S, Zhang D (2021) Pearson correlation coefficient-based pheromone refactoring mechanism for multi-colony ant colony optimization. Appl Intell 51:752–774. https://doi.org/10.1007/s10489-020-01841-x

    Article  Google Scholar 

  37. Zhang D, You X, Liu S, Yang K (2019) Multi-colony ant colony optimization based on generalized jaccard similarity recommendation strategy. IEEE Access 7:157303–157317. https://doi.org/10.1109/ACCESS.2019.2949860

    Article  Google Scholar 

  38. Deng W, Zhao H, Zou L et al (2017) A novel collaborative optimization algorithm in solving complex optimization problems. Soft Comput 21:4387–4398. https://doi.org/10.1007/s00500-016-2071-8

    Article  Google Scholar 

  39. Yu J, You X, Liu S (2020) Dynamic density clustering ant colony algorithm with filtering recommendation backtracking mechanism. IEEE Access 8:154471–154484. https://doi.org/10.1109/ACCESS.2020.3002817

    Article  Google Scholar 

  40. Gülcü Ş, Mahi M, Baykan ÖK, Kodaz H (2018) A parallel cooperative hybrid method based on ant colony optimization and 3-Opt algorithm for solving traveling salesman problem. Soft Comput 22:1669–1685. https://doi.org/10.1007/s00500-016-2432-3

    Article  Google Scholar 

  41. Jati GK, Kuwanto G, Hashmi T, Widjaja H (2023) Discrete komodo algorithm for traveling salesman problem[Formula presented]. Appl Soft Comput 139:110219. https://doi.org/10.1016/j.asoc.2023.110219

    Article  Google Scholar 

  42. Karakostas P, Sifaleras A (2022) A double-adaptive general variable neighborhood search algorithm for the solution of the traveling salesman problem. Appl Soft Comput 121:108746. https://doi.org/10.1016/j.asoc.2022.108746

    Article  Google Scholar 

  43. Huang Y, Shen XN, You X (2021) A discrete shuffled frog-leaping algorithm based on heuristic information for traveling salesman problem. Appl Soft Comput 102:107085. https://doi.org/10.1016/j.asoc.2021.107085

    Article  Google Scholar 

  44. Wu C, Fu X, Pei J, Dong Z (2021) A novel sparrow search algorithm for the traveling salesman problem. IEEE Access 9:153456–153471. https://doi.org/10.1109/ACCESS.2021.3128433

    Article  Google Scholar 

  45. Alipour MM, Razavi SN, Feizi Derakhshi MR, Balafar MA (2018) A hybrid algorithm using a genetic algorithm and multiagent reinforcement learning heuristic to solve the traveling salesman problem. Neural Comput Appl 30:2935–2951. https://doi.org/10.1007/s00521-017-2880-4

    Article  Google Scholar 

  46. Yong W (2015) Hybrid Max-Min ant system with four vertices and three lines inequality for traveling salesman problem. Soft Comput 19:585–596. https://doi.org/10.1007/s00500-014-1279-8

    Article  Google Scholar 

  47. Wang J, Zhang P, Zhang H et al (2022) A carnivorous plant algorithm with heuristic decoding method for traveling salesman problem. IEEE Access 10:97142–97164. https://doi.org/10.1109/ACCESS.2022.3205756

    Article  Google Scholar 

  48. Zhang Z, Han Y (2022) Discrete sparrow search algorithm for symmetric traveling salesman problem. Appl Soft Comput 118:108469–98. https://doi.org/10.1016/j.asoc.2022.108469

    Article  Google Scholar 

  49. Daoqing Z, Mingyan J (2020) Parallel discrete lion swarm optimization algorithm for solving traveling salesman problem. J Syst Eng Electron 31:751–760

    Article  Google Scholar 

  50. Li X, Hu Y, Li M, Zheng J (2020) Fault diagnostics between different type of components: a transfer learning approach. Appl Soft Comput J 86:105950. https://doi.org/10.1016/j.asoc.2019.105950

    Article  Google Scholar 

  51. Wu C, Fu X (2020) An agglomerative greedy brain storm optimization algorithm for solving the TSP. IEEE Access 8:201606–201621. https://doi.org/10.1109/ACCESS.2020.3035899

    Article  Google Scholar 

  52. Hore S, Chatterjee A, Dewanji A (2018) Improving variable neighborhood search to solve the traveling salesman problem. Appl Soft Comput J 68:83–91. https://doi.org/10.1016/j.asoc.2018.03.048

    Article  Google Scholar 

  53. İlhan İ, Gökmen G (2022) A list-based simulated annealing algorithm with crossover operator for the traveling salesman problem. Neural Comput Appl 34:7627–7652. https://doi.org/10.1007/s00521-021-06883-x

    Article  Google Scholar 

  54. Panwar K, Deep K (2021) Transformation operators based grey wolf optimizer for travelling salesman problem. J Comput Sci 55:101454. https://doi.org/10.1016/j.jocs.2021.101454

    Article  Google Scholar 

  55. Saadatmand-Tarzjan M (2018) On computational complexity of the constructive-optimizer neural network for the traveling salesman problem. Neurocomputing 321:82–91. https://doi.org/10.1016/j.neucom.2018.09.039

    Article  Google Scholar 

Download references

Funding

This study was funded by the National Natural Science Foundation of China under Grant (61673258), Grant (61075115), and the Shanghai Natural Science Foundation under Grant (19ZR1421600).

Author information

Authors and Affiliations

Authors

Contributions

The paper and the algorithm code were written by LW. Suggestions for revising the manuscript were given by XY. The material for the experiment was prepared by SL. The final manuscript is approved by all authors.

Corresponding author

Correspondence to Xiaoming You.

Ethics declarations

Conflict of interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Ethical approval

Our work does not involve human and animal research.

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

Wu, L., You, X. & Liu, S. Heterogeneous ant colony algorithm based on selective evolution mechanism and game strategy. J Supercomput 80, 7171–7206 (2024). https://doi.org/10.1007/s11227-023-05706-1

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11227-023-05706-1

Keywords