Skip to main content
Springer logoLink to Springer
. 2017 May 18;259(1):21–34. doi: 10.1007/s10479-017-2513-4

The multi-stripe travelling salesman problem

Eranda Çela 1,, Vladimir G Deineko 2, Gerhard J Woeginger 3
PMCID: PMC5691149  PMID: 29200584

Abstract

In the classical Travelling Salesman Problem (TSP), the objective function sums the costs for travelling from one city to the next city along the tour. In the q-stripe TSP with q1, the objective function sums the costs for travelling from one city to each of the next q cities in the tour. The resulting q-stripe TSP generalizes the TSP and forms a special case of the quadratic assignment problem. We analyze the computational complexity of the q-stripe TSP for various classes of specially structured distance matrices. We derive NP-hardness results as well as polynomially solvable cases. One of our main results generalizes a well-known theorem of Kalmanson from the classical TSP to the q-stripe TSP.

Keywords: Combinatorial optimization, Computational complexity, Travelling salesman problem, Quadratic assignment problem, Tractable special case, Kalmanson conditions

Introduction

We consider a generalization of the classical travelling salesman problem (TSP). Recall that an instance of the TSP consists of n cities together with an n×n matrix D=(dij) that specifies the distances between these cities. A feasible solution for the TSP is a permutation πSn of the cities (also called tour or round trip). The goal is to find a feasible solution π=π(1),,π(n) that minimizes the total travel length

TSP(π)=i=1nd(π(i),π(i+1)). 1

(When we do arithmetics with cities, we usually identify city x with the cities x+n and x-n; hence the term π(i+1) for i=n in the preceding formula coincides with π(1), so that the salesman in the very end returns to the city from which he started his trip.) We refer the reader to the book by Lawler et al. (1985) for a wealth of information on the TSP, and to the papers by Gilmore et al. (1985) and Burkard et al. (1998) for comprehensive surveys on tractable special cases.

An instance of the q-stripe Travelling Salesman Problem with 1q(n-1)/2 consists of n cities together with an n×n distance matrix D=(dij), exactly as in the standard TSP. The goal is to find a permutation π=π(1),π(2),,π(n) through all cities that minimizes the cost function

graphic file with name 10479_2017_2513_Equ2_HTML.gif 2

As for q=1 the expression in (2) coincides with the expression in (1), the q-stripe TSP properly generalizes the classical TSP. Intuitively speaking, the permutation π encodes a tour through the cities, and the expression in (2) sums the distances d(ij) over all cities i and j that are at most q steps away from each other when travelling along the tour.

The city pairs (ij) that contribute to the objective functions (1) and (2) determine the edges of an underlying graph. For q=1 this graph is simply the Hamiltonian cycle Cn on n vertices, and for q2 it is the q-th power of Cn (the graph that results from the cycle Cn by connecting all vertex pairs that are separated by at most q edges along the cycle). These observations already indicate a close connection between the q-stripe TSP and certain graph-theoretic questions, which will be discussed in Sect. 2. Furthermore, we will study the computational complexity of a graph-theoretic version that constitutes a highly structured special case of the q-stripe TSP. In Sect. 5 we will show that the graph-theoretic version is NP-hard in multi-partite graphs with pq+1 parts, in split graphs, and in graphs that do not contain K1,4 as induced sub-graph. In Sect. 6 we will show that the graph-theoretic version is polynomially solvable in planar graphs (if q2) and in partial k-trees (if the parameter k is a fixed constant).

The q-stripe TSP may also be interpreted as a special case of the quadratic assignment problem (QAP). This will be discussed in Sect. 2, where we also survey the underlying literature and some consequences for tractable special cases of the q-stripe TSP. Our main result generalizes a tractable special case of the TSP and QAP (formulated in Theorems 2.3 and 2.4) from the class of so-called Kalmanson matrices to a broader class of matrices that we call q-Kalmanson matrices; see Sect. 3. As a by-product, we derive in Sect. 4 a complete characterization of the distance matrices that allow a so-called master q-stripe TSP tour; a master tour simultaneously induces optimal solutions to all possible sub-instances of a given problem instance. Section 7 completes the paper with a discussion and several open questions.

Technical preliminaries and literature review

In this section, we survey results from graph theory and from combinatorial optimization that yield tractable special cases of the q-stripe TSP. We also introduce a number of definitions that will be crucial in the rest of the paper.

A graph-theoretic version of the q-stripe TSP is centered around the q-th power of the undirected cycle Cn on n vertices: For q1 and n2q+1 the vertex set of graph Cnq is {1,2,,n}, and there is an edge between any two distinct vertices i and j with |i-j|q or |i-j|n-q. For q=1, the resulting graph Cn1 coincides with the standard undirected n-vertex cycle Cn. Note that the graph Cnq encodes the cost structure of the q-stripe TSP on n cities. Furthermore, the problem of finding a spanning sub-graph Cnq in a given input graph G is a special case of the q-stripe TSP: for any edge [ij] in G we set d(i,j)=0, for any non-edge we set d(i,j)=1, and we ask for a permutation π for which the objective value (2) is 0.

Paul Seymour (1973) conjectured that every n-vertex graph with minimum degree at least qn/(q+1) contains a spanning sub-graph Cnq. Komlós et al. (1998) proved this conjecture for sufficiently large n by using Szemerédi’s regularity lemma. Donnelly and Isaak (1999) present a variety of combinatorial and algorithmic results on spanning sub-graphs Cnq in threshold graphs (graphs that do not contain C4, P4, 2K2 as induced sub-graph) and in arborescent comparability graphs (graphs that do not contain C4 or P4 as induced sub-graph); in particular, they design polynomial time algorithms for detecting such spanning sub-graphs Cnq for these classes. The complexity of detecting a spanning Cnq in interval graphs is an open problem; see Isaak (1998).

