Skip to main content
Log in

A hybrid ant colony optimization with fireworks algorithm to solve capacitated vehicle routing problem

  • Published:
Applied Intelligence Aims and scope Submit manuscript

Abstract

The Capacitated Vehicle Routing Problem (CVRP) is a classical combinatorial optimization problem, which objective is to minimize the vehicle travel distance. In this paper a hybrid ant colony optimization based on Fireworks Algorithm (FWA) is proposed to solve the CVRP. The main work of hybrid algorithm is reflected in three aspects: firstly, FWA is introduced on the basis of Ant Colony Optimization (ACO) algorithm to increase the diversity of algorithms and avoid falling into local optimum too early in the search process; secondly, the elite ant strategy is added to increase the attractiveness of the local optimal path to the ants; thirdly, the Max-Min Ant System (MMAS) is added to limit the pheromone value within a range to prevent the pheromone from increasing too fast on the path. In this paper, the proposed hybrid algorithm is tested in 71 instances and compared with other intelligent algorithms. Experimental results show that the proposed hybrid algorithm finds new best solutions and is competitive with other algorithms.

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
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

References

  1. 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.585892https://doi.org/10.1109/4235.585892

    Article  Google Scholar 

  2. Stutzle H, Hoos H (1997) Max-min ant system and local search for the traveling salesman problem. In: Proceedings of 1997 IEEE international conference on evolutionary computation, pp 309–314. https://doi.org/10.1109/ICEC.1997.592327

  3. Zhao HT, Zhang C, Zheng XY, Zhang C, Zhang B (2022) A decomposition-based many-objective ant colony optimization algorithm with adaptive solution construction and selection approaches. Swarm Evol Comput 68:100977. https://doi.org/10.1016/j.swevo.2021.100977https://doi.org/10.1016/j.swevo.2021.100977

    Article  Google Scholar 

  4. Rojas-Morales N, Riff MC, Neveu B (2021) Learning and focusing strategies to improve aco that solves csp. Eng Appl Artif Intell 105:104408. https://doi.org/10.1016/j.engappai.2021.104408

    Article  Google Scholar 

  5. Guan BX, Zhao Y, Li Y (2021) An improved ant colony optimization with an automatic updating mechanism for constraint satisfaction problems. Expert Syst Appl 164:114021. https://doi.org/10.1016/j.eswa.2020.114021

    Article  Google Scholar 

  6. Zhao HT, Zhang C, Zhang B (2020) A decomposition-based many-objective ant colony optimization algorithm with adaptive reference points. Inf Sci 540:435–448. https://doi.org/10.1016/j.ins.2020.06.028https://doi.org/10.1016/j.ins.2020.06.028

    Article  MathSciNet  MATH  Google Scholar 

  7. Dzalbs I, Kalganova T (2020) Accelerating supply chains with ant colony optimization across a range of hardware solutions. Comput Ind Eng 147:106610. https://doi.org/10.1016/j.cie.2020.106610

    Article  Google Scholar 

  8. Miao CW, Chen GZ, Yan CL, Wu YY (2021) Path planning optimization of indoor mobile robot based on adaptive ant colony algorithm. Comput Ind Eng 156:107230. https://doi.org/10.1016/j.cie.2021.107230https://doi.org/10.1016/j.cie.2021.107230

    Article  Google Scholar 

  9. Wan YT, Zhong YF, Ma AL, Zhang LP (2022) An accurate uav 3-d path planning method for disaster emergency response based on an improved multiobjective swarm intelligence algorithm. IEEE Trans Cybern. https://doi.org/10.1109/tcyb.2022.3170580

  10. Li YB, Soleimani H, Zohal M (2019) An improved ant colony optimization algorithm for the multi-depot green vehicle routing problem with multiple objectives. J Clean Prod 227:1161–1172. https://doi.org/10.1016/j.jclepro.2019.03.185

    Article  Google Scholar 

  11. Xiang XS, Qiu JF, Xiao JH, Zhang XY (2020) Demand coverage diversity based ant colony optimization for dynamic vehicle routing problems. Eng Appl Artif Intell 91:103582. https://doi.org/10.1016/j.engappai.2020.103582https://doi.org/10.1016/j.engappai.2020.103582

    Article  Google Scholar 

  12. Dang YB, Allen TT, Singh M (2022) A heterogeneous vehicle routing problem with common carriers and time regulations: mathematical formulation and a two-color ant colony search. Comput Ind Eng 168:108036. https://doi.org/10.1016/j.cie.2022.108036

    Article  Google Scholar 

  13. Zhou Y, Li WD, Wang X, Qiu YM, Shen WM (2022) Adaptive gradient descent enabled ant colony optimization for routing problems. Swarm Evol Comput 70:101046. https://doi.org/10.1016/j.swevo.2022.101046https://doi.org/10.1016/j.swevo.2022.101046

    Article  Google Scholar 

  14. Zhang HZ, Zhang QW, Ma L, Zhang ZY, Liu Y (2019) A hybrid ant colony optimization algorithm for a multi-objective vehicle routing problem with flexible time windows. Inf Sci 490:166–190. https://doi.org/10.1016/j.ins.2019.03.070

    Article  MathSciNet  MATH  Google Scholar 

  15. Molina JC, Salmeron JL, Eguia I (2020) An acs-based memetic algorithm for the heterogeneous vehicle routing problem with time windows. Expert Syst Appl 157:113379. https://doi.org/10.1016/j.eswa.2020.113379https://doi.org/10.1016/j.eswa.2020.113379

    Article  Google Scholar 

  16. Wang Y, Wang L, Chen GC, Cai ZQ, Zhou YQ, Xing LN (2020) An improved ant colony optimization algorithm to the periodic vehicle routing problem with time window and service choice. Swarm Evol Comput 55:100675. https://doi.org/10.1016/j.swevo.2020.100675https://doi.org/10.1016/j.swevo.2020.100675

    Article  Google Scholar 

  17. Jiao DQ, Liu C, Li ZR, Wang DH (2021) An improved ant colony algorithm for tsp application. J Phys Conf Ser 1802:032067. https://doi.org/10.1088/1742-6596/1802/3/032067

    Article  Google Scholar 

  18. Jiang CY, Fu JF, Liu WY (2021) Research on vehicle routing planning based on adaptive ant colony and particle swarm optimization algorithm. Int J Intell Transp Syst Res 19:83–91. https://doi.org/10.1007/s13177-020-00224-3https://doi.org/10.1007/s13177-020-00224-3

    Google Scholar 

  19. Iwendi C, Maddikunta PKR, Gadekallu TR, Lakshmanna K, Bashir AK, Piran MJ (2020) A metaheuristic optimization approach for energy efficiency in the iot networks. Softw Prac Exper 51:2558–2571. https://doi.org/10.1002/spe.2797

    Article  Google Scholar 

  20. Agrawal S, Sarkar S, Alazab M, Maddikunta PKR, Gadekallu TR, Pham QV (2021) Genetic cfl: hyperparameter optimization in clustered federated learning. Comput Intell Neurosci 19:83–91. https://doi.org/10.1155/2021/7156420

    Article  Google Scholar 

  21. Ankita, Sahana SK (2022) Ba-pso: a balanced pso to solve multi-objective grid scheduling problem. Appl Intell 52:4015–4027. https://doi.org/10.1007/s10489-021-02625-7

    Article  Google Scholar 

  22. 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.107085https://doi.org/10.1016/j.asoc.2021.107085

    Article  Google Scholar 

  23. Zeng X, Nazir MS, Khaksar M, Nishihara K, Tao H (2021) A day-ahead economic scheduling of microgrids equipped with plug-in hybrid electric vehicles using modified shuffled frog leaping algorithm. J Energy Storage 33:102021. https://doi.org/10.1016/j.est.2020.102021https://doi.org/10.1016/j.est.2020.102021

    Article  Google Scholar 

  24. Xiao SY, Wang H, Wang WJ, Huang ZK, Zhou XY, Xu MY (2021) Artificial bee colony algorithm based on adaptive neighborhood search and gaussian perturbation. Appl Soft Comput 100:106955. https://doi.org/10.1016/j.asoc.2020.106955

    Article  Google Scholar 

  25. Zou WQ, Pan QK, Meng T, Gao L, Wang YL (2020) An effective discrete artificial bee colony algorithm for multi-agvs dispatching problem in a matrix manufacturing workshop. Expert Syst Appl 161:113675. https://doi.org/10.1016/j.eswa.2020.113675

    Article  Google Scholar 

  26. Sun YJ, Ma R, Chen JY, Xu T (2020) Heuristic optimization for grid-interactive net-zero energy building design through the glowworm swarm algorithm. Energy Build 208:109644. https://doi.org/10.1016/j.enbuild.2019.109644

    Article  Google Scholar 

  27. Salgotra R, Singh U, Saha S, Gandomi AH (2021) Self adaptive cuckoo search: analysis and experimentation. Swarm Evol Comput 60:100751. https://doi.org/10.1016/j.swevo.2020.100751

    Article  Google Scholar 

  28. Zhu F, Chen DB, Zou F (2021) A novel hybrid dynamic fireworks algorithm with particle swarm optimization. Soft Comput 25:2371–2398. https://doi.org/10.1007/s00500-020-05308-6

    Article  Google Scholar 

  29. Tan H, Zhu YC (2010) Fireworks algorithm for optimization. Int Conf Swarm Intell:355–364. https://doi.org/10.1007/978-3-642-13495-1_44

  30. Li JZ, Tan Y (2018) The bare bones fireworks algorithm: a minimalist global optimizer. Appl Soft Comput 62:454–462. https://doi.org/10.1016/j.asoc.2017.10.046

    Article  Google Scholar 

  31. Cheng R, Bai YP, Zhao Y, Tan XH, Xu T (2019) Improved fireworks algorithm with information exchange for function optimization. Knowl-Based Syst 163:82–90. https://doi.org/10.1016/j.knosys.2018.08.016https://doi.org/10.1016/j.knosys.2018.08.016

    Article  Google Scholar 

  32. He ZX, Pan YH, Wang KJ, Xiao LM, Wang X (2021) Area optimization for mprm logic circuits based on improved multiple disturbances fireworks algorithm. Appl Math Comput 399:126008. https://doi.org/10.1016/j.amc.2021.126008

    Article  MathSciNet  MATH  Google Scholar 

  33. Qiao ZM, Ke LJ, Zhang GW, Wang XQ (2021) Adaptive collaborative optimization of traffic network signal timing based on immune-fireworks algorithm and hierarchical strategy. Appl Intell 51:6951–6967. https://doi.org/10.1007/s10489-021-02256-y

    Article  Google Scholar 

  34. Elaziz MA, Li L, Jayasena KPN, Xiong SW (2020) Multiobjective big data optimization based on a hybrid salp swarm algorithm and differential evolution. Appl Math Model 80:929–943. https://doi.org/10.1016/j.apm.2019.10.069

    Article  MathSciNet  MATH  Google Scholar 

  35. Chen YL, He FZ, Zeng XT, Li HR, Liang YQ (2021) The explosion operation of fireworks algorithm boosts the coral reef optimization for multimodal medical image registration. Eng Appl Artif Intell 102:104252. https://doi.org/10.1016/j.engappai.2021.104252https://doi.org/10.1016/j.engappai.2021.104252

    Article  Google Scholar 

  36. Zhang XY, Xia S, Zhang T, Li XZ (2021) Hybrid fwps cooperation algorithm based unmanned aerial vehicle constrained path planning. Aerosp Sci Technol 118:107004. https://doi.org/10.1016/j.ast.2021.107004https://doi.org/10.1016/j.ast.2021.107004

    Article  Google Scholar 

  37. He LJ, Li WF, Zhang Y, Cao YL (2019) A discrete multi-objective fireworks algorithm for flowshop scheduling with sequence-dependent setup times. Swarm Evol Comput 51:100575. https://doi.org/10.1016/j.swevo.2019.100575

    Article  Google Scholar 

  38. Liu XJ, Qin XL (2021) A neighborhood information utilization fireworks algorithm and its application to traffic flow prediction. Expert Syst Appl 183:115189. https://doi.org/10.1016/j.eswa.2021.115189https://doi.org/10.1016/j.eswa.2021.115189

    Article  Google Scholar 

  39. Augerat P, Belenguer JM, Benavent E, Corberan A, Rinaldi G (1995) Computational results with a branch and cut code for the capacitated vehicle routing problem. Rapport de recherche - IMAG 495:1–12

    Google Scholar 

  40. Santillan JH, Tapucar S, Manliguez C, Calag V (2018) Cuckoo search via lévy flights for the capacitated vehicle routing problem. J Ind Eng Int 14:293–304. https://doi.org/10.1007/s40092-017-0227-5https://doi.org/10.1007/s40092-017-0227-5

    Article  Google Scholar 

  41. Lin N, Shi YJ, Zhang TL, Wang XP (2019) An effective order-aware hybrid genetic algorithm for capacitated vehicle routing problems in internet of things. IEEE Access 7:86102–86114. https://doi.org/10.1109/ACCESS.2019.2925831

    Article  Google Scholar 

  42. Matthopoulos PP, Sofianopoulou S (2019) A firefly algorithm for the heterogeneous fixed fleet vehicle routing problem. Int J Ind Syst Eng 33:204–224. https://doi.org/10.1504/IJISE.2019.102471

    Article  Google Scholar 

  43. Altabeeb AM, Mohsen AM, Ghallab A (2019) An improved hybrid firefly algorithm for capacitated vehicle routing problem. Appl Soft Comput 84:105728. https://doi.org/10.1016/j.asoc.2019.105728https://doi.org/10.1016/j.asoc.2019.105728

    Article  Google Scholar 

  44. Akpinar S (2016) Hybrid large neighbourhood search algorithm for capacitated vehicle routing problem. Expert Syst Appl 61:28–38. https://doi.org/10.1016/j.eswa.2016.05.023

    Article  Google Scholar 

  45. Thammano A, Rungwachira P (2021) Hybrid modified ant system with sweep algorithm and path relinking for the capacitated vehicle routing problem. Heliyon 7:e08029. https://doi.org/10.1016/j.heliyon.2021.e08029https://doi.org/10.1016/j.heliyon.2021.e08029

    Article  Google Scholar 

Download references

Acknowledgments

This work was supported by the Key Project of Ningxia Natural Science Foundation (2022AAC02043), the National Natural Science Foundation of China under Grant (11961001, 61561001), the Construction Project of First-class Subjects in Ningxia Higher Education (NXYLXK2017B09), the Major Proprietary Funded Project of North Minzu University (ZDZX201901).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yuelin Gao.

Additional information

Publisher’s note

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

Hongguang Wu and Wanting Wang contributed equally to this work.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Gao, Y., Wu, H. & Wang, W. A hybrid ant colony optimization with fireworks algorithm to solve capacitated vehicle routing problem. Appl Intell 53, 7326–7342 (2023). https://doi.org/10.1007/s10489-022-03912-7

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10489-022-03912-7

Keywords

Navigation