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.









Similar content being viewed by others
Data availability
Data will be made available on request.
References
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
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
Dorigo M, Di Caro G, Gambardella LM (1999) Ant algorithms for discrete optimization. Artif Life 5:137–172. https://doi.org/10.1162/106454699568728
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
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
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
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
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
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
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
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
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
Hoos HH, Stützle T (2000) MAX MIN ant system. Futur Gener Comput Syst 16:889–914
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
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
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
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
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
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
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
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
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
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
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
Xu M, You X, Liu S (2017) Dual Population Ant Colony Optimization Algorithm. IEEE Access 5:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Daoqing Z, Mingyan J (2020) Parallel discrete lion swarm optimization algorithm for solving traveling salesman problem. J Syst Eng Electron 31:751–760
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
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
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
İ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
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
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
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
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
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.
About this article
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
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11227-023-05706-1