The q-stripe TSP may also be formulated in a natural way as a quadratic assignment problem (QAP) in Koopmans-Beckmann form Koopmans and Beckmann (1957). The QAP takes as input two n×n matrices D=(d(i,j)) and C=(c(i,j)), and assigns to permutation π=π(1),π(2),,π(n) a corresponding objective value

QAP(π):=i=1nj=1nd(π(i),π(j))·c(i,j). 3

The goal is to find a permutation π that minimizes the objective value. By making matrix D the distance matrix of n cities and by making matrix C=(c(i,j)) the adjacency matrix of the graph Cnq, we arrive at the q-stripe TSP as a special case of the QAP. We refer the reader to the books by Burkard et al. (2009) and Çela (1998) for detailed information on the QAP. In particular, the QAP literature contains a number of tractable special cases that are built around certain combinatorial structures in the underlying cost matrices. We will discuss some of these special cases in the following paragraphs and relate them to the q-stripe TSP.

An n×n matrix D is a Monge matrix if its entries fulfill the following conditions (4).

d(i,j)+d(r,s)d(i,s)+d(r,j)for1i<rnand1j<sn. 4

These inequalities (4) go back to the 18th century, to the work of the French mathematician and Naval minister Gaspard Monge (1781). Burkard et al. (1996) survey the important role of Monge structures in combinatorial optimization, and summarize the vast literature. Fred Supnick (1957) proved in 1957 by means of an exchange argument that for the TSP on symmetric Monge matrices, an optimal tour is easy to find and in fact is always given by a fixed permutation σ.

Theorem 2.1

(Supnick (1957)) The TSP on symmetric Monge matrices is solvable in polynomial time. A shortest TSP tour is given by the permutation

σ=1,3,5,7,9,11,13,14,12,10,8,6,4,2. 5

This permutation σ first traverses the odd cities in increasing order and then traverses the even cities in decreasing order.

Burkard et al. (1998) generalized and unified several special cases of the QAP. Their main result implies the following generalization of Supnick’s result to the q-stripe TSP.

Theorem 2.2

(Burkard et al. (1998)) For any q1, the q-stripe TSP on symmetric Monge matrices is solvable in polynomial time. The permutation σ in (5) always yields an optimal solution.

An n×n symmetric matrix D is a Kalmanson matrix if its entries fulfill the following two families of conditions:

d(i,j)+d(k,)d(i,k)+d(j,)forall1i<j<k<n 6
d(i,)+d(j,k)d(i,k)+d(j,)forall1i<j<k<n 7

Kalmanson matrices were introduced by Kalmanson (1975) in his investigations of special cases of the travelling salesman problem. They form a common generalization of the following two well-known families of distance matrices. First, the distance matrix of every convex point set in the Euclidean plane forms a Kalmanson matrix, if the points are numbered in (say) clockwise direction along the convex hull. The inequalities (6) and (7) then simply state that in a convex quadrangle, the total length of two opposing sides is at most the total length of the two diagonals. Secondly, so-called tree metrics correspond to Kalmanson matrices. Consider a rooted ordered tree with non-negative edge lengths, and number its leaves from left to right. Then the shortest path distances between leaves i and j determine a Kalmanson matrix. Indeed, the inequalities (6) and (7) are easily verified for sub-trees with four leaves.

Kalmanson matrices play a prominent role in combinatorial optimization. Bandelt and Dress (1992), and independently Christopher et al. (1996) and Chepoi and Fichet (1998) showed that the Kalmanson conditions are equivalent to so-called circular decomposable metrics. Klinz and Woeginger (1999) analyzed the Steiner tree problem in Kalmanson matrices, and Polyakovskiy et al. (2013) investigated a special case of the three-dimensional matching problem in Kalmanson matrices. Kalmanson’s paper (Kalmanson 1975) contains the following result for the TSP.

Theorem 2.3

(Kalmanson (1975)) The TSP on Kalmanson distance matrices is solvable in polynomial time. The identity permutation yields an optimal solution.

Deineko and Woeginger (1998) generalized Kalmanson’s result (Kalmanson 1975) to certain special cases of the QAP; in particular, their results imply the following theorem for the q-stripe TSP.

Theorem 2.4

(Deineko and Woeginger (1998)) For any q1, the q-stripe TSP on Kalmanson matrices is solvable in polynomial time. The identity permutation always yields an optimal solution.

Finally, we mention the quadratic travelling salesman problem as studied by Fischer and Helmberg (2013). In this variant, a cost c(ijk) is associated with any three cities ijk that the salesman traverses in succession. Fischer and Helmberg argue that this variant arises if the succession of two edges represents energetic conformations, a change of direction or a possible change of transportation means. By setting c(i,j,k)=12d(i,j)+12d(j,k)+d(i,k), we see that the quadratic TSP properly generalizes the 2-stripe TSP.

There is a rich literature that analyzes tractable special cases of NP-hard optimization problems. Balas (1999) discusses tractable special cases of a generalization of the TSP that arises from constraining the set of feasible permutations. Chhajed and Lowe (1992) investigate tractable special cases of a network version of the k-median problem with mutual communication. Kononov et al. (1999) consider tractable special cases of the open shop scheduling problem.

The q-stripe TSP on q-Kalmanson matrices

