arXiv:2610.41178cs.DSOct 2026

Manuscript Offprint

arXiv:2610.41178

Traveling Salesman Problem on Graphs with Proportional Independent Set

Ethan X. Fang, Shengtao Guo, Junwei Lu, Yuan Yao

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We give a deterministic algorithm for minimum-cost Hamiltonian cycle in undirected graphs with arbitrary real edge costs and an independent set of size at least αn\alpha n, for any fixed 3/7<α≤1/23/7 < \alpha \leq 1/2. It runs in O∗(γ(α)n)O^*(\gamma(\alpha)^n) time for an explicit constant γ(α)<2\gamma(\alpha) < 2; for bipartite graphs, the bound is O∗((1+22)n/2)≈O∗(1.957n)O^*((1+2\sqrt{2})^{n/2}) \approx O^*(1.957^n). The algorithm is based on a restricted Held-Karp dynamic program. Its state enumeration uses structural properties of minimum-cost assignments arising from a regular triangulation of a product of simplices.

1 Introduction

In the traveling salesman problem (TSP), one is given an undirected graph with real edge costs and seeks a Hamiltonian cycle, or tour, of minimum total cost. The dynamic program (DP) of Bellman [Bel62] and of Held and Karp [HK62] solves the problem in O(n22n)O(n^2 2^n) time by storing the cheapest path from a fixed start for each visited vertex set and endpoint. Cook [Coo12] asks the question of whether the exponential base 2 can be reduced for arbitrary costs; see also the earlier survey of Woeginger [Woe03] and Nederlof's formulation [Ned20, Open Question 1].

Several faster algorithms exploit restrictions on the input graph or its edge costs. Stoian [Sto24] improves the general TSP bound to 2nn2/2Ω(log⁡n)2^n n^2 / 2^{\Omega(\sqrt{\log n})} by batching DP transitions into min-plus matrix products, without reducing the exponential base. For graphs of maximum degree three, Eppstein [Epp07] gives an O∗(2n/3)O^*(2^{n/3}) algorithm that also handles edge costs. More generally, Björklund, Husfeldt, Kaski, and Koivisto [BHKK12] obtain fixed-base improvements for bounded-degree graphs by trimming DP states. Rank-based dynamic programming of Bodlaender, Cygan, Kratsch, and Nederlof [BCKN15] gives deterministic algorithms for weighted connectivity problems, including TSP, on graphs of bounded treewidth; the matching-connectivity framework of Cygan, Kratsch, and Nederlof [CKN18] is also used in subsequent work on bipartite TSP. For Hamiltonicity without edge costs, Björklund [Bjö14] gives an O∗(1.657n)O^*(1.657^n) randomized algorithm, whose extension to integer costs incurs a factor depending on the cost range. More recently, Stoian [Sto26] transfers such unweighted speedups to TSP when the set of edge costs has bounded doubling, a restriction not imposed here. For bipartite graphs with arbitrary real costs, Nederlof [Ned20] gives a randomized O(1.9999n)O(1.9999^n) algorithm assuming nearly quadratic time matrix multiplication.

In this paper, we give a deterministic improvement for bipartite graphs and, more generally, for graphs with a sufficiently large independent set. Throughout, O∗(⋅)O^*(\cdot) suppresses factors polynomial

*Corresponding author. Department of Biostatistics, Harvard T.H. Chan School of Public Health, Boston, MA 02115, USA. Email: yyao1@hsph.harvard.edu.

in nn in the exact arithmetic model; for binary-encoded rational costs it also suppresses factors polynomial in the input bit length. For 3/7<α≤1/23/7 < \alpha \leq 1/2, define

γ(α)=min⁡z≥122α−1(2+z+z2)1−αz−α.(1.1)\gamma(\alpha)=\min_{z\geq 1}2^{2\alpha-1}(2+z+z^2)^{1-\alpha}z^{-\alpha}. \tag{1.1}

Theorem 1.1. Fix α∈(3/7,1/2]\alpha \in (3/7, 1/2]. Given an undirected nn-vertex graph with real edge costs and containing an independent set of size at least αn\alpha n, a deterministic algorithm finds a minimum-cost Hamiltonian cycle or reports that none exists in O∗(γ(α)n)O^*(\gamma(\alpha)^n) time. It accesses the input costs only through additions and comparisons, and γ(α)<2\gamma(\alpha) < 2.

Here α\alpha is fixed independently of nn. We describe the algorithm with a suitable independent set RR supplied; RR can be obtained within the same time bound if needed.

At α=1/2\alpha = 1/2, the minimum in (1.1) occurs at z=2z = \sqrt{2}, giving γ(1/2)=1+22=1.956636…\gamma(1/2) = \sqrt{1 + 2\sqrt{2}} = 1.956636\ldots. A bipartite graph with a tour has equally sized parts, so we obtain the following consequence.

Corollary 1.2. Minimum-cost Hamiltonian cycle in an undirected bipartite graph with arbitrary real costs can be solved deterministically in O∗((1+22)n/2)O^*((1+2\sqrt{2})^{n/2}) time.