Skip to main content
Log in

On the integrality gap of the subtour LP for the 1,2-TSP

  • Full Length Paper
  • Series B
  • Published:
Mathematical Programming Submit manuscript

Abstract

In this paper, we study the integrality gap of the subtour LP relaxation for the traveling salesman problem in the special case when all edge costs are either 1 or 2. For the general case of symmetric costs that obey triangle inequality, a famous conjecture is that the integrality gap is 4/3. Little progress towards resolving this conjecture has been made in 30 years. We conjecture that when all edge costs \(c_{ij}\in \{1,2\}\), the integrality gap is 10/9. We show that this conjecture is true when the optimal subtour LP solution has a certain structure. Under a weaker assumption, which is an analog of a recent conjecture by Schalekamp et al., we show that the integrality gap is at most 7/6. When we do not make any assumptions on the structure of the optimal subtour LP solution, we can show that integrality gap is at most 5/4; this is the first bound on the integrality gap of the subtour LP strictly less than 4/3 known for an interesting special case of the TSP. We show computationally that the integrality gap is at most 10/9 for all instances with at most 12 cities.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2

Similar content being viewed by others

Notes

  1. In [18], \( OPT (2M)\) is expressed as \(n+k\), where \(k\) is the number of edges of cost 2 in the optimal 2M solution. The number of unmatched pure cycles is denoted by \(r_2\). The bound given by [18] is \(n+k +\tfrac{2}{9}(n-n_2-k) + r_2\), where \(n_2\) is a quantity that is lower bounded by \(3r_2\). Therefore, the bound in [18] can be upper bounded by \(\tfrac{7}{9}(n+k)+\tfrac{4}{9}n + \tfrac{1}{3} r_2\).