In this section, we will generalize Theorems 2.3 and 2.4 to a much broader class of matrices. For four cities i<j<k<, the two edges [ik] and [j,] are said to be crossing. For an even number of cities i1<i2<<i2k, their fully crossing matching consists of the k edges [ij,ij+k] with j=1,,k. In other words, the fully crossing matching pairs every city in {i1,,i2k} with its diametrically opposed city in the natural circular arrangement of the cities, so that every pair of edges in this matching is crossing. The total length of all edges in the fully crossing matching is denoted by CROSSMATCH({i1,,i2k}).

Definition 3.1

Let D be a symmetric n×n distance matrix. A subset of 2q+2 cities satisfies the q-Kalmanson condition, if the fully crossing matching forms a perfect matching of maximum weight on these cities. Matrix D is said to be a q-Kalmanson matrix, if every subset of 2q+2 cities satisfies the q-Kalmanson condition.

Note that the 1-Kalmanson condition coincides with conditions (6) and (7) as introduced in the original paper by Kalmanson (1975); in other words, the 1-Kalmanson matrices are exactly the standard Kalmanson matrices from the literature.

Lemma 3.2

For every integer q1, the q-Kalmanson matrices form a proper subclass of the (q+1)-Kalmanson matrices.

Proof

Let D be a q-Kalmanson distance matrix for n2q+4 cities. Consider an arbitrary set of 2q+4 cities 1,2,,2q+4 that occur (in this ordering) in the matrix. Let M be a maximum weight matching for these cities, and let [1, x] denote the edge that covers city 1 in M. By symmetry we may assume 2xq+3, and by the q-Kalmanson condition we may assume that the induced matching for the 2q+2 cities in {1,,2q+4}\{1,x} is fully crossing.

  • If x=2, then matching M contains the edge [3,q+4]. In this case we cyclically shift the numbering of cities by -2 modulo 2q+4, so that the edge [3,q+4] becomes the edge [1,q+2]. Then we proceed as in the following case 3xq+3.

  • If 3xq+3, then M contains the edge [2,q+4]. In this case we replace the matching on {1,,2q+4}\{2,q+4} by the corresponding fully crossing matching. The resulting matching is fully crossing on 1,2,,2q+4 and has maximum weight.

In either case, we see that the 2q+4 cities satisfy the (q+1)-Kalmanson condition. This settles the subset relation stated in the lemma.

To see that the subset relation between the two matrix classes is proper, we introduce the following symmetric n×n matrix Dn,q for q1 and n2q+4:

d(i,j)=1ifq+2|i-j|n-q-20otherwise 8

Now consider 2q+4 arbitrary cities i1<i2<<i2q+4, and let [ij,ij+q+2] with 1jq+2 be an edge in their fully crossing matching. Then q+2|ij-ij+q+2|n-q-2, as the q+1 cities ij+1,,ij+q+1 lie in the interval between ij and ij+q+2 whereas the q+1 cities i1,,ij-1 and ij+q+3,,i2q+4 lie outside this interval. This means that all edges in the fully crossing matching have weight 1, and that the fully crossing matching indeed is a maximum weight matching. Therefore Dn,q is a (q+1)-Kalmanson matrix. On the other hand, the fully crossing matching for the first 2q+2 cities 1,2,,2q+2 has weight 0. The matching that consists of edge [1,q+3] of weight 1 together with some q other edges has strictly positive weight. Therefore Dn,q is not a q-Kalmanson matrix.

In the remainder of this section, we will analyze the q-stripe TSP on q-Kalmanson matrices. We start with the analysis of an auxiliary optimization problem. For some fixed city x, we are now looking for 2q pairwise distinct cities y1,y2,,y2q that all are distinct from x and that minimize the objective function

fx(y1,,y2q)=i=12qd(x,yi)-CROSSMATCH({y1,,y2q}). 9

The following result will be useful in our investigations.

Lemma 3.3

Let q1 and n2q+1, and let D be a q-Kalmanson matrix. Then for every city x the function fx in (9) is minimized by setting yi=x-q+i-1 for i=1,,q and by setting yi=x-q+i for i=q+1,,2q. (In other words, there exists a minimizer that uses the q cities directly preceding x and the q cities directly succeeding x in the underlying circular arrangement.)

Proof

Without loss of generality we assume x=q+1. Among all the minimizers Y={y1,,y2q} of the function fx, we consider one that secondarily maximizes the number of common elements of Y{x} and T={1,2,,2q+1}. Suppose for the sake of contradiction that Y{x}T, and let z be a city in T\(Y{x}). As the distance matrix D satisfies the q-Kalmanson condition for the 2q+2 cities in Y{x,z}, we have

CROSSMATCH(Y)+d(x,z)CROSSMATCH(Y{x,z}). 10

As |x-t|q holds for all tT, the fully crossing matching for the 2q+2 cities in Y{x,z} will match city x with some city yjY\T (and hence will not match x with z). This yields

CROSSMATCH(Y{x,z})=CROSSMATCH({z}Y\{yj})+d(x,yj). 11

Finally we derive from (9) by using (10) and (11) that

fx(Y)=yYd(x,y)-CROSSMATCH(Y)yYd(x,y)+d(x,z)-CROSSMATCH(Y{x,z})=yY{z}d(x,y)-CROSSMATCH({z}Y\{yj})-d(x,yj)=fx({z}Y\{yj}).

As zT and yjT, the set {z}Y\{yj} has more elements in common with T than set Y, while its objective value is at least as good as the objective value of Y. That’s the desired contradiction.

