40. Comparative Performance of Metaheuristic Algorithms for the Travelling Salesman Problem

Authors

Keywords:

TSP, Metaheuristics, PSO, ACO, Firefly, Local search

Abstract

This paper studies the Travelling Salesman Problem (TSP) in the context of real world route optimization across major cities in North Macedonia. TSP is a classical NP-hard combinatorial optimization problem, meaning that exact methods become impractical as the number of cities increases and the search space grows rapidly. For such problems, population based evolutionary and swarm inspired metaheuristics are especially suitable, as they can explore large solution spaces stochastically, balance exploration and exploitation, and produce high quality solutions without exhaustive search. In this work, we conduct a comparative study of three metaheuristic approaches adapted to the permutation-based structure of TSP, Ant Colony Optimization (ACO), permutation based Particle Swarm Optimization (PSO), and the Firefly Algorithm. The optimization objective is defined using a travel time matrix, while geographic coordinates are used only for visualization of the resulting tours. In addition to baseline versions, the algorithms are evaluated in hybrid variants that incorporate 2-opt local search as a refinement step. The experimental analysis focuses on convergence behavior and final tour quality over repeated runs under a consistent and fair evaluation setup, and results are additionally compared against a strong reference solution. The study demonstrates how different optimization strategies behave on the same routing instance and highlights the importance of hybridizing global search with local refinement.

Downloads

Published

2026-09-24