Comparison of Simulated Annealing and Ant Colony Optimization in Solving the Traveling Salesman Problem
Comparison of Simulated Annealing and Ant Colony Optimization in Solving the Traveling Salesman Problem
Soheil Rezashoar1 Morteza Mohammadi Zanjireh2
1) PhD Student, Department of Transportation Planning, Faculty of Engineering, Imam Khomeini International University, Qazvin, Iran.
2) Assistant Professor, Department of Computer Engineering, Faculty of Engineering, Imam Khomeini International University, Qazvin, Iran.
IOI Code
:
XKHB-AZEZDA
Publication :
Annual Conference on Hekmat-Based Architecture, Urban Development, Art, Industrial Design, Construction and Technology(icahu.com)
Abstract :
The Traveling Salesman Problem (TSP) is a highly researched optimization issue in the fields of computer science and computational mathematics, as an optimal solution has yet to be found. This algorithmic issue requires finding the optimal route that visits each city in a given list exactly once while minimizing the total distance traveled. The route should also return to the starting location. This research aims to undertake a comparison study to assess and analyze the efficacy of two algorithms, namely Simulated Annealing (SA) and Ant Colony Optimization (ACO). Given that the TSP falls under the category of computing problems that are classified as NP-hard, our analysis will focus on both the time it takes to execute these algorithms and the shortest distance they compute. Based on the results obtained, it was determined that ACO is the optimal choice when optimizing for the shortest distance. In contrast, SA is preferable when considering pure execution time and complexity.
Keywords : metaheuristic optimization combinatorial traveling salesman problem tsp simulated annealing sa ant colony optimization aco