The following theorem states our main result on q-Kalmanson matrices. The rest of this section will be dedicated to its proof.

Theorem 3.4

For every integer q1, the q-stripe TSP on a q-Kalmanson matrix is solved to optimality by the identity permutation π=1,,n.

Proof

The proof of the theorem proceeds by induction on the number n2q+1 of cities. For n=2q+1, the objective function in (2) simply adds up the lengths of all the edges between pairs of distinct cities. Hence in this case every permutation πSn yields the same objective value, and the statement holds trivially.

In the inductive step from n-1 to n, we consider an arbitrary q-Kalmanson distance matrix for n cities and an optimal permutation πSn for the q-stripe TSP. Without loss of generality we assume π(n)=n, so that π(1),π(2),,π(n-1) is a permutation of the cities 1,2,,n-1. The inductive assumption yields for the induced instance on the first n-1 cities that

p=1qi=1n-1d(i,i+p)p=1qi=1n-1d(π(i),π(i+p)). 12

(In this equation arithmetics with cities is done modulo the number n-1 of cities, so that x coincides with x+n-1 and x-n+1.) The q immediate successors of city n=π(n) in the tour π are π(1),,π(q), and its q immediate predecessors are π(n-q),,π(n-1). Lemma 3.3 yields for x:=n that

i=n-qn-1d(n,i)+i=1qd(n,i)-CROSSMATCH{1,,q}{n-q,,n-1}i=n-qn-1d(n,π(i))+i=1qd(n,π(i))-CROSSMATCH({π(1),,π(q)}{π(n-q),,π(n-1)}) 13

By adding up the inequalities in (12) and (13) we get the desired statement

p=1qi=1nd(i,i+p)p=1qi=1nd(π(i),π(i+p)). 14

Hence, the identity permutation indeed yields the smallest possible objective value for the q-stripe TSP. This completes the proof of Theorem 3.4.

Master tours for the q-stripe TSP

Assume that the cities in a Euclidean instance of the TSP are the vertices of a convex polygon. Then an optimal tour is not only easy to find (it follows the perimeter of the polygon), but the instance also possesses a so-called master tour: There exists an optimal TSP tour π that simultaneously encodes the optimal tours for all subsets of the cities, as an optimal tour for a subset may be obtained by simply omitting from the tour π all the cities that are not in the subset. The concept of such master tours was introduced by Papadimitriou (1993, 1994). Deineko et al. (1998) showed that a TSP instance has a master tour if and only if the underlying distance matrix is a Kalmanson matrix. van Ee and Sitters (2015) investigate master versions of the Steiner tree problem and of the maximum weighted satisfiability problem.

In this spirit, let us say that a distance matrix D has a master tour π for the q-stripe TSP, if for any subset S of the cities an optimal q-stripe tour can be obtained by removing from π the cities not contained in S. The following theorem fully settles the combinatorics of master tours with respect to the q-stripe TSP.

Theorem 4.1

For any q1 and for any n×n distance matrix D, the identity permutation is a master tour for the q-stripe TSP on D if and only if D is a q-Kalmanson matrix.

Proof

For the if-part, we note that any principal sub-matrix of a q-Kalmanson matrix D again is a q-Kalmanson matrix. By Theorem 3.4 the identity permutation is an optimal solution for the q-stripe TSP on D and induces optimal solutions for all principal sub-matrices.

For the only-if-part, we consider an arbitrary sequence of 2q+2 cities i1<<i2q+2 in the considered instance. These 2q+2 cities span altogether (q+1)(2q+1) edges. Every q-stripe TSP tour uses exactly q(2q+2) of these edges, and the remaining q+1 unused edges form a perfect matching. As the identity permutation induces a minimum weight solution to the q-stripe TSP, the unused edges (which form a fully crossing matching) should yield a matching of maximum weight. This implies that the 2q+2 cities satisfy the q-Kalmanson condition.

By Theorem 4.1, an instance of the q-stripe TSP possesses a master tour if and only if the underlying distance matrix can be permuted into a q-Kalmanson matrix. At the current moment, we do not know whether it is easy or hard to recognize whether a given matrix can be permuted into a q-Kalmanson matrix. One might expect that the polynomial time algorithm of Deineko et al. (1998) for the special case q=1 could be extended to the cases with arbitrary q. However, this is by no means not straightforward to do, as some of the combinatorial details in the general case become quite complicated and messy.

Hardness results

In this section we return to the graph-theoretic version of the q-stripe TSP that we introduced in Sect. 2: We consider the problem of deciding the existence of a spanning sub-graph Cnq in a given undirected graph on n vertices. We show that this problem is hard in multi-partite graphs, in split graphs, and in graphs that do not contain K1,4 as induced sub-graph. First, let us recall that a graph is p-partite if its vertex set can be partitioned into p independent sets. As the graph Cnq contains a complete sub-graph on q+1 vertices, the spanning sub-graph problem is trivial (with a trivial negative answer) for all p-partite graphs with pq. We will show that the problem is NP-hard even for (q+1)-partite graphs. Next, let us recall that a split graph is a graph whose vertex set can be partitioned into one part that induces a clique and another part that induces an independent set.

The central hardness reduction is done from the following NP-complete HAMILTONIAN CIRCUIT problem; see Garey and Johnson (1979).

Problem: HAMILTONIAN CIRCUIT

Instance: A directed graph G=(V,A).

Question: Does G contain a (directed) Hamiltonian circuit?