References

  1. Aggarwal, N., Garg, N., Gupta, S.: A 4/3-approximation for TSP on cubic 3-edge-connected graphs. CoRR abs/1101.5586 (2011)

  2. Balinski, M.L.: Integer programming: methods, uses, computation. Manag. Sci. 12, 253–313 (1965)

    Article  MATH  MathSciNet  Google Scholar 

  3. Berman, P., Karpinski, M.: 8/7-approximation algorithm for (1,2)-TSP. In: Proceedings of the 17th ACM-SIAM Symposium on Discrete Algorithms, pp. 641–648 (2006)

  4. Bläser, M., Shankar Ram, L.: An improved approximation algorithm for TSP with distances one and two. In: Liskiewicz, M., Reischuk, R. (eds.) Fundamentals of Computation Theory, 15th International Symposium, FCT 2005, Lecture Notes in Computer Science, vol. 3623, pp. 504–515. Springer (2005)

  5. Boyd, S., Carr, R.: Finding low cost TSP and 2-matching solutions using certain half-integer subtour vertices. Discrete Optim. 8, 525–539 (2011). Prior version available at http://www.site.uottawa.ca/sylvia/recentpapers/halftri.pdf. Accessed 27 June 2011

  6. Boyd, S., Sitters, R., van der Ster, S., Stougie, L.: The traveling salesman problem on cubic and subcubic graphs. Math. Program. 144(1–2), 227–245 (2014). A preliminary version appeared in IPCO 2011

  7. Christofides, N.: Worst case analysis of a new heuristic for the traveling salesman problem. Report 388, Graduate School of Industrial Administration, Carnegie-Mellon University, Pittsburgh, PA (1976)

  8. Dantzig, G., Fulkerson, R., Johnson, S.: Solution of a large-scale traveling-salesman problem. Oper. Res. 2, 393–410 (1954)

    MathSciNet  Google Scholar 

  9. Gamarnik, D., Lewenstein, M., Sviridenko, M.: An improved upper bound for the TSP in cubic 3-edge-connected graphs. Oper. Res. Lett. 33(5), 467–474 (2005)

  10. Goemans, M.X.: Worst-case comparison of valid inequalities for the TSP. Math. Program. 69, 335–349 (1995)

    MATH  MathSciNet  Google Scholar 

  11. Goemans, M.X., Bertsimas, D.J.: Survivable networks, linear programming relaxations, and the parsimonious property. Math. Program. 60, 145–166 (1990)

    Article  MathSciNet  Google Scholar 

  12. IBM ILOG CPLEX 12.1 (2009)

  13. McKay, B.D.: Practical graph isomorphism. Congr. Numerantium 30, 45–97 (1981)

    MathSciNet  Google Scholar 

  14. Mnich, M., Mömke, T.: Improved integrality gap upper bounds for TSP with distances one and two. CoRR abs/1312.2502 (2013)

  15. Mömke, T., Svensson, O.: Approximating graphic TSP by matchings. In: Proceedings of the 52nd Annual IEEE Symposium on Foundations of Computer Science, pp. 560–569 (2011)

  16. Mucha, M.: \(\frac{13}{9}\)-approximation for graphic TSP. Theory Comput. Syst., 1–18 (2012). A preliminary version appeared in STACS 2012

  17. Oveis Gharan, S., Saberi, A., Singh, M.: A randomized rounding approach to the traveling salesman problem. In: Proceedings of the 52nd Annual IEEE Symposium on Foundations of Computer Science, pp. 550–559 (2011)

  18. Papadimitriou, C.H., Yannakakis, M.: The traveling salesman problem with distances one and two. Math. Oper. Res. 18, 1–11 (1993)

    Article  MATH  MathSciNet  Google Scholar 

  19. Qian, J., Schalekamp, F., Williamson, D.P., van Zuylen, A.: On the integrality gap of the subtour LP for the 1,2-TSP. In: LATIN 2012: Theoretical Informatics, 10th Latin American Symposium, Lecture Notes in Computer Science, vol. 7256, pp. 606–617 (2012)

  20. Schalekamp, F., Williamson, D.P., van Zuylen, A.: 2-matchings, the traveling salesman problem, and the subtour LP: A proof of the Boyd-Carr conjecture. Math. Oper. Res. 39(2), 403–417 (2014). A preliminary version appeared in SODA 2012

  21. Sebő, A., Vygen, J.: Shorter tours by nicer ears: 7/5-approximation for graphic TSP, 3/2 for the path version, and 4/3 for two-edge-connected subgraphs. CoRR abs/1201.1870 (2012)

  22. Shmoys, D.B., Williamson, D.P.: Analyzing the Held–Karp TSP bound: a monotonicity property with application. Inf. Process. Lett. 35, 281–285 (1990)

    Article  MATH  MathSciNet  Google Scholar 

  23. Williamson, D.P.: Analysis of the Held–Karp heuristic for the traveling salesman problem. Master’s thesis, MIT, Cambridge, MA (1990). Also appears as Tech Report MIT/LCS/TR-479

  24. Wolsey, L.A.: Heuristic analysis, linear programming and branch and bound. Math. Program. Study 13, 121–134 (1980)

    Article  MATH  MathSciNet  Google Scholar 

Download references

Acknowledgments

We thank Sylvia Boyd for useful and encouraging discussions. We thank two anonymous referees for helpful comments and suggestions.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Anke van Zuylen.

Additional information

A preliminary version of this paper appeared in LATIN 2012: Theoretical Informatics [19]. Some results in the current paper are stronger, using the same techniques as in [19]. The first author was supported in part by NSF grant CCF-1115256. This work was carried out in part while the third author was on sabbatical at TU Berlin, and the fourth author was at Max-Planck-Institut für Informatik in Saarbrücken, Germany. The third author was supported in part by the Berlin Mathematical School, the Alexander von Humboldt Foundation, and NSF Grant CCF-1115256.

Appendices

Appendix 1: Proof of Lemma 3

We now prove Lemma 3 from Sect. 4.

Lemma 5

If \( OPT (\text{ SUBT }) < n+1\), then the difference between the cost of the 2M used and the tour constructed by the Papadimitriou–Yannakakis algorithm can be upper bounded by \(\alpha n_{\text {pure}} + \beta (n_{\text {non-pure}}-\ell )\), where \(n_{\text {pure}}\) is the number of nodes in pure cycles in the 2M, \(n_{\text {non-pure}}\) is the number of nodes in the non-pure cycle, and \(\ell \) is the number of edges of cost \(2\) in the non-pure cycle, for any values of \(\alpha , \beta \) so that \(9\alpha \ge 2\) and \(3\alpha + 2\beta \ge 1\).

Proof

