A Hybrid Local Search and Genetic Algorithm with Enhanced Population Initialization for the Traveling Salesman Problem
Main Article Content
Abstract
The Traveling Salesman Problem (TSP) remains a fundamental NP-hard combinatorial optimization challenge with significant theoretical and practical implications. While Genetic Algorithms (GAs) have demonstrated considerable promise for solving TSP instances, their performance is often hindered by poor initial population quality, leading to slow convergence and suboptimal solutions, particularly for large-scale problems. This paper presents a novel Hybrid Local Search and Genetic Algorithm (HLGA) that addresses these limitations through strategic population initialization. The proposed approach synergistically combines high-quality solutions generated by 2-opt and 3-opt local search heuristics with diversity-enhancing random permutations to create an enriched initial population. This hybrid initialization strategy accelerates convergence while maintaining solution space exploration capabilities. Comprehensive experiments conducted on 27 TSPLIB benchmark instances (30-200 cities) demonstrate HLGA's superior performance compared to standalone 3-opt heuristics and five state-of-the-art algorithms (GGSC-SSA, SCGA, IMODE/J2020, ACO-DSA, and RL-SA). Notably, HLGA achieves or surpasses the Best-Known Solution (BKS) for 11 instances, with an overall average relative error of 9.22%—significantly outperforming the 3-opt baseline (83.91%). These results validate that integrating targeted local search into population initialization substantially enhances both convergence speed and solution quality, establishing HLGA as a competitive and scalable approach for large-scale TSP optimization
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
This journal provides immediate open access to its content on the principle that making research freely available to the public supports a greater global exchange of knowledge.
- Creative Commons Copyright License
The journal allows readers to download and share all published articles as long as they properly cite such articles; however, they cannot change them or use them commercially. This is classified as CC BY-NC-ND for the creative commons license.
- Retention of Copyright and Publishing Rights
The journal allows the authors of the published articles to hold copyrights and publishing rights without restrictions.
References
G. K. D. Saharidis, “Review of Solution Approaches for the Symmetric Traveling Salesman Problem,” International Journal of Information Systems and Supply Chain Management, vol. 7, no. 1, pp. 73-87, Jan. 2014.
P. C. Pop, O. Cosma, C. Sabo, and C. P. Sitar, “A comprehensive survey on the generalized traveling salesman problem,” European Journal of Operational Research, vol. 314, no. 3, pp. 819-835, May. 2024.
C. Wu, X. Fu, J. Pei, and Z. Dong, “A novel sparrow search algorithm for the traveling salesman problem,” IEEE Access, vol. 9, pp.153456-153471, Nov. 2021.
Y. Deng, J. Xiong, and Q. Wang, “A hybrid cellular genetic algorithm for the traveling salesman problem,” Mathematical Problems in Engineering, vol. 2021, pp. 1-16, Feb. 2021.
P. Krömer and V. Uher, “Optimization of real-world supply routes by nature-inspired metaheuristics,” in Proceeding of the IEEE Congress on Evolutionary Computation (CEC), Padua, Italy, Sep. 2022, pp. 1-10.
T. Hao, W. Yingnian, Z. Jiaxing, and Z. Jing, “Study on a hybrid algorithm combining enhanced ant colony optimization and double improved simulated annealing via clustering in the traveling salesman problem,” PeerJ Computer Science, vol. 9, e1609, Oct. 2023.
F. J. Gil-Gala, M. Durašević, M. R. Sierra, and R. Varela, “Evolving ensembles of heuristics for the travelling salesman problem,” Natural Computing, vol. 22, pp. 671-684, Oct. 2023.
L. Hong, Y. Liu, M. Xu, and W. Deng, “Combining deep reinforcement learning with heuristics to solve the traveling salesman problem,” Chinese Physics B, vol. 34, no. 1, p. 018705-1-11, Jan. 2025.
D. C. Diana, and R. Hema, “Swarm Intelligence Based MMSE Frequency Domain Equalization for MIMO Systems,” ECTI Transactions on Electrical Engineering, Electronics, and Communications, vol. 21, no. 2, pp. 1-10, Jun. 2023.
S. Kumari and R. K. Mandal, “Whale Optimization Algorithm Based Closed-Loop Control Z-source Inverter for Wind Energy Application,” ECTI Transactions on Electrical Engineering, Electronics, and Communications, vol. 22, no. 2, pp. 1-12, Jun. 2024.
W. Teekeng and A. Thammano, “Modified genetic algorithm for flexible job-shop scheduling problems,” Procedia Computer Science, vol. 12, 2012, pp. 122-128.
N. Kafakthong and K. Sinapiromsaran, “Near-Optimal Traveling Salesman Solution with Deep Attention,” International Journal of Advanced Computer Science & Applications, vol. 15, no. 12, pp. 954-963, 2024.
J. Sui, S. Ding, R. Liu, L. Xu, and D. Bu, “Learning 3-opt heuristics for traveling salesman problem via deep reinforcement learning,” in Proceedings of The 13th Asian conference on Machine Learning Research vol. 157, 2021, pp. 1301-1316.
E. O. Asani, A. E. Okeyinka, S. A. Ajagbe, A. A. Adebiyi, R. O. Ogundokun, T. S. Adekunle, P. Mudali, and M. O. Adigun, “A Novel Insertion Solution for the Travelling Salesman Problem,” Computers, materials and continua, vol. 79, no. 1, pp. 1581-1597, 2024.
V. Pacheco-Valencia, J. A. Hernández, J. M. Sigarreta, and N. Vakhania, “Simple Constructive, Insertion, and Improvement Heuristics Based on the Girding Polygon for the Euclidean Traveling Salesman Problem,” Algorithms, vol. 13, no. 1, Dec. 2020.
D. E. Knuth, The art of computer programming, Volume 3: Sorting and searching, Addison-Wesley, Reading, MA, 1973.
G. A. Croes, “A method for solving traveling-salesman problems,” Operations research, vol. 6, no. 6, pp. 791-812, Nov. 1958.
S. Kefi, N. Rokbani, P. Krömer and A. M. Alimi, "Ant supervised by PSO and 2-Opt algorithm, AS-PSO-2Opt, applied to Traveling Salesman Problem," in 2016 IEEE International Conference on Systems, Man, and Cybernetics (SMC), Budapest, Hungary, 2016, pp. 004866-004871.
D. E. Goldberg, Genetic Algorithms in Search, Optimization and Machine Learning, Addison-Wesley, Reading, MA, 1989.
A. Thammano, and W. Teekeng, “A modified genetic algorithm with fuzzy roulette wheel selection for job-shop scheduling problems.” International Journal of General Systems, vol. 44, no. 4, pp. 499-518, 2015.
Z. Lin and J. Li, “A hybrid genetic algorithm with cycle reassembly for solving colored traveling salesman problems,” Journal of King Saud University
– Computer and Information Sciences, 2023.
A. J. Ibada, B. Tűű-Szabó, and L. T. Kóczy, “The
Circle Group Heuristic to Improve the Efficiency
of the Discrete Bacterial Memetic Evolutionary
Algorithm Applied for TSP, TRP, and TSPTW,”
Symmetry, vol. 17, no. 10, p. 1683, 2025.
D. R. Singh, “Using Group Theory to Generate Initial
Population for a Genetic Algorithm for Solving
Traveling Salesman,” in Genetic Algorithms Theory,
Design and Programming, IntechOpen, 2023.
Y. Wang, Y. Chen, and Y. Lin, “Memetic algorithm
based on sequential variable neighborhood descent
for the minmax multiple traveling salesman
problem,” Computers & Industrial Engineering, vol.
, pp. 105–122, 2017.
A. M. H. Al-Ibrahim, “Solving Traveling Salesman
Problem (TSP) by Hybrid Genetic Algorithm
(HGA),” International Journal of Advanced Computer
Science and Applications, vol. 11, no. 6, 2020.
G. Reinelt, “TSBLIB - A traveling salesman problem
library”, ORSA journal on computing, vol. 3, no.
, pp. 267-384, Nov. 1991.