A Heuristic Algorithm Based on Tour Rebuilding Operator for the Traveling Salesman Problem

Professor Junbin GaoarXiv 2019

TL;DR

This paper introduces a novel heuristic algorithm for the Traveling Salesman Problem (TSP) that utilizes a "tour rebuilding operator" to overcome the limitations of traditional improvement algorithms, namely slow convergence and getting stuck in local optima. The proposed method demonstrates strong global search capabilities and significantly improves upon existing best-known solutions for a substantial portion of tested TSP instances.

What Problem Does This Paper Address?

The Traveling Salesman Problem (TSP) is a classic NP-complete problem in combinatorial optimization, meaning that finding the absolute optimal solution becomes computationally infeasible as the number of cities increases. While exact algorithms exist, their exponential time complexity makes them impractical for real-world scenarios. Consequently, researchers focus on approximate algorithms. These are broadly categorized into tour construction (generating an initial tour) and tour improvement (refining an existing tour).

Traditional tour improvement algorithms, while capable of finding better solutions than construction methods, suffer from slow convergence and a tendency to get trapped in local optima. Combining construction with improvement algorithms can speed up convergence but often fails to improve solution quality. This paper aims to address this by developing a tour improvement algorithm that offers both rapid convergence and powerful global search, effectively mitigating the local optima problem.

Methods

The core innovation of this paper is the "tour rebuilding operator," which differs from traditional improvement operators (like k-opt) by rebuilding the tour point-by-point based on the existing sequence. This process is designed to generate a significantly different tour, reducing the probability of getting stuck in local optima. Crucially, the operator guarantees that the cost of the rebuilt tour is no worse than the original.

The algorithm employs a dynamic programming-inspired approach using a dictionary structure (Dict) to store tours associated with specific edges. The "Weak Recursive process based on point insertion" (WRIP) is introduced, which iteratively builds up optimal sub-tours. Algorithm 1 outlines the pseudocode for this tour rebuilding operator, which has an approximate time complexity of O(n^4). Algorithm 2 describes the iterative scheme for tour improvement, where the rebuilding operator is repeatedly applied until a tour is repeated, indicating convergence. An archive is used to record visited tours to prevent infinite loops.

Datasets

The experiments were conducted using 40 instances from the TSPLIB, a well-known benchmark library for TSP instances. Specifically, the paper focuses on instances with no more than 150 points.

Key Insights and Ideas

  • Tour Rebuilding for Global Search: The fundamental idea is that by completely rebuilding a tour point-by-point, rather than making small local adjustments, the algorithm can escape local optima and explore a wider solution space.
  • Guaranteed Improvement (or No Degradation): The operator's design ensures that the new tour is never worse than the previous one, making it a reliable improvement mechanism.
  • Dynamic Programming Inspiration: The use of a dictionary to store and build optimal sub-tours draws inspiration from dynamic programming principles, allowing for a structured approach to tour construction.
  • Effectiveness on Challenging Instances: The results suggest that even well-studied, relatively small TSP instances can still yield improvements, indicating that existing algorithms may not be perfectly optimized for all cases.

Key Results

The proposed heuristic algorithm was tested on 40 TSPLIB instances with up to 150 points. The results were highly impressive:

  • The algorithm refreshed the best-known optimum for 22 instances.
  • It obtained the best-known optimum for the remaining 18 instances.
  • For the 22 instances where the best-known optimum was refreshed, the worst solution found by the algorithm in any run outperformed the previously known best optimum.

Limitations and Future Work

The authors acknowledge that the current algorithm has a time complexity of approximately O(n^4), which could be a limitation for very large instances.

Future work includes:

  • Parallel Computing: Shortening the time consumption by leveraging parallel computing techniques.
  • Practical Applications: Applying the algorithm to real-world TSP scenarios.
  • Hybridization: Combining the tour rebuilding idea with other intelligent computing methods to explore new research avenues.

Summary updated

Abstract

TSP (Traveling Salesman Problem), a classic NP-complete problem in combinatorial optimization, is of great significance in multiple fields. Exact algorithms for TSP are not practical due to their exponential time cost. Thus, approximate algorithms become the research focus and can be further divided into two types, tour construction algorithms and tour improvement algorithms. Researches show that the latter type of algorithms can obtain better solutions than the former one. However, traditional tour improvement algorithms have shortcomings. They converge very slowly and tend to be trapped in local optima. In practice, tour construction algorithms are often used in initialization of tour improvement algorithms to speed up convergence. Nevertheless, such a combination leads to no improvement on quality of solutions. In this paper, a heuristic algorithm based on the new tour rebuilding operator is proposed. The algorithm features rapid convergence and powerful global search. In the experiments based on 40 instances in TSPLIB, the best known solutions of 22 instances are refreshed by the proposed method. Meanwhile, the best known solutions of the other 18 instances are obtained.
BibTeX
@misc{gao2019heuristic,
  author = {Professor Junbin Gao},
  title = {{A Heuristic Algorithm Based on Tour Rebuilding Operator for the Traveling Salesman Problem}},
  year = {2019},
  eprint = {1911.01663},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.01663},
}
Figure