Introduction
The Traveling Salesman Problem (TSP) remains a cornerstone of combinatorial optimization. While modern solvers perform admirably on small-to-medium instances, scaling to tens of thousands of cities presents significant challenges. Traditional neural methods often suffer from memory explosion due to $O(n^2)$ heatmap dependencies, while decomposition-based approaches frequently fail to maintain global coherence, leading to suboptimal solutions. This paper introduces HyperNS (Hyper Tour Guided Neighborhood Search), a framework designed to overcome these bottlenecks through high-level abstraction and targeted optimization.
Methodology
HyperNS employs a "clustering-first, route-second" strategy to manage complexity without losing the global perspective. The framework operates in three distinct phases:
- Sparse Heatmap Construction: Utilizing an enhanced Graph Convolutional Network (Att-GCRN-GI), the system predicts edge probabilities while incorporating geometric features like triangle areas. A sampling-then-aggregate approach ensures memory complexity remains at $O(n)$, making large-scale instances tractable.
- Hyper Tour Generation: Cities are partitioned into clusters based on the sparse heatmap, with each cluster treated as a supernode. A high-level "Hyper Tour" is then solved over these supernodes, providing a skeletal global guide for the entire route.
- Targeted Neighborhood Search: Guided by the Hyper Tour, the system executes a "destroy-and-repair" optimization. It identifies likely suboptimal connections between clusters and applies a targeted Lin-Kernighan (LK) search to refine these specific regions.
Experimental Setup
The model was evaluated across a diverse set of benchmarks:
- Synthetic Data: Uniformly distributed instances from 1,000 to 50,000 cities.
- Real-World Benchmarks: Collections from TSPLIB, Nationallib, and VLSI, including the
ch71009instance with over 71,000 cities. - Cross-Distribution Testing: Evaluation on "clustered," "explosion," and "implosion" distributions to verify robustness against irregular city placements.
Results and Discussion
HyperNS demonstrates superior scalability and efficiency compared to both traditional and recent neural solvers. Key findings include:
- Scalability and Quality: On the 71,009-city benchmark, HyperNS achieved an optimality gap of only 3.68%, outperforming other neural methods like DualOpt.
- Computational Speed: For TSP50K instances, HyperNS proved to be approximately 5x faster than the industry-standard LKH3 solver while maintaining competitive solution quality.
- Robustness: Unlike many neural models that degrade when moving from uniform to clustered distributions, HyperNS remained stable, showcasing the benefit of its global structural guidance.
Ablation studies further highlight the importance of the Hyper Tour; its inclusion alone reduced the optimality gap by 88.9% compared to standard greedy initialization. By moving from $O(n^2)$ to $O(n)$ memory complexity, HyperNS allows neural methods to finally compete on massive datasets that previously exceeded hardware limits.
Conclusion
HyperNS represents a significant advancement in solving large-scale TSP by combining the strengths of neural geometric learning with structured global abstraction. While the current implementation relies on sequential processing and traditional local search units, future work focusing on parallelization could further unlock the potential for instances exceeding 100,000 cities. The framework's ability to maintain a "big picture" view through the Hyper Tour effectively solves the coordination issues that have long plagued decomposition-based neural solvers.
Summary updated