Subtour Elimination Constraints Imply a Matrix-Tree Theorem SDP Constraint for the TSP
Samuel C. Gutekunst, David P. Williamson

TL;DR
This paper demonstrates that a semidefinite programming constraint for the TSP, based on the matrix-tree theorem, is implied by the subtour elimination constraints, linking SDP and LP relaxations.
Contribution
It shows that the matrix-tree theorem-based SDP constraint is implied by the subtour elimination linear constraints in TSP relaxations.
Findings
SDP constraint holds for any weighted 2-edge-connected graph.
The SDP constraint is implied by subtour elimination linear constraints.
Finite linear inequalities imply the SDP constraint.
Abstract
De Klerk, Pasechnik, and Sotirov give a semidefinite programming constraint for the Traveling Salesman Problem (TSP) based on the matrix-tree Theorem. This constraint says that the aggregate weight of all spanning trees in a solution to a TSP relaxation is at least that of a cycle graph. In this note, we show that the semidefinite constraint holds for any weighted 2-edge-connected graph and, in particular, is implied by the subtour elimination constraints of the subtour elimination linear program. Hence, this semidefinite constraint is implied by a finite set of linear inequality constraints.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Subtour Elimination Constraints Imply a Matrix-Tree Theorem SDP Constraint for the TSP
Samuel C. Gutekunst and David P. Williamson
Abstract
De Klerk, Pasechnik, and Sotirov [4] give a semidefinite programming constraint for the Traveling Salesman Problem (TSP) based on the matrix-tree Theorem. This constraint says that the aggregate weight of all spanning trees in a solution to a TSP relaxation is at least that of a cycle graph. In this note, we show that the semidefinite constraint holds for any weighted 2-edge-connected graph and, in particular, is implied by the subtour elimination constraints of the subtour elimination linear program. Hence, this semidefinite constraint is implied by a finite set of linear inequality constraints.
1 Introduction and The Matrix-Tree Theorem
The Traveling Salesman Problem (TSP) is a fundamental problem in combinatorial optimization and a canonical NP-hard problem. Efficiently computable relaxations of the TSP are used to find optimal and near-optimal TSP solutions, and recently, several relaxations based on semidefinite programs (SDPs) have been proposed (see, e.g., Cvetković, Čangalović, and Kovačević-Vujčić [2], de Klerk, Pasechnik, and Sotirov [4], and de Klerk and Sotirov [5]).
A common source of SDP constraints for the TSP is spectral graph theory: the SDP of Cvetković et al. [2] is based on algebraic connectivity, and de Klerk et al. [4] give a constraint based on Kirchoff’s matrix-tree theorem. Goemans and Rendl [6] show that the constraints used in the SDP relaxation of Cvetković et al. [2] are implied by the canonical TSP relaxation, the subtour elimination linear program (see Equation (1) below for the precise definition of this linear program). In this note we show that the matrix-tree theorem constraint of de Klerk et al. [4] is also implied by the subtour elimination linear program constraints.
The matrix-tree theorem dates back to the mid-19th century (Kirchoff [10]) and connects the number of spanning trees of a graph to the Laplacian matrix of that graph. Let be a simple, undirected graph, and suppose each edge has weight Let be the corresponding weighted adjacency matrix, so that has zero diagonal and The Laplacian of is the matrix defined entrywise as
[TABLE]
Suppose that is the set of spanning trees of . The matrix-tree theorem is the remarkable result that any principal minor of (i.e., the determinant of the matrix obtained by removing the th row and column of for any ) equals In the case that for every edge in , the term counts the number of spanning trees of . See Theorem VI.29 in [13], e.g., for a proof of this general version of the matrix-tree theorem.
De Klerk et al. [4] notice that any Hamiltonian cycle on vertices has spanning trees (delete any individual edge). They use the matrix-tree theorem to derive a constraint for SDP relaxations of the TSP saying that “the aggregate weight of spanning trees is at least .” We show that this constraint is implied by constraints in the subtour elimination linear program:
Theorem 1.1**.**
Let be a feasible solution to the subtour LP (1) and let be the complete graph. Let be the symmetric matrix where and for all . Then satisfies the matrix-tree theorem constraint:
[TABLE]
Our results show that the matrix-tree theorem constraint (requiring linear matrix inequalities) of de Klerk et al. [4] is weaker than the subtour LP (using just linear inequalities). They can also be stated more generally: any graph that is 2-edge-connected in a weighted sense (i.e. for every ) satisfies Our result follows from a theorem of Ok and Thomassen [12] that lower-bounds the number of spanning trees in an unweighted, loopless, undirected multigraph. In Section 2, we provide background on the TSP and relaxations. In Section 3 we then state the theorem from Ok and Thomassen [12] and use it to deduce Theorem 1.1.
2 Preliminaries
The Traveling Salesman Problem can be stated as follows. Let be the complete graph on For each , associate an edge cost (interpreted as the cost of traveling from vertex to vertex or vice versa). The TSP is to find a minimum-cost tour on visiting every vertex exactly once, i.e., to find a minimum-cost Hamiltonian cycle on with respect to the edge costs.
The prototypical TSP relaxation is the the subtour elimination linear program (also referred to as the Dantzig-Fulkerson-Johnson relaxation [3] and the Held-Karp bound [9], and which we will refer to as the subtour LP). For , denote the set of edges with exactly one endpoint in by and let For let denote the sum of over those edges in : The subtour LP is:
[TABLE]
The subtour LP is a relaxation of the TSP because 1) every Hamiltonian cycle has a corresponding feasible solution to the subtour LP, and 2) the value of the subtour LP for such a feasible solution equals the cost of the corresponding Hamiltonian cycle.
Significant recent research has gone into developing relaxations instead based on semidefinite programs (SDPs). See, e.g., Cvetković, Čangalović, and Kovačević-Vujčić [2] (who both introduce an SDP relaxation based on algebraic connectivity), de Klerk, Pasechnik, and Sotirov [4] (who introduce an SDP relaxation based on the theory of association schemes and give the matrix-tree theorem-based SDP constraint), and de Klerk and Sotirov [5] (who use symmetry reduction to strengthen the SDP of de Klerk et al. [4]). Various results have characterized the performance of these SDPs (Goemans and Rendl [6], Gutekunst and Williamson [7], and Gutekunst and Williamson [8]).
The TSP SDP relaxations generally have some symmetric matrix variable that can be interpreted as a weighted adjacency matrix. There are typically constraints enforcing that and since is symmetric, can be thought of as the weight on edge . In a feasible solution to the SDP relaxation taking on integral values, constraints force to be the weighted adjacency matrix of a Hamiltonian cycle. There are generally constraints that directly enforce that is 2-regular in a weighted sense: every row of sums to 2, in analogy to the subtour LP constraints that . If is the graph with edge weights the constraints imply that the corresponding Laplacian matrix to is . Throughout we treat as the weighted adjacency matrix of a complete graph where edges can have weight zero.111Any spanning tree containing an edge of weight zero has and doesn’t contribute to . We can let without loss of generality, as any other graph can be extended to the complete graph by placing a weight of zero on all missing edges; the weighted adjacency matrix, Laplacian, and aggregate spanning tree weight will not change.
Let denote the matrix obtained by deleting the th row and column of . Note that is positive semidefinite, so is positive semidefinite for all . De Klerk et al. [4]’s observation that a Hamiltonian cycle has spanning trees, together with the aforementioned matrix-tree theorem, allows them to introduce the SDP constraint
[TABLE]
Since the set can be expressed as a linear matrix inequality (see, e.g., Section 3.2 of Nemirovskii [11]), the constraint in Equation (2) can be written as a linear matrix inequality for use in TSP SDP relaxations. De Klerk et al. [4] note that this constraint strengthens a semidefinite programming relaxation of the TSP from Cvetković, Čangalović, and Kovačević-Vujčić [2]. We refer to Equation (2) as the “matrix-tree theorem constraint.”
3 The Matrix-Tree Theorem Constraint
To prove our main result, we will use the following result from Ok and Thomassen [12] which relates edge-connectivity to spanning trees. An unweighted, undirected, loopless multigraph is -edge-connected if is still connected after the removal of any edges.
Theorem 3.1** (Theorem 1 in Ok and Thomassen [12]).**
Let be an weighted, loopless, undirected multigraph that is -edge-connected. Then has at least spanning trees.
We first use it to prove the following:
Proposition 3.2**.**
Let be a weighted simple graph with rational edge weights given by If is an extreme point of the subtour LP (1), then
[TABLE]
Theorem 1.1 will then follow as an immediate consequence.
To prove Proposition 3.2, we start with a symmetric, simple weighted graph with edge weights given by Because is rational, we will be able to scale so that . Then we let be an undirected, loopless, unweighted multigraph with copies of edge . Moreover, if then so that will be -edge-connected. We can then appeal to Theorem 3.1, find a large number of spanning trees, and find corresponding spanning trees in .
We first verify that the aggregate weight of spanning trees in (as an unweighted multigraph with copies of edge ) matches the aggregate weight of spanning trees in (as a weighted simple graph where edge has weight ). To do so, we apply the following lemma iteratively.
Lemma 3.3**.**
Let be a weighted loopless multigraph. Let and let be obtained from by splitting into two copies and assigning nonnegative weights to the edges in so that (and for all other edges in ). Then
[TABLE]
In the proof, we use to denote a partition: means and We also use for set-minus, so that
Proof.
This result follows by partitioning No can contain both and so we write
[TABLE]
where consists of those spanning trees including edge for and consists of those trees including neither nor We analogously partition
[TABLE]
where consists of spanning trees not using and consists of spanning trees using
The trees in and all use exactly one edge (and other than using exactly one of or as , use the exact same other edges). Hence if , then and This process gives a one-to-one correspondence between trees in and see Figure 1. Analogously, Hence:
[TABLE]
We now prove our main theorem in the special case of subtour LP extreme points.
Proof (of Proposition 3.2).
Let be a feasible extreme point of the subtour LP. Then for all with and, moreover, it is well-known that is rational.222Extreme points occur where a certain number of constraints hold with equality. Cramer’s rule, e.g., shows that if the constraints of a linear program have rational coefficients, then every extreme point is rational. This is the case for the subtour LP.
We first convert into a loopless, unweighted multigraph. To do so, suppose that in lowest terms. Let
[TABLE]
Let denote the graph with weights for all and let . Then we make two observations: for all , and properties of deteriminants imply
[TABLE]
To compute we appeal to the matrix-tree theorem; by Lemma 3.3 it is equivalent (in terms of the aggregate weight of spanning trees) to view as a loopless unweighted multigraph where there are copies of edge (so that there are copies of edge , each of weight 1). See Figure 2.
Note that implies that Thus is -edge-connected and by Theorem 3.1, has at least spanning trees; since every edge of has weight 1, the matrix-tree theorem states
[TABLE]
Combining with Equation 3 we have:
[TABLE]
That is,
[TABLE]
and the matrix-tree theorem implies
[TABLE]
We can now show that the matrix-tree theorem constraint (2) holds for any feasible point of the subtour LP. We restate our main theorem in slightly more detail.
Theorem** (Theorem 1.1, restated).**
Let be a feasible solution to the subtour LP (1) and let be the complete graph. Let be the symmetric matrix where and for all . Then satisfies the matrix-tree theorem constraint:
[TABLE]
Equivalently,
[TABLE]
Proof.
The subtour LP is bounded, so that every feasible for the subtour LP can be written as a convex combination of extreme points to the subtour LP. For any extreme point of the subtour LP , let be the matrix where and Feasibility of the subtour LP means for all , so the associated Laplacian is . By Proposition 3.2 and the matrix-tree theorem,
We now show that any convex combination of two extreme points of the subtour LP also satisfies the matrix-tree theorem constraint; extending to general convex combinations is left as an exercise. Note that the determinant is well-known to be log concave on symmetric positive definite matrixes (see, e.g., section 3.1 of Boyd and Vandenberghe [1]) so that for if
Consider two extreme points of the subtour LP, with weighted adjacency matrices and . Denote their graph Laplacians as and respectively. For a graph with weighted adjacency matrix , all principal subminors of are nonnegative so that all principal subminors of are as well: these are just the principal subminors of that include row/column 1 being removed. This implies that . By Proposition 3.2, so that zero cannot be an eigenvalue of or and so both are positive definite. By log-concavity,
[TABLE]
Hence, satisfies the matrix-tree-theorem constraint (2).
Remark 3.4**.**
Note that the proof of Theorem 1.1 for any such that for each with Hence, any with for all such and corresponding weighted adjacency matrix satisfies
[TABLE]
However, it need not be the case that that rows of sum to , so possibly
4 Conclusion
Theorem 1.1 has several implications. Goemans and Rendl [6] show that the subtour LP is stronger than a TSP SDP relaxation of Cvetković et al. [2] in the following sense: Any feasible solution for the subtour LP corresponds to a feasible solution of the same cost for the SDP. Hence, on any given instance, the optimal value of the subtour LP is at least as close to the cost of a TSP solution as the optimal value of the SDP. Theorem 1.1 gives a comparable weakness result for the matrix-tree theorem constraint (2). Moreover, it implies that Goemans and Rendl [6]’s result extends to the case where the matrix-tree theorem constraint (2) is added to the SDP of Cvetković et al. [2]. More generally, our results show that matrix semidefinite inequalities used to impose the matrix-tree theorem are implied by a set of linear inequalities.
Acknowledgments
This work was supported by NSF grant CCF-1908517. This material is also based upon work supported by the National Science Foundation Graduate Research Fellowship Program under Grant No. DGE-1650441. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] S. Boyd and L. Vandenberghe. Convex optimization . Cambridge University Press, 2004.
- 2[2] D. Cvetković, M. Čangalović, and V. Kovačević-Vujčić. Semidefinite programming methods for the symmetric traveling salesman problem. In G. Cornuéjols, R. E. Burkard, and G. J. Woeginger, editors, Integer Programming and Combinatorial Optimization, 7th International IPCO Conference, Graz, Austria, June 9-11, 1999, Proceedings , volume 1610 of Lecture Notes in Computer Science , pages 126–136. Springer, Berlin, 1999.
- 3[3] G. Dantzig, R. Fulkerson, and S. Johnson. Solution of a large-scale traveling-salesman problem. Journal of the Operations Research Society of America , 2(4):393–410, 1954.
- 4[4] E. de Klerk, D. V. Pasechnik, and R. Sotirov. On semidefinite programming relaxations of the traveling salesman problem. SIAM Journal on Optimization , 19(4):1559–1573, 2008.
- 5[5] E. de Klerk and R. Sotirov. Improved semidefinite programming bounds for quadratic assignment problems with suitable symmetry. Mathematical Programming , 133(1):75–91, Jun 2012.
- 6[6] M. Goemans and F. Rendl. Combinatorial optimization. In H. Wolkowicz, R. Saigal, and L. Vandenberghe, editors, Handbook of Semidefinite Programming: Theory, Algorithms, and Applications , pages 343–360. Springer, Boston, 2000.
- 7[7] S. C. Gutekunst and D. P. Williamson. The unbounded integrality gap of a semidefinite relaxation of the traveling salesman problem. SIAM Journal on Optimization , 28(3):2073–2096, 2018.
- 8[8] S. C. Gutekunst and D. P. Williamson. Semidefinite programming relaxations of the traveling salesman problem and their integrality gaps. 2019. Available at https://arxiv.org/abs/1907.09054 .
