This paper investigates a critical bottleneck in one of the most powerful tools for solving the Traveling Salesperson Problem (TSP): the Lin-Kernighan-Helsgaun (LKH) heuristic. By rethinking how the algorithm "prunes" its search space, the authors demonstrate an order-of-magnitude performance improvement, bringing LKH back to the cutting edge of TSP solving.
TL;DR
The authors identify that LKH’s frequent timeouts are often caused by its reliance on tree-based "candidate sets" that miss essential edges of the optimal tour. By switching to Hamiltonian circuit-based candidate sets generated via the POPMUSIC metaheuristic and integrating them into a restart mechanism, they achieve a 10x improvement in penalized average runtime.
What Problem Does This Paper Address?
The Traveling Salesperson Problem (TSP) is a cornerstone of combinatorial optimization. While exact solvers like Concorde guarantee optimality, they can be slow. Heuristic solvers like LKH and EAX (Edge Assembly Crossover) are preferred for speed, but LKH has a known weakness: it frequently times out on certain "hard" instances.
The authors pinpoint the culprit: Candidate Sets. To handle large problems, LKH doesn't look at every possible edge between cities. Instead, it creates a "candidate set" of promising edges. Traditionally, LKH uses $\alpha$-nearness, a metric based on minimum 1-trees (a spanning tree plus one edge to form a cycle).
The problem is that a tree structure is fundamentally different from a Hamiltonian circuit (a tour). If the candidate set is missing even a few edges required for the optimal tour, LKH struggles to find the solution, regardless of how many times the search is restarted.
Methods
The researchers propose moving away from tree-based candidate sets in favor of sets derived from actual tours (Hamiltonian circuits). They explore two main approaches:
- 2-opt Population: Generating 1,000 locally optimal tours using the 2-opt operator and building a candidate set from the most frequent edges found in those tours.
- POPMUSIC (Partial OPtimization Metaheuristic Under Special Intensification Conditions): A more scalable metaheuristic that optimizes sub-paths of a tour.
Crucially, they integrate these into a restart version of LKH. In the most successful variant ($LKH_{pop, restart}$), the candidate set is reinitialized at every restart. This ensures that if one candidate set is missing a vital edge, the next one likely won't be.
Datasets
The study utilizes a massive benchmark of 10,000 evolved TSP instances (ranging from 500 to 2,000 nodes). These instances were specifically generated in prior research to be "LKH-unfriendly" or "EAX-unfriendly," making them the perfect stress test for identifying why LKH fails where other algorithms succeed.
Key Insights and Ideas
- The "Missing Edge" Trap: The authors show a direct correlation between the number of missing optimal edges in a candidate set and LKH's failure rate. Even in a tiny 5-node problem, a bad candidate set can lead to a timeout.
- Trees vs. Circuits: Minimum 1-trees are excellent approximations, but they lack the "degree-2" constraint of a tour (where every city must have exactly two edges). Hamiltonian circuit-based sets (like those from 2-opt or POPMUSIC) are much more likely to contain the "long-distance" edges that tree-based methods prune away.
- Diversity via Restarts: A fixed candidate set is a single point of failure. By regenerating the candidate set during restarts, the algorithm explores a much more diverse search space.
Key Results
- Massive Speedup: The proposed $LKH_{pop, restart}$ variant outperformed the standard $LKH_{\alpha}$ by an order of magnitude in terms of Penalized Average Runtime (PAR10).
- Timeout Reduction: On instances where the standard LKH frequently timed out (especially those designed to be "EAX-friendly"), the new variant solved nearly all of them within the time limit.
- State-of-the-Art Contender: The refined LKH now challenges EAX as the state-of-the-art heuristic solver, showing true performance complementarity.
Limitations and Future Work
The authors note that while their method is highly effective, it does introduce some initialization overhead (though they argue this is negligible compared to the search time saved).
Future research directions include:
- Optimizing the POPMUSIC candidate set creation further.
- Investigating if similar "initial tour" biases exist in the EAX algorithm.
- Using these insights to build better algorithm selectors that can predict which candidate set strategy will work best for a given TSP instance without knowing the optimal tour in advance.
Summary updated