Recall from Sect. 2 that the Papadimitriou–Yannakakis algorithm starts by finding a maximum cardinality bipartite matching in a graph which has a node for each pure cycle on one side, and a node for each node in the instance on the other side. There is an edge \((C,i)\) if \(i\not \in C\), and there exists some node \(j\) in \(C\) such that \((i,j)\) is an edge of cost 1.

In Lemma 1, we show that \( OPT (\text{ SUBT })\ge n+r\), where \(r\) is the number of pure cycles that are not matched in the maximum cardinality bipartite matching. Hence, the assumption that \( OPT (\text{ SUBT })<n+1\) implies that all the pure cycles are matched. In order to show that this implies the lemma, we will repeat some key parts of the algorithm and analysis of Papadimitriou and Yannakakis.

Consider the directed graph \(F=({\fancyscript{C}},A)\) which has a node for every cycle in the 2M, and an arc \((C,C')\) if the maximum cardinality bipartite matching contains an edge from cycle \(C\) to a node \(i\) in cycle \(C'\). Each node in \(F\) that corresponds to a pure cycle has outdegree 1, and the non-pure cycle (if it exists) has outdegree 0. Papadimitriou and Yannakakis show how to find a spanning subgraph of \(F'\) of \(F\) such that each nontrivial component is an in-tree of depth one or a path of length two. The only possible trivial component is the node that corresponds to the non-pure cycle. Since the non-pure cycle has outdegree 0, it can only occur in a nontrivial component as the root of an in-tree, or as the endpoint of a path of length two. It turns out that the latter does not happen in the construction described by Papadimitriou and Yannakakis, but even if it did, we could just remove the last edge in the length-two path to obtain one in-tree of depth one and one trivial component containing the non-pure cycle. Hence, we may assume the non-pure cycle only occurs in a nontrivial component as the root of an in-tree.

Papadimitriou and Yannakakis now merge the cycles in one component of \(F'\) into a single cycle containing at least one edge of cost 2 as follows: If the component is an in-tree of depth one, let \(C\) be the cycle corresponding to the root, let \(C_1, \ldots , C_m\) be the remaining cycles in the component, and let \(v_i\) be the node in \(C\) such that \((C_i,v_i)\) was in the bipartite matching. We consider the nodes in \(C\) in clockwise order, starting from a node \(v\ne v_i\) for \(i=1, \ldots , m\) if such a node exists, and an arbitrary node \(v\) otherwise. If we encounter two adjacent nodes \(v_i,v_j\) in \(\{v_1, \ldots , v_m\}\), then we merge the corresponding cycles \(C_i\) and \(C_j\) with \(C\) according to (a) in Fig. 3. Otherwise, if the current node is \(v_j\) but its clockwise neighbor is not or if its clockwise neighbor is the first node \(v\), then we merge \(C_j\) with \(C\) as in (b) in Fig. 3. Finally, if the component is a path of length two, we merge the three cycles as in (c) in Fig. 3. Note that each cycle in the resulting graph contains at least one edge of cost 2, and hence we can find a tour of the same cost by removing the edges of cost 2, and arbitrarily connecting the resulting paths into a tour.

Fig. 3
figure 3

The three cases for merging cycles in [18] (Figure 2 in [18]). The black edges indicate edges of cost 1, and the grey edges (potentially) have cost 2

We now show that the number of edges of cost 2 that are added by merging cycles according to Fig. 3 can be upper bounded by \(\alpha n_{\text {pure}} + \beta (n_{\text {non-pure}}-\ell )\), provided that \(\alpha \) and \(\beta \) are so that \(9\alpha \ge 2\) and \(3\alpha + 2\beta \ge 1\).

We say a node is involved in a merging if it is either a node in one of the cycles that are fully drawn in Fig. 3, or if it is node \(v\) or \(v_i\) in subfigure (b). Note that each node is involved in at most one merging. Recall that the non-pure cycle can only occur as the root of a 1-tree of depth one or as a trivial component in \(F'\), and hence, only the partially drawn cycle in (a) and (b) is (potentially) a non-pure cycle.

We now examine each of the cases (a), (b) and (c) in Fig. 3 in turn. In Fig. 3a one edge of cost 2 is added and we can charge this edge to the (at least) 6 nodes from pure cycles involved in this merging, as long as \(6\alpha \ge 1\). This is indeed the case, because we have the stronger requirement that \(9\alpha \ge 2\). In (b), again, one edge of cost 2 is added, and we can charge the edge to the (at least) three nodes of the pure cycle involved in the merging and the 2 nodes of the (potentially) non-pure cycle involved in the merging, as long as \(3\alpha + 2\beta \ge 1\) (in case the 2 nodes were part of the non-pure cycle), and \(5\alpha \ge 1\) (in case the 2 nodes were part of a pure cycle). Finally, in Fig. 3c, two edges of cost 2 are added; we can charge the two edges to the (at least) nine nodes from pure cycles involved in the merging as long as \(9 \alpha \ge 2\).

Hence, we have shown that difference in cost between the tour and the 2M can be charged to the nodes, in such a way that each node is charged at most once, and a node in a pure cycle is charged at most \(\alpha \) and a node in a non-pure cycle is charged at most \(\beta \).

Finally, we remark that a node in a non-pure cycle is charged only in case (b). Now, if \((v_i,v)\) in Fig. 3b is an edge of cost 2, then there is no need to charge any nodes, since the cost after merging is the same as before the merge. Hence, if we direct all edges of the non-pure cycle in clockwise direction, then the head of the edges of cost 2 is never charged. The total chage to the nodes in the non-pure cycle is therefore at most \(\beta (n_{\text {non-pure}}-\ell )\).\(\square \)

Appendix 2: Proof of Corollary 1

We now show that the worst-case integrality gap for the subtour LP for the 1,2-TSP can be found on graphs of cost 1 edges that are biconnected, as stated in Corollary 1 in Sect. 5. Let \( OPT (G)\) and \(\text{ SUBT }(G)\) be the cost of the optimal tour and the value of the subtour LP (respectively) when \(G\) is the graph of cost 1 edges. We start by proving that the worst case is obtained on a connected graph.

Lemma 6

Let \(G=(V,E)\) be the graph of cost \(1\) edges in a \(1\),\(2\)-TSP instance. Then if \(G=(V,E)\) is not connected, there exists a connected graph \(G'=(V',E')\) with \(|V'|=|V|+1\) such that \( OPT (G)/\text{ SUBT }(G) \le OPT (G')/\text{ SUBT }(G')\).

Proof

Suppose \(G\) has more than one connected component. We create \(G'=(V',E')\) by adding a new vertex \(i^*\) to the graph, and adding edges from all \(j \in V\) to \(i^*\) so that \(V' = V \cup \{ i^* \}\) and \(E' = E \cup \{ (i^*,j): j \in V \}\). Given a tour of \(G'\), we can easily produce a tour of \(G\) of no greater cost by shortcutting \(i^*\), so that \( OPT (G) \le OPT (G')\). Let \(x\) be an optimal solution to the subtour LP for the graph \(G\). We now define a solution \(x'\) for \(G'\), where \(x'_{ij} = x_{ij}\) if \(i\) and \(j\) are in the same connected component of \(G\), while if \(i\) and \(j\) are in different connected components of \(G\), then we set \(x'_{ij} = 0, x'_{i^*i}=x_{ij}\), and \(x'_{i^*j} = x_{ij}\). It is easy to see that the cost of \(x'\) is the same as that of \(x\). We now argue that there is some solution \(x''\) feasible for the subtour LP on \(G'\) such that its cost is no greater, so that \(\text{ SUBT }(G') \le \text{ SUBT }(G)\). It is clear that the bounds constraints (3) are satisfied for \(x'\) and the degree constraints (1) are satisfied for \(x'\) for all \(i \in V\); however, the degree constraint for \(i^*\) may not be satisfied. Since for any component \(C \subseteq V\) of \(G, x(\delta (C)) \ge 2\), it is clear that \(x'(\delta (i^*)) \ge 2\), but it may be the case that \(x'(\delta (i^*)) > 2\). For the subtour constraints (2), consider any \(S \subset V', S \ne \emptyset \), such that \(i^* \notin S\). Then \(x'(\delta (S)) \ge x(\delta (S)) \ge 2\), and for any \(S \subseteq V'\) with \(i^* \in S, S \ne \{i^*\}, x'(\delta (S)) = x'(\delta (V'-S)) \ge 2\) by the previous argument. Finally, Goemans and Bertsimas [11] have shown (see also Williamson [23]) that if edge costs obey the triangle inequality, and there is some solution \(x'\) to the subtour LP in which degree constraints are exceeded but all other constraints are met, then there is another feasible solution \(x''\) of no greater cost in which all constraints are satisfied. Hence we have that \(\text{ SUBT }(G') \le \text{ SUBT }(G)\). Thus we have that \( OPT (G)/\text{ SUBT }(G) \le OPT (G')/\text{ SUBT }(G')\).\(\square \)

Lemma 7

Let \(G=(V,E)\) be the graph of cost \(1\) edges in a \(1\),\(2\)-TSP instance. Then if \(G=(V,E)\) is connected but not biconnected, there exists a biconnected \(G'=(V',E')\) with \(|V'|=|V|+1\) such that \( OPT (G)/\text{ SUBT }(G) \le OPT (G')/\text{ SUBT }(G')\).

Proof

By hypothesis we assume that the graph \(G=(V,E)\) is connected. Let \(i_1, \ldots , i_k\) be all the cut vertices of \(G\), and let \(C_1,\ldots , C_\ell \) be all the connected components formed when these vertices are removed, so that \(C_1,\ldots ,C_\ell , \{ i_1 \},\ldots , \{ i_k \}\) form a partition of \(V\). We create a new graph \(G'=(V',E')\) by adding a new vertex \(i^*\), and adding edges from \(i^*\) to each vertex in \(C_1 \cup \cdots \cup C_\ell \), so that \(V' = V \cup \{ i^* \}\) and \(E' = E \cup \{ (i^*,j): j \in C_p\,\text{ for } \text{ some }\,p \}\). We note that \(G'\) is biconnected. As before, we have \( OPT (G) \le OPT (G')\) since given a tour of \(G'\) we can shortcut \(i^*\) to get a tour of \(G\). Let \(x\) be an optimal subtour LP solution for graph \(G\). We now argue, as we did in the proof of Lemma 6, that we can create an \(x'\) that costs no more than \(x\) such that all the subtour and bounds constraints are obeyed, and all degree constraints are either met or exceeded; this will imply that \(\text{ SUBT }(G') \le \text{ SUBT }(G)\), and complete the proof. Suppose without loss of generality that removing cut vertex \(i_1\) creates components \(C_1\) and \(C = C_2 \cup \cdots \cup C_\ell \cup \{ i_2 \} \cup \cdots \cup \{ i_k \}\), so that \(C_1, \{ i_1 \}\), and \(C\) partition \(V\). We set \(x'_{ij} = 0\) and \(x'_{i^*i}=x'_{i^*j}=x_{ij}\) if \(i \in C_1\) and \(j \in C\); \(x'_{ij} = x_{ij}\) otherwise. If \(i \in C_1\) and \(j \in C\), then \((i,j) \notin E\) since \(i_1\) is a cut vertex, so the cost of \(x'\) is no more than that of \(x\). The arguments that all constraints are satisfied except for the degree constraint on \(i^*\) follow as in the proof of Lemma 6. We now must argue that \(x'(\delta (i^*)) \ge 2\). To do this, we show that \(\sum \nolimits _{i \in C_1, j \in C} x_{ij} \ge 1\). Since \(x(\delta (i_1)) = 2\), it must be the case that either \(\sum \nolimits _{j \in C} x_{i_1j} \le 1\) or \(\sum \nolimits _{j \in C_1} x_{i_1j} \le 1\); without loss of generality we assume the former is true. Then since \(x(\delta (C_1 \cup \{ i_1 \})) \ge 2\), and \(x(\delta (C_1 \cup \{ i_1 \})) = \sum \nolimits _{j \in C} x_{i_1j} + \sum \nolimits _{i \in C_1, j \in C} x_{ij}\), it follows that \(\sum \nolimits _{i \in C_1, j \in C} x_{ij} \ge 1\), and the proof is complete. \(\square \)

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Qian, J., Schalekamp, F., Williamson, D.P. et al. On the integrality gap of the subtour LP for the 1,2-TSP. Math. Program. 150, 131–151 (2015). https://doi.org/10.1007/s10107-014-0835-4

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10107-014-0835-4

Keywords

Mathematics Subject Classification

Navigation