Abstract
Metaheuristics have been widely used to solve NP-hard problems, with excellent results. Among all NP-hard problems, the Travelling Salesman Problem (TSP) is potentially the most studied one. In this work, a variation of the TSP is considered; the main differences being, edges may have positive or negative costs and the objective is to return a Hamiltonian cycle with cost as close as possible to zero. This variation is called the balanced TSP (BTSP). To tackle this new problem, we present an adaptive variant of the iterated local search metaheuristic featuring also random restart. This algorithm was tested on the MESS2018 metaheuristic competition and achieved notable results, scoring the 5th position overall. In this paper, we detail all the components of the algorithm itself and present the best solutions identified. Even though this metaheuristic was tailored for the BTSP, with small modifications its structure can be applied to virtually any NP-hard problem. In particular, we introduce the uneven reward-and-punishment rule which is a powerful tool, applicable in many contexts where fast responses to dynamic changes are crucial.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
!! is double factorial, i.e. \(f!!= f \cdot (f-2)\cdot (f-4)..\).
In our case, \(10!!=3840\).
References
Lenstra, J.K.: Clustering a data array and the traveling-salesman problem. Oper. Res. 22(2), 413–414 (1974)
Lenstra, J.K., Kan, A.R.: Complexity of vehicle routing and scheduling problems. Networks 11(2), 221–227 (1981)
Lenstra, J.K., Kan, A.R.: Some simple applications of the travelling salesman problem. J. Oper. Res. Soc. 26(4), 717–733 (1975)
Hahsler, M., Hornik, K.: TSP-infrastructure for the traveling salesperson problem. J. Stat. Softw. 23(2), 1–21 (2007)
Whitley, L.D., Starkweather, T., Fuquay, D.: Scheduling problems and traveling salesmen: the genetic edge recombination operator. In: 3rd International Conference on Genetic Algorithms, vol. 89, pp. 133–140 (1989)
Caserta, M., Voß, S.: A hybrid algorithm for the DNA sequencing problem. Discret. Appl. Math. 163, 87–99 (2014)
Madsen, O.B.: An application of travelling-salesman routines to solve pattern-allocation problems in the glass industry. J. Oper. Res. Soc. 39(3), 249–256 (1988)
Juneja, S.S., Saraswat, P., Singh, K., Sharma, J., Majumdar, R., Chowdhary, S.: Travelling salesman problem optimization using genetic algorithm. In: 2019 Amity International Conference on Artificial Intelligence, pp. 264–268. IEEE (2019)
Dorigo, M., Gambardella, L.M.: Ant colonies for the travelling salesman problem. Biosystems 43(2), 73–81 (1997)
Escario, J.B., Jimenez, J.F., Giron-Sierra, J.M.: Ant colony extended: experiments on the travelling salesman problem. Expert Syst. Appl. 42(1), 390–410 (2015)
Toth, P., Vigo, D.: The granular tabu search and its application to the vehicle-routing problem. Inf. J. Comput. 15(4), 333–346 (2003)
Ribeiro, G.M., Laporte, G.: An adaptive large neighborhood search heuristic for the cumulative capacitated vehicle routing problem. Comput. Oper. Res. 39(3), 728–735 (2012)
Ropke, S., Pisinger, D.: An adaptive large neighborhood search heuristic for the pickup and delivery problem with time windows. Transp. Sci. 40(4), 455–472 (2006)
Shaw, P.: A new local search algorithm providing high quality solutions to vehicle routing problems. APES Group, Department of Computer Science, University of Strathclyde, Glasgow, Scotland, UK (1997)
Geng, X., Chen, Z., Yang, W., Shi, D., Zhao, K.: Solving the traveling salesman problem based on an adaptive simulated annealing algorithm with greedy search. Appl. Soft Comput. 11(4), 3680–3689 (2011)
Malek, M., Guruswamy, M., Pandya, M., Owens, H.: Serial and parallel simulated annealing and tabu search algorithms for the traveling salesman problem. Ann. Oper. Res. 21(1), 59–84 (1989)
Johnson, D.S.: Local optimization and the traveling salesman problem. In: International Colloquium on Automata, Languages, and Programming, pp. 446–461. Springer (1990)
Voudouris, C., Tsang, E.: Guided local search and its application to the traveling salesman problem. Eur. J. Oper. Res. 113(2), 469–499 (1999)
Paquete, L., Stützle, T.: A two-phase local search for the biobjective traveling salesman problem. In: International Conference on Evolutionary Multi-Criterion Optimization, pp. 479–493. Springer (2003)
Lourenço, H.R., Martin, O.C., Stützle, T.: Iterated local search. In: Handbook of Metaheuristics, pp. 320–353. Springer (2003)
Garey, M., Johnson, D., Tarjan, R.: The planar Hamiltonian circuit problem is NP-complete. SIAM J. Comput. 5(4), 704–714 (1976)
Baniasadi, P., Ejov, V., Filar, J.A., Haythorpe, M., Rossomakhine, S.: Deterministic “Snakes and Ladders” Heuristic for the Hamiltonian cycle problem. Math. Program. Comput. 6(1), 55–75 (2014)
Snake and Ladders Heuristic. http://www.flinders.edu.au/science_engineering/csem/research/programs/flinders-hamiltonian-cycle-project/slhweb-interface.cfm. Accessed 01 Aug 2018
MESS Competition. https://195.201.24.233/mess2018/home.html. Accessed 01 Aug 2018
Acknowledgement
The authors want to thank the organisers of the MESS2018 summer school for the challenging opportunity they offered us. The first author wants to acknowledge the DIAMANT mathematics cluster for partially funding his work.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Pierotti, J., Ferretti, L., Pozzi, L., van Essen, J.T. (2021). Adaptive Iterated Local Search with Random Restarts for the Balanced Travelling Salesman Problem. In: Greco, S., Pavone, M.F., Talbi, EG., Vigo, D. (eds) Metaheuristics for Combinatorial Optimization. MESS 2018. Advances in Intelligent Systems and Computing, vol 1332. Springer, Cham. https://doi.org/10.1007/978-3-030-68520-1_4
Download citation
DOI: https://doi.org/10.1007/978-3-030-68520-1_4
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-68519-5
Online ISBN: 978-3-030-68520-1
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)