Skip to main content
QUICK REVIEW

[Paper Review] A Linear Time Algorithm for the $3$-neighbour Traveling Salesman Problem on Halin graphs and extensions

Brad Woods, Abraham P. Punnen|arXiv (Cornell University)|Apr 8, 2015
Vehicle Routing Optimization MethodsEngineering25 references5 citations
TL;DR

This paper presents a linear-time algorithm for solving the 3-neighbour Traveling Salesman Problem (TSP(k)) on Halin graphs, extending prior work on k=1 and k=2. By modeling edge interactions within k-hop neighborhoods and using a dynamic programming approach on fan-like substructures, the authors achieve optimal solutions in O(n) time, with extensions to k=O(log n) and fully reducible graph classes.

ABSTRACT

The Quadratic Travelling Salesman Problem (QTSP) is to find a least cost Hamilton cycle in an edge-weighted graph, where costs are defined on all pairs of edges contained in the Hamilton cycle. This is a more general version than the commonly studied QTSP which only considers pairs of adjacent edges. We define a restricted version of QTSP, the $k$-neighbour TSP (TSP($k$)), and give a linear time algorithm to solve TSP($k$) on a Halin graph for $k\leq 3$. This algorithm can be extended to solve TSP($k$) on any fully reducible class of graphs for any fixed $k$ in polynomial time. This result generalizes corresponding results for the standard TSP. TSP($k$) can be used to model various machine scheduling problems as well as an optimal routing problem for unmanned aerial vehicles (UAVs).

Motivation & Objective

  • To develop an efficient algorithm for the k-neighbour TSP (TSP(k)) on Halin graphs, where edge costs depend on their relative positions in the tour.
  • To extend existing linear-time algorithms for TSP(1) and TSP(2) to the case k=3, addressing a broader class of edge interaction costs.
  • To generalize the approach to solve TSP(k) in polynomial time for k=O(log n) on Halin graphs and to explore its applicability to fully reducible graph classes.
  • To model real-world applications such as UAV routing and bioinformatics (Permuted Variable Length Markov Models) with more realistic cost functions than standard TSP.

Proposed method

  • Define k-neighboring edges as pairs connected by a shortest path of exactly k edges along a tour, forming the basis for cost computation.
  • Introduce a penalty function q(e₁,…,eₖ) that aggregates pairwise costs q(eᵢ,eⱼ) for all pairs within a k-edge subpath, weighted by inverse distance to balance influence.
  • Use a recursive decomposition strategy based on 3-edge cutsets, contracting irreducible subgraphs (e.g., fans) into pseudonodes while preserving tour cost information.
  • Apply dynamic programming on the resulting fan structures, computing minimal cost traversals using a modified pseudo-fan strategy.
  • Store and propagate tour information through penalty functions at contracted nodes, enabling bottom-up computation of optimal tours.
  • Prove that solving the simplified TSP(k) problem (STSP(k)) yields the same optimal solution as the original TSP(k), ensuring correctness of the approach.

Experimental results

Research questions

  • RQ1Can the 3-neighbour TSP (TSP(3)) on Halin graphs be solved in linear time, extending the known linear-time results for TSP(1) and TSP(2)?
  • RQ2What is the computational complexity of TSP(k) on Halin graphs when k grows as O(log n), and can it still be solved in polynomial time?
  • RQ3Can the algorithmic framework be generalized to other graph classes that are fully reducible via 3-edge cutsets, preserving polynomial-time solvability?
  • RQ4How do edge interaction costs within k-hop neighborhoods affect the structure and optimality of TSP tours, and can they model practical constraints like UAV momentum or flight smoothness?
  • RQ5Is there a reduction from TSP(k) on reducible graphs to solving TSP(k) on irreducible components, and can this be done efficiently using penalty functions on contracted nodes?

Key findings

  • A linear-time algorithm is presented for solving TSP(3) on Halin graphs, achieving O(n) time complexity by exploiting the graph’s fan-based structure and dynamic programming.
  • The algorithm extends to TSP(k) for k=O(log n), maintaining polynomial-time complexity due to the bounded growth of required penalty functions.
  • The solution to STSP(k) — a simplified version of TSP(k) — is proven to be equivalent to the original TSP(k), ensuring correctness of the approach.
  • The method generalizes to fully k-reducible graph classes, where irreducible components (e.g., fans) are contracted and solved recursively using polynomial-time subroutines.
  • The framework supports applications in UAV routing and bioinformatics, modeling flight smoothness and variable-length Markov dependencies via k-neighbour edge costs.
  • The algorithm’s efficiency stems from a recursive contraction strategy that reduces graph size by r nodes per operation in O(P(r)) time, leading to overall polynomial time complexity for fixed k.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.