Abstract
We provide a new upper bound for the Traveling Salesman Problem (TSP) in cubic graphs—graphs with a maximum vertex degree of three. We prove that the problem for an $n$-vertex graph can be solved in $O(1.2553^n)$ time and linear space. This result is achieved by refining David Eppstein’s exact TSP algorithm and correcting several critical errors in previous literature that claimed a lower, but invalid, bound of $O(1.251^n)$.
Introduction
The Traveling Salesman Problem (TSP) is a cornerstone of combinatorial optimization: find the shortest possible route that visits every city exactly once and returns to the start. While the general version is NP-hard and typically solved in $O(2^n)$ time, researchers seek faster "exact" algorithms for specific graph classes. This paper focuses on cubic graphs, the simplest non-trivial cases for TSP, where the problem remains NP-complete. We establish a rigorous theoretical foundation for one of the fastest known exact solvers in this domain.
Algorithmic Approach
The authors base their work on Eppstein’s algorithm, a recursive branch-and-bound search. The algorithm works by selecting an edge and making two recursive calls: one where the edge is included in the tour (forced) and one where it is excluded (removed).
A minor but critical modification is introduced to the prioritization rules (specifically a new Step $3(a')$). This step targets "live 6-cycles"—hexagonal structures in the graph—to break down complex branching scenarios that previously led to poor worst-case analysis.
Analysis and Complexity
To prove the new bound, the authors utilize a sophisticated multivariate recurrence analysis. Instead of just counting vertices ($n$), they track several variables, including the number of "free" vertices and cycles, as well as specific branch types.
The "aha moment" of the proof lies in the categorization of recursive splits into A-branches and B-branches. The authors demonstrate that "B-branches" (which are computationally slower) are always accompanied by a certain number of faster "D-branches." By proving that bad branches cannot occur in isolation, they significantly tighten the overall time complexity.
Additionally, the introduction of "internal edges"—edges selected by the algorithm that are neither part of the current branch nor the forced cycle—allows for a more precise bound on the total number of recursive steps.
Key Results and Practical Performance
- Theoretical Bound: The algorithm is proven to run in $O(1.2553^n)$ time.
- Space Complexity: The algorithm requires only linear space, making it practical for standard hardware.
- Experimental Verification: Testing on random cubic graphs and $(3, g)$-cages reveals that the algorithm is much faster in practice than the theory suggests. On random graphs, the observed growth was closer to $O(1.15^n)$, significantly outperforming the theoretical worst-case.
Limitations and Future Work
A significant gap remains between the theoretical upper bound ($1.2553^n$) and experimental results ($1.15^n$). This suggests that current local analysis of branching paths does not fully capture the algorithm's global efficiency. Future work may involve a more holistic view of the search tree to potentially lower the theoretical bound further.
Summary updated