By definition every graph Cnq contains a Hamiltonian cycle with the following property: whenever two vertices are separated by at most q-1 vertices along the Hamiltonian cycle, then these vertices are also adjacent in Cnq. Such a Hamiltonian cycle will be called a Hamiltonian spine of Cnq.

We take an arbitrary instance G=(V,A) of HAMILTONIAN CIRCUIT, and we construct the following undirected graph G1=(V1,E1) from it. For every vertex vV, the undirected graph G1 contains 2q+2 corresponding vertices denoted v1,v2,,v2q+2. The edge set E1 is defined as follows:

  • For every vV, we create all the edges [vi,vj] with |i-j|q.

  • For every arc (u,v)A, we create all the edges [ui,vj] with i-jq+2.

See Fig. 1 for an illustration. For =0,,q, define the vertex set W to contain all vertices vi with imod(q+1). It is easily verified that graph G1 is (q+1)-partite with partition W0,,Wq. Finally, we introduce the graph G2=(V2,E2) as a super-graph of G1: the vertex set V2 coincides with V1, and the edge set E2 contains the edges in E1 together with all edges on the vertex set W1W2Wq. Note that G2 is a split graph with independent set W0.

Fig. 1.

Fig. 1

An illustration for the case q=2, showing the (solid) edges among u1,,u6 and among v1,,v6 and the (dashed) edges connecting these two groups

Lemma 5.1

If the directed graph G contains a Hamiltonian circuit, then the (q+1)-partite graph G1 contains a spanning sub-graph Cn(2q+2)q.

Proof

Consider a Hamiltonian circuit in G, and replace every vertex v in the circuit by the corresponding sequence v1,,v2q+2. This yields the Hamiltonian spine for a spanning sub-graph Cn(2q+2)q of G1.

Lemma 5.2

If the (q+1)-partite graph G1 contains a spanning sub-graph Cn(2q+2)q, then the split graph G2 contains a spanning sub-graph Cn(2q+2)q.

Proof

The graph G2 is a super-graph of G1.

Lemma 5.3

If the split graph G2 contains a spanning sub-graph Cn(2q+2)q, then the directed graph G contains a Hamiltonian circuit.

Proof

Consider the Hamiltonian spine of a spanning sub-graph Cn(2q+2)q in G2. The independent set W0 contains 2n vertices, and any two vertices in W0 must be separated by at least q other vertices along the Hamiltonian spine. As the clique W1W2Wq contains only 2nq vertices, this implies that along the Hamiltonian spine any two consecutive vertices x and y from W0 are separated by exactly q vertices from the clique; each of these q separating vertices is adjacent to both x and y.

Now consider the 2q+2 vertices u1,,u2q+2 that correspond to some fixed vertex uV. As vertex uq+1 has only 2q neighbors in the split graph (the vertices u1,,uq and uq+2,,u2q+1), some q of these neighbors must directly precede uq+1 in the Hamiltonian spine while the other q neighbors must succeed it. We assume without loss of generality that the neighbor uq+2 is among the q vertices that succeed uq+1. As vertex uq+2 has only two neighbors in W0 (the vertices uq+1 and u2q+2), this means that along the Hamiltonian spine vertex u2q+2 is the first W0-vertex after uq+1. All in all, this means that the 2q+2 vertices u1,,u2q+2 occur as a single block along the spine with u2q+2 occurring as last vertex.

Next consider the vertex vi that directly follows u2q+2 in the Hamiltonian spine. Then [u2q+2,vi]E2, which implies that (uv) is an arc in the directed graph G. Similarly as in the preceding paragraph it can furthermore be seen that also the 2q+2 vertices v1,,v2q+2 occur as a single block along the spine with v2q+2 occurring as last vertex. Finally, a simple inductive argument shows that replacing every group v1,,v2q+2 in the spine by their corresponding vertex vV yields a Hamiltonian circuit for the directed graph G.

By combining Lemmas 5.1, 5.2 and 5.3, we derive the following theorem.

Theorem 5.4

For every q2, it is NP-complete to decide whether (i) a given (q+1)-partite graph and (ii) a given split graph contains a spanning q-stripe tour.

Theorem 5.5

For every q2, it is NP-complete to decide whether a graph without induced sub-graph K1,4 contains a spanning q-stripe tour.

Proof

Plesnik (1979) has shown that the HAMILTONIAN CIRCUIT problem is NP-complete, even if the underlying directed graph G=(V,A) has in-degrees and out-degrees at most 2. We claim that if we start the above reduction from such a directed graph G, then the resulting split graph G2 does not contain K1,4 as induced sub-graph.

Suppose otherwise, and consider the central vertex x of an induced K1,4 in G2. Then x must be in the clique, and its four neighbors must be in the independent set W0. Hence each of the four neighbors must be a vertex uq+1 or u2q+2 for some uV.

  • If uq+1 is one of these four neighbors, then x is among the 2q vertices u1,,uq and uq+2,,u2q+1.

  • If u2q+2 is one of these four neighbors, then x is among the vertices uq+2,,u2q+1 or among the vertices v1,,vq for some vV with (u,v)A.

If x is among vertices uq+2,,u2q+1 for some uV, then x has only two possible neighbors in W0 (the two vertices uq+1 and u2q+2). Hence x must be one of u1,,uq for some uV. Then x has at most three neighbors in W0: the vertex uq+1, and perhaps two vertices v2q+2 and w2q+2 with (v,u)A and (w,u)A.

Theorems 5.4 and 5.5 also imply the following negative result on the q-stripe TSP. (Every edge in the graph translates into a cheap distance 0, and every non-edge translates into an expensive distance 1. A spanning q-stripe tour in the graph receives cost 0.)

Corollary 5.6

For every q2, the q-stripe TSP is NP-complete even if the distance matrix is a symmetric 0-1 matrix.

Another immediate consequence of Theorems 5.4 and 5.5 concerns the bottleneck version of the multi-stripe TSP, where the objective is to minimize the length of the longest used edge (instead of minimizing the total sum of all used edges).

Corollary 5.7

For every q2, the bottleneck version of the q-stripe TSP is NP-complete.

Polynomial time results

In this section we discuss the problem of finding spanning q-stripe tours in planar graphs and in partial k-trees. Let us start with the problem of deciding the existence of a spanning q-stripe tour Cnq in a given planar graph G=(V,E) on n vertices. For q=1, this decision problem is the standard Hamiltonian cycle problem and hence NP-complete for planar graphs; see Garey and Johnson (1979). On the other hand for q3 this problem is trivial: Every planar graph contains a vertex of degree at most 5, whereas the graph Cnq is 2q-regular; hence for q3 the answer will always be negative. Summarizing, the only interesting version of this spanning sub-graph problem is the case with q=2.

Lemma 6.1

For n5 the graph Cn2 is planar, if and only if n is even.

Proof

For even n, the graph Cn2 decomposes into three cycles: the Hamiltonian spine 1,2,,n; a cycle of length n / 2 traversing the even vertices 2,4,6,,n; and a cycle of length n / 2 traversing the odd vertices 1,3,5,,n-1. The Hamiltonian spine is easily embedded and partitions the plane into a bounded face and an unbounded face. We embed the edges of the cycle 2,4,6,,n in the bounded face, and we embed the edges of the cycle 1,3,5,,n-1 in the unbounded face. Hence Cn2 is planar.

For odd n, we observe that C52 is the non-planar complete graph on five vertices. For n7, graph Cn2 contains a subdivision of the (non-planar) complete bipartite graph K3,3. Indeed, we may embed one side of the bipartition into the vertices 1, 4, 5 and the other side into 2, 3, 6. Then the seven edges [1, 2], [1, 3], [4, 2], [4, 3], [4, 6], [5, 3], and [5, 6] are contained in Cn2. The edge [1, 6] results from the path 6-8-10--(n-1)-1. Finally the edge [5, 2] results from the path 5-7-9--n-2.

Lemma 6.2

Let G be a planar graph that contains five vertices uvxyz so that u and v are adjacent, and so that xyz are common neighbors of both u and v. Then G does not contain Cn2 as a spanning sub-graph.

Proof

If G contains such five vertices uvxyz, in any planar embedding one of the three triangles uvx and uvy and uvz will be a separating triangle for G. Thus G has a 3-element cut set, whereas the graph Cn2 does not allow such a cut set.

Now suppose that some planar graph G contains a spanning sub-graph Cn2. Let v1,v2,,vn be the underlying Hamiltonian spine, so that any two vertices vi and vj with |i-j|2 or |i-j|n-2 are adjacent in G. We claim that the first three vertices v1,v2,v3 in the spine already determine the full spanning sub-graph Cn2. Indeed, the three vertices v1,v2,v3 then induce a triangle, and any candidate for the fourth vertex in the spine must be adjacent to both v2 and v3. If there were two distinct candidates for the fourth vertex, then these two candidates together with v1,v2,v3 would yield the forbidden configuration in Lemma 6.2. Hence there is at most one candidate for the fourth vertex. Arguing inductively, this fully determines the spine and hence the spanning sub-graph Cn2. By trying all possibilities for v1,v2,v3, this leads to the following theorem.

Theorem 6.3

It can be decided in polynomial time whether a given planar graph on n vertices contains a spanning sub-graph Cn2.

Finally let us turn to partial k-trees, which form a well-known generalization of ordinary trees; see for instance the survey articles by Bodlaender (1988, 1993, 1998) for more information. We mention as an example that series-parallel graphs and outerplanar graphs are partial 2-trees. Many algorithmic problems can be solved in polynomial time on partial k-trees, as long as the value k is constant and not part of the input. More precisely, every graph problem that is expressible in Monadic Second Order Logic (MSOL) is solvable in linear time on partial k-trees with constant k; see Arnborg et al. (1991).

Theorem 6.4

For every q2 and for every k1, it can be decided in linear time whether a given partial k-tree contains a spanning sub-graph Cnq.

Proof

For a given graph G=(V,E), the property of having a spanning sub-graph Cnq can be expressed in MSOL as follows:

  • There exists a set FE, so that every vertex is incident to exactly two edges in F.

  • There does not exist any partition of the vertex set V into two non-empty sets V1 and V2, so that none of the edges in F connects V1 to V2.

  • For any sequence v1,v2,,vr of rq vertices: if [vs,vs+1]F for 1sr-1, then [v1,vr]E.

Each of these statements can be formulated in MSOL in a straightforward way. The first two statements make F the edge set of a Hamiltonian spine. The third statement ensures that all edges in Cnq outside the spine are also present in graph G.

Discussion

We have derived a number of positive and negative results on the q-stripe TSP. As our main result, we have introduced the class of q-Kalmanson matrices and we have generalized a well-known result of Kalmanson on the classical TSP to the q-stripe TSP on matrices from this class. As a by-product, our investigations yield a complete analysis of the so-called master version of the q-stripe TSP, where the master solution simultaneously induces optimal solutions to all possible sub-instances of a given problem instance. Furthermore, we have analyzed the graph-theoretic version of the q-stripe TSP. We derived NP-completeness for (q+1)-partite graphs and for split graphs, and we derived polynomial time results for planar graphs (if q2) and for partial k-trees (if k is a fixed constant).

There are many open questions around the q-stripe TSP. First of all, we would like to understand the q-stripe TSP on so-called Demidenko matrices. An n×n matrix D is a Demidenko matrix if its entries fulfill the conditions (6). A celebrated result (Demidenko 1979) of Demidenko (see also Gilmore et al. 1985) shows that the classical TSP on Demidenko matrices is solvable in polynomial time. We did not manage to settle the complexity of the q-stripe TSP on Demidenko matrices, and even the case q=2 is unclear. It might well be possible that this problem turns out to be NP-hard.

Deineko et al. (2014) analyze the classical TSP with respect to so-called four-point conditions on the distance matrix, that is, constraining inequalities that involve the distances between four arbitrary cities. For instance, Monge matrices, Kalmanson matrices, and Demidenko matrices fall under this framework. Furthermore, there are 18 other natural classes of distance matrices in the framework, and some of these classes might allow interesting results for the q-stripe TSP.

Also the graph-theoretic version of the q-stripe TSP is quite poorly understood, and the computational complexity is open for many natural graph classes. Our hardness result for split graphs trivially yields hardness for the broader class of chordal graphs, and of course for the class of perfect graphs. But for other classes of perfect graphs, as for instance for permutation graphs and for strongly chordal graphs, the complexity of the q-stripe TSP remains unclear. In particular the complexity is open for interval graphs; see Isaak (1998). We have shown in Sect. 5 that the q-stripe TSP is NP-hard on graphs without induced sub-graph K1,4. We note that the complexity for claw-free graphs (that is, for graphs that do not contain K1,3 as induced sub-graph) is open for q2. The classical case with q=1 is known to be NP-complete; see Bertossi (1981).

Acknowledgements

Open access funding provided by Graz University of Technology. This research was conducted while Vladimir Deineko and Gerhard Woeginger were visiting TU Graz, and they both thank the Austrian Science Fund (FWF): W1230, Doctoral Program in “Discrete Mathematics” for the financial support. Vladimir Deineko acknowledges support by Warwick University’s Centre for Discrete Mathematics and Its Applications (DIMAP). Gerhard Woeginger acknowledges support by the Zwaartekracht NETWORKS grant of NWO.

Contributor Information

Eranda Çela, Email: cela@math.tugraz.at.

Vladimir G. Deineko, Email: Vladimir.Deineko@wbs.ac.uk

Gerhard J. Woeginger, Email: woeginger@cs.rwth-aachen.de

References

  1. Arnborg S, Lagergren J, Seese D. Easy problems for tree-decomposable graphs. Journal of Algorithms. 1991;12:308–340. doi: 10.1016/0196-6774(91)90006-K. [DOI] [Google Scholar]
  2. Balas E. New classes of efficiently solvable generalized traveling salesman problems. Annals of Operations Research. 1999;86:529–558. doi: 10.1023/A:1018939709890. [DOI] [Google Scholar]
  3. Bandelt HJ, Dress AWM. A canonical decomposition theory for metrics of a finite set. Advances in Mathematics. 1992;92:47–105. doi: 10.1016/0001-8708(92)90061-O. [DOI] [Google Scholar]
  4. Bertossi AA. The edge Hamiltonian path problem is NP-complete. Information Processing Letters. 1981;13:157–159. doi: 10.1016/0020-0190(81)90048-X. [DOI] [Google Scholar]
  5. Bodlaender HL. Some classes of graphs with bounded treewidth. Bulletin of the EATCS. 1988;36:116–126. [Google Scholar]
  6. Bodlaender HL. A tourist guide through treewidth. Acta Cybernetica. 1993;11:1–21. [Google Scholar]
  7. Bodlaender HL. A partial k-arboretum of graphs with bounded treewidth. Theoretical Computer Science. 1998;209:1–45. doi: 10.1016/S0304-3975(97)00228-4. [DOI] [Google Scholar]
  8. Burkard RE, Çela E, Rote G, Woeginger GJ. The quadratic assignment problem with a monotone anti-Monge and a symmetric Toeplitz matrix: Easy and hard cases. Mathematical Programming. 1998;B82:125–158. [Google Scholar]
  9. Burkard RE, Deineko VG, van Dal R, van der Veen JAA, Woeginger GJ. Well-solvable special cases of the TSP: A survey. SIAM Reviews. 1998;40:496–546. doi: 10.1137/S0036144596297514. [DOI] [Google Scholar]
  10. Burkard RE, Dell’Amico M, Martello S. Assignment problems. Philadelphia: SIAM; 2009. [Google Scholar]
  11. Burkard RE, Klinz B, Rudolf R. Perspectives of Monge properties in optimization. Discrete Applied Mathematics. 1996;70:95–161. doi: 10.1016/0166-218X(95)00103-X. [DOI] [Google Scholar]
  12. Chhajed D, Lowe TJ. Locating facilities which interact: Some solvable cases. Annals of Operations Research. 1992;40:101–124. doi: 10.1007/BF02060472. [DOI] [Google Scholar]
  13. Çela E. The Quadratic assignment problem: Theory and algorithms. Dordrecht, The Netherlands: Kluwer Academic Publishers; 1998. [Google Scholar]
  14. Chepoi V, Fichet B. A note on circular decomposable metrics. Geometriae Dedicata. 1998;69:237–240. doi: 10.1023/A:1004907919611. [DOI] [Google Scholar]
  15. Christopher, G., Farach, M., & Trick, M. (1996). The structure of circular decomposable metrics. In Proceedings of the 4th annual European symposium on algorithms (ESA’1996), LNCS 1136, Springer Verlag (pp. 486–500).
  16. Deineko VG, Klinz B, Tiskin A, Woeginger GJ. Four-point conditions for the TSP: The complete classification. Discrete Optimization. 2014;14:147–159. doi: 10.1016/j.disopt.2014.09.003. [DOI] [Google Scholar]
  17. Deineko VG, Rudolf R, Woeginger GJ. Sometimes travelling is easy: The master tour problem. SIAM Journal on Discrete Mathematics. 1998;11:81–93. doi: 10.1137/S0895480195281878. [DOI] [Google Scholar]
  18. Deineko VG, Woeginger GJ. A solvable case of the quadratic assignment problem. Operations Research Letters. 1998;22:13–17. doi: 10.1016/S0167-6377(97)00047-3. [DOI] [Google Scholar]
  19. Demidenko VM. The travelling salesman problem with asymmetric matrices. Vestsi Akad. Navuk BSSR Ser. Fiz.-Mat Navuk. 1979;1:29–35. [Google Scholar]
  20. Donnelly S, Isaak G. Hamiltonian powers in threshold and arborescent comparability graphs. Discrete Mathematics. 1999;202:33–44. doi: 10.1016/S0012-365X(98)00346-X. [DOI] [Google Scholar]
  21. Fischer A, Helmberg C. The symmetric quadratic traveling salesman problem. Mathematical Programming. 2013;A142:205–254. doi: 10.1007/s10107-012-0568-1. [DOI] [Google Scholar]
  22. Garey MR, Johnson DS. Computers and intractability: A guide to the theory of NP-completeness. San Francisco: Freeman; 1979. [Google Scholar]
  23. Gilmore PC, Lawler EL, Shmoys DB. Well-solved special cases Chapter 4. In: Lawler EL, Lenstra JK, Rinnooy Kan AHG, Shmoys DB, editors. The traveling salesman problem. Chichester: Wiley; 1985. pp. 87–143. [Google Scholar]
  24. Isaak G. Powers of Hamiltonian paths in interval graphs. Journal of Graph Theory. 1998;28:31–38. doi: 10.1002/(SICI)1097-0118(199805)28:1<31::AID-JGT3>3.0.CO;2-G. [DOI] [Google Scholar]
  25. Kalmanson K. Edgeconvex circuits and the travelling salesman problem. Canadian Journal of Mathematics. 1975;27:1000–1010. doi: 10.4153/CJM-1975-104-6. [DOI] [Google Scholar]
  26. Klinz B, Woeginger GJ. The Steiner tree problem in Kalmanson matrices and in Circulant matrices. Journal of Combinatorial Optimization. 1999;3:51–58. doi: 10.1023/A:1009881510868. [DOI] [Google Scholar]
  27. Komlós J, Sárközy GN, Szemerédi E. Proof of the Seymour conjecture for large graphs. Annals of Combinatorics. 1998;2:43–60. doi: 10.1007/BF01626028. [DOI] [Google Scholar]
  28. Kononov A, Sevastianov S, Tchernykh I. When difference in machine loads leads to efficient scheduling in open shops. Annals of Operations Research. 1999;92:211–239. doi: 10.1023/A:1018986731638. [DOI] [Google Scholar]
  29. Koopmans TC, Beckmann MJ. Assignment problems and the location of economic activities. Econometrica. 1957;25:53–76. doi: 10.2307/1907742. [DOI] [Google Scholar]
  30. Lawler EL, Lenstra JK, Rinnooy Kan AHG, Shmoys DB. The traveling salesman problem. Chichester: Wiley; 1985. [Google Scholar]
  31. Monge, G. (1781). Mémoire sur la théorie des déblais et des remblais. Histoire de l’Académie Royale des Science (Année 1781, avec les Mémoires de Mathématique et de Physique, pour la même Année), 666–704.
  32. Papadimitriou, C.H. (1993). Lecture on computational complexity at the Maastricht Summer School on Combinatorial Optimization. Maastricht, the Netherlands.
  33. Papadimitriou CH. Computational complexity. Reading, MA: AddisonWesley; 1994. [Google Scholar]
  34. Plesnik J. The NP-completeness of the Hamiltonian cycle problem in planar digraphs with degree bound two. Information Processing Letters. 1979;8:199–201. doi: 10.1016/0020-0190(79)90023-1. [DOI] [Google Scholar]
  35. Polyakovskiy S, Spieksma FCR, Woeginger GJ. The three-dimensional matching problem in Kalmanson matrices. Journal of Combinatorial Optimization. 2013;26:1–9. doi: 10.1007/s10878-011-9426-y. [DOI] [Google Scholar]
  36. Seymour, P. (1973). Problem section in combinatorics. In T. P. McDonough, & V. C. Mavron (eds.) Proceedings of the British combinatorial conference. Cambridge University Press (pp. 201–202).
  37. Supnick F. Extreme Hamiltonian lines. Annals of Mathematics. 1957;66:179–201. doi: 10.2307/1970124. [DOI] [Google Scholar]
  38. van Ee, M. & Sitters, R. (2015). On the complexity of master problems. In Proceedings of the 40th international symposium on mathematical foundations of computer science, Springer LNCS 9235 (pp. 567–576).

Articles from Annals of Operations Research are provided here courtesy of Springer

RESOURCES