The Quadratic Cycle Cover Problem: special cases and efficient bounds
Frank de Meijer, Renata Sotirov

TL;DR
This paper investigates the quadratic cycle cover problem, providing new linearization conditions, bounds, and an iterative algorithm that improves lower bounds and outperforms existing methods.
Contribution
It introduces novel sufficient conditions for linearizability, an iterative bounding procedure, and demonstrates improved bounds over existing methods.
Findings
The iterative bounding algorithm computes the best linearizable matrix.
The classical Gilmore-Lawler bound is shown to be a linearization-based bound.
The new bounds outperform existing bounds in quality and efficiency.
Abstract
The quadratic cycle cover problem is the problem of finding a set of node-disjoint cycles visiting all the nodes such that the total sum of interaction costs between consecutive arcs is minimized. In this paper we study the linearization problem for the quadratic cycle cover problem and related lower bounds. In particular, we derive various sufficient conditions for the quadratic cost matrix to be linearizable, and use these conditions to compute bounds. We also show how to use a sufficient condition for linearizability within an iterative bounding procedure. In each step, our algorithm computes the best equivalent representation of the quadratic cost matrix and its optimal linearizable matrix with respect to the given sufficient condition for linearizability. Further, we show that the classical Gilmore-Lawler type bound belongs to the family of linearization based bounds, and…
| Set |
|
(In)equalities which describe the set | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
|||||||||||||
|
|
|
|||||||||||||
|
|
|
|||||||||||||
| bound | time | bound | time | bound | time | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0.1 | 20 | 44 | 923 | 923 | 0.047 | 923 | 0.264 | 923 | 0.051 |
| 25 | 76 | 1039 | 971 | 0.005 | 971 | 0.477 | 999 | 1.227 | |
| 30 | 100 | 1082 | 1066 | 0.013 | 1066 | 0.899 | 1082 | 0.787 | |
| 0.3 | 15 | 61 | 485 | 478 | 0.010 | 478 | 0.635 | 485 | 0.714 |
| 20 | 118 | 438 | 377 | 0.031 | 384 | 1.265 | 390 | 77.21 | |
| 25 | 172 | 382 | 291 | 0.050 | 295 | 2.531 | 295 | 869.0 | |
| 0.5 | 15 | 116 | 226 | 215 | 0.034 | 215 | 1.407 | 215 | 90.39 |
| 20 | 177 | 255 | 189 | 0.059 | 190 | 12.05 | 190 | 2105 | |
| 25 | 306 | n.a. | 172 | 0.516 | 173 | 353.6 | n.a. | 3600 | |
| 0.7 | 15 | 149 | 173 | 127 | 0.017 | 128 | 0.986 | 128 | 580.5 |
| 20 | 263 | n.a. | 116 | 0.094 | 116 | 7.778 | n.a. | 3600 | |
| 25 | 396 | n.a. | 129 | 0.194 | 129 | 18.26 | n.a. | 3600 | |
| bound | time | bound | time | bound | time | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0.1 | 20 | 44 | 923 | 923 | 0.017 | 923 | 0.015 | 923 | 0.088 |
| 25 | 76 | 1039 | 681 | 0.039 | 864 | 4.652 | 1018 | 95.52 | |
| 30 | 100 | 1082 | 781 | 0.053 | 899 | 2.412 | 1082 | 15.18 | |
| 0.3 | 15 | 61 | 485 | 347 | 0.061 | 368 | 1.481 | 485 | 7.140 |
| 20 | 118 | 438 | 223 | 0.068 | 263 | 3.482 | 418 | 3600 | |
| 25 | 172 | 382 | 176 | 0.136 | 190 | 5.105 | 276 | 3600 | |
| 0.5 | 15 | 116 | 226 | 102 | 0.336 | 110 | 2.602 | 222 | 1835 |
| 20 | 177 | 255 | 93 | 0.118 | 103 | 5.365 | 169 | 3600 | |
| 25 | 306 | n.a. | 66 | 0.296 | 75 | 13.80 | 105 | 3600 | |
| 0.7 | 15 | 149 | 173 | 63 | 0.080 | 67 | 3.530 | 117 | 1236 |
| 20 | 263 | n.a. | 52 | 0.181 | 54 | 9.624 | 63 | 269.3 | |
| 25 | 396 | n.a. | 56 | 0.365 | 62 | 18.77 | 79 | 1085 | |
| value | time | value | time | value | time | value | time | value | time | |||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0.3 | 20 | 119 | 319 | 10.28 | 301 | 4.825 | 289 | 102.3 | 260 | 0.020 | 285 | 3600 |
| 25 | 177 | 386 | 19.04 | 331 | 20.09 | 331 | 928.9 | 305 | 0.040 | 280 | 3600 | |
| 30 | 280 | n.a. | 3600 | 284 | 70.62 | n.a. | 3600 | 274 | 0.134 | 185 | 3600 | |
| 0.5 | 20 | 195 | 236 | 211.0 | 181 | 17.00 | n.a. | 3600 | 175 | 0.121 | 129 | 3600 |
| 25 | 327 | n.a. | 3600 | 141 | 82.52 | n.a. | 3600 | 136 | 0.233 | 89 | 3600 | |
| 30 | 442 | n.a. | 3600 | 168 | 385.0 | n.a. | 3600 | 162 | 0.322 | 99 | 3600 | |
| Instance | value | time | value | time | value | time | value | time | value | time | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 25 | 50 | 103 | 0.483 | 103 | 1.534 | 103 | 1.484 | 103 | 0.006 | 103 | 5.756 | |
| 100 | 200 | 418 | 2.335 | 418 | 1.974 | 418 | 1645 | 418 | 0.022 | 371 | 16.06 | |
| 64 | 192 | 199 | 6.312 | 193 | 9.415 | 196 | 691.4 | 193 | 0.081 | 175 | 3600 | |
| 216 | 648 | 700 | 23.67 | 683 | 1152 | n.a. | 3600 | 683 | 0.568 | 551 | 3600 | |
| 512 | 1536 | 1566 | 394.1 | n.a. | 3600 | n.a. | 3600 | 1530 | 1.213 | n.a. | 3600 | |
| 1000 | 3000 | n.a. | 3600 | n.a. | 3600 | n.a. | 3600 | 3113 | 3.754 | n.a. | 3600 | |
| value | time | value | time | value | time | value | time | value | time | |||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0.3 | 20 | 114 | 474 | 2.490 | 474 | 1.719 | 474 | 416.5 | 474 | 0.002 | 474 | 64.35 |
| 25 | 180 | 553 | 323.9 | 553 | 4.119 | n.a. | 3600 | 552 | 0.004 | 553 | 1559 | |
| 30 | 261 | 512 | 2951.0 | 512 | 19.52 | n.a. | 3600 | 512 | 0.079 | 494 | 3600 | |
| 0.5 | 20 | 190 | 276 | 177.8 | 276 | 6.732 | n.a. | 3600 | 276 | 0.053 | 274 | 1319 |
| 25 | 300 | 342 | 2163.6 | 340 | 53.43 | n.a. | 3600 | 338 | 0.142 | 320 | 3600 | |
| 30 | 435 | n.a. | 3600 | 381 | 490.5 | n.a. | 3600 | 377 | 0.332 | 355 | 3600 | |
| value | time | value | time | value | time | value | time | |||
|---|---|---|---|---|---|---|---|---|---|---|
| 0.3 | 30 | 284 | 111 | 0.272 | 122 | 0.435 | 230 | 0.083 | 232 | 0.766 |
| 40 | 468 | 117 | 0.645 | 131 | 1.006 | 265 | 0.179 | 278 | 1.711 | |
| 50 | 754 | 121 | 1.598 | 130 | 2.410 | 267 | 0.404 | 274 | 4.184 | |
| 60 | 1062 | 103 | 4.068 | 118 | 5.788 | 272 | 0.726 | 272 | 8.048 | |
| 70 | 1481 | 114 | 8.910 | 123 | 12.94 | 255 | 1.660 | 258 | 15.38 | |
| 80 | 1842 | 113 | 14.26 | 122 | 20.82 | 263 | 2.740 | 267 | 24.67 | |
| 90 | 2385 | 114 | 23.25 | 122 | 37.61 | 259 | 5.296 | 261 | 41.74 | |
| 100 | 2962 | 119 | 36.03 | 126 | 63.49 | 269 | 13.32 | 270 | 69.90 | |
| 0.5 | 30 | 434 | 73 | 0.557 | 79 | 0.783 | 161 | 0.182 | 163 | 9.218 |
| 40 | 793 | 69 | 1.607 | 74 | 2.364 | 166 | 0.554 | 169 | 10.38 | |
| 50 | 1197 | 72 | 4.323 | 77 | 6.682 | 165 | 1.185 | 167 | 15.74 | |
| Instance | value | time | value | time | value | time | ||
|---|---|---|---|---|---|---|---|---|
| 400 | 800 | 1237 | 5.31 | 1472 | 7.491 | 1537 | 0.100 | |
| 900 | 1800 | 2813 | 56.24 | 3343 | 86.46 | 3517 | 0.410 | |
| 1600 | 3200 | 5101 | 346.8 | 6028 | 553.5 | 6302 | 1.388 | |
| 2500 | 5000 | 7983 | 1225.3 | 9424 | 1897.8 | 9828 | 2.838 | |
| 4913 | 14739 | n.a. | 1800 | n.a. | n.a. | 15398 | 54.79 | |
| value | time | value | time | value | time | value | time | |||
|---|---|---|---|---|---|---|---|---|---|---|
| 0.3 | 30 | 261 | 456 | 0.238 | 467 | 0.410 | 525 | 0.054 | 525 | 6.957 |
| 40 | 468 | 507 | 0.693 | 516 | 0.984 | 567 | 0.463 | 567 | 7.795 | |
| 50 | 735 | 622 | 1.567 | 631 | 2.223 | 709 | 0.317 | 709 | 9.982 | |
| 60 | 1062 | 609 | 3.684 | 618 | 5.401 | 684 | 0.694 | 684 | 13.97 | |
| 70 | 1449 | 656 | 7.436 | 666 | 12.37 | 746 | 1.331 | 747 | 21.63 | |
| 80 | 1896 | 749 | 13.03 | 756 | 23.77 | 867 | 2.613 | 867 | 31.96 | |
| 90 | 2403 | 815 | 20.33 | 826 | 39.99 | 933 | 4.838 | 933 | 48.81 | |
| 100 | 2970 | 810 | 30.35 | 823 | 66.04 | 951 | 12.50 | 952 | 78.62 | |
| 0.5 | 30 | 435 | 339 | 0.516 | 343 | 0.876 | 373 | 0.168 | 373 | 16.59 |
| 40 | 780 | 411 | 1.456 | 418 | 2.386 | 464 | 0.474 | 464 | 16.21 | |
| 50 | 1225 | 466 | 4.159 | 473 | 7.550 | 534 | 1.177 | 535 | 22.34 | |
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.
The Quadratic Cycle Cover Problem: special cases and efficient bounds
Frank de Meijer CentER, Department of Econometrics and OR, Tilburg University, The Netherlands, [email protected]
Renata Sotirov Department of Econometrics and OR, Tilburg University, The Netherlands, [email protected]
Abstract
The quadratic cycle cover problem is the problem of finding a set of node-disjoint cycles visiting all the nodes such that the total sum of interaction costs between consecutive arcs is minimized. In this paper we study the linearization problem for the quadratic cycle cover problem and related lower bounds.
In particular, we derive various sufficient conditions for the quadratic cost matrix to be linearizable, and use these conditions to compute bounds. We also show how to use a sufficient condition for linearizability within an iterative bounding procedure. In each step, our algorithm computes the best equivalent representation of the quadratic cost matrix and its optimal linearizable matrix with respect to the given sufficient condition for linearizability. Further, we show that the classical Gilmore-Lawler type bound belongs to the family of linearization based bounds, and therefore apply the above mentioned iterative reformulation technique. We also prove that the linearization vectors resulting from this iterative approach satisfy the constant value property.
The best among here introduced bounds outperform existing lower bounds when taking both quality and efficiency into account.
Keywords: quadratic cycle cover problem, linearization problem, equivalent representations, Gilmore-Lawler bound
1 Introduction
A disjoint cycle cover in a directed graph is a set of node-disjoint cycles such that every node is on exactly one cycle. The quadratic cycle cover problem (QCCP) is the problem of finding a disjoint cycle cover in a graph such that the total sum of interaction costs between consecutive arcs is minimized. Since we assume that all cycle covers in this paper are disjoint, we use the term cycle cover to denote this concept throughout this work. The QCCP is proven to be -hard [21]. The corresponding linear problem is called the cycle cover problem (CCP), in which one wants to find a minimum cycle cover with respect to linear arc costs. It is well known that the CCP is solvable in polynomial time.
In the literature several special cases with respect to the objective function of the QCCP are considered. In the angular metric cycle cover problem (Angle-CCP) the quadratic costs represent the change of the direction induced by two consecutive arcs. The goal of Angle-CCP is to find a cycle cover of the graph while minimizing the total angular costs. The Angle-CCP has applications in robotics [4]. In the same paper it is shown that Angle-CCP is -hard. Only recently Galbiati et al. [14] introduced another special case of the QCCP: the minimum reload cost cycle cover problem (MinRC3). The MinRC3 problem asks for a minimum cycle cover in an arc-colored graph under the reload cost model. A reload cost is an interaction cost that is paid when two arcs of different colors are placed in succession on a cycle. The goal of the MinRC3 problem is to find a cycle cover such that the total reload cost is minimized. The problem is proven to be -hard in the strong sense [14]. The notion of reload costs is introduced by Wirth and Steffan [37], and it has many applications in various fields, e.g. in cargo, energy and telecommunication networks [5, 37]. A detailed overview of the MinRC3 problem and its applications can be found in [7]. Several other combinatorial optimization problems including these reload costs have been investigated [5, 13, 15, 18, 37].
The QCCP is closely related to the quadratic traveling salesman problem (QTSP) which is introduced in [24]. The QTSP is the problem of finding a Hamiltonian cycle in a graph minimizing a quadratic cost function. It has applications in bioinformatics, robotics and telecommunication [20]. When we remove the subtour elimination constraints, the QTSP boils down to the QCCP. Therefore, the QCCP is often used to provide lower bounds for the QTSP [20, 24, 36]. For this reason, the quadratic cycle cover problem is an interesting optimization problem that has received more attention in the past few years.
Several papers have been written about solution methods for the QCCP or its related problems. Jäger and Molitor [24] introduced the QCCP in order to use the QCCP bounds as lower bounds in a branch-and-bound algorithm for the QTSP. Staněk et al. [36] use the QCCP in combination with a rounding procedure to construct heuristics for the QTSP. Aggarwal et al. [4] provide a -approximation algorithm for the Angle-CCP. Fischer [19] studies the polyhedral properties of the QCCP by proving that some triangle inequalities are facet-defining. Galbiati et al. [14] derive various integer programming formulations for the MinRC3 problem. They exploit one of those formulations together with a column generation approach to compute lower bounds for the original problem. Moreover, in [14] a local search algorithm based on 2-exchange and 3-exchange neighbourhoods is constructed to compute upper bounds for the MinRC3 problem. Büyükçolak et al. [7] study the MinRC3 problem on complete graphs with an equitable or nearly equitable 2-edge coloring. For these types of graphs (except some special cases) a polynomial time algorithm is derived that constructs a monochromatic cycle cover.
We focus here on the linearization problem of the QCCP and its applications. An instance of the quadratic cycle cover problem is called linearizable if there exists an instance of the linear cycle cover problem such that the associated costs for both problems are equal for all feasible cycle covers. The linearization problem of the quadratic cycle cover problem asks whether a given instance of the QCCP is linearizable. To the best of our knowledge, this is the first paper about the linearization problem of the QCCP.
In the past few years linearization problems have become an active field of research for many combinatorial optimization problems. In [25, 30] the linearization problem of the quadratic assignment problem (QAP) is studied and polynomial time algorithms that solve it are provided. In particular, Kabadi and Punnen [25] (resp. Punnen and Kabadi [30]) present an (resp. ) algorithm for the general (resp. Koopmans-Beckmann) QAP linearization problem, where is the size of the problem. The linearization problem for the quadratic minimum spanning tree problem and the quadratic traveling salesman problem are studied by Ćustić and Punnen [11] and Punnen et al. [32], respectively. Hu and Sotirov [23] develop a polynomial time algorithm that solves the linearization problem of the quadratic shortest path problem on directed graphs.
Main results and outline.
In this paper, we first provide an elegant and compact proof that the quadratic cycle cover problem is strongly -hard and not approximable within any constant factor unless . Then, we consider the linearization problem of the QCCP and derive various sufficient conditions for an instance of the QCCP to be linearizable. In particular, we provide three different types of weak sum conditions on the data matrix for which the corresponding instance can be solved in polynomial time. Further, we present a general framework in which each sufficient condition of linearizability can be used to construct a lower bound on the optimal objective value. Each of these bounds can be computed by a solving a linear programming problem, as long as the set of linearizable matrices is a polyhedron. These types of bounds are called linearization based bounds (LBB), and were recently introduced in [23] for general binary quadratic problems. However, our LBBs exploit sufficient conditions of linearizability suited for the QCCP.
Furthermore, we show how to use a sufficient condition of linearizability within an iterative bounding procedure. In each iteration, we search for the best equivalent representation of the objective and its optimal linearizable matrix that satisfies a particular sufficient condition of linearizability. We refer to the resulting bound as the reformulation based bound (RBB). Our iterative bounding procedure can be seen as a generalization of similar iterative procedures, see e.g., [8, 33, 34].
Finally, we consider the classical Gilmore-Lawler (GL) type bound [16, 28]. First, we show that the GL type bound for the QCCP can be obtained by solving a single linear programming problem instead of solving (integer) subproblems, where equals the number of arcs in the graph. Then, we prove that the GL type bound belongs to the family of linearization based bounds by providing the appropriate sufficient condition. We implement our iterative bounding procedure to compute the RBB using the GL type bound. In the literature, iterative approaches for various problems that are based on the GL type bounds use dual variables to obtain bounds, and do not search for equivalent reformulations that provide best bounds in each iteration. Clearly, our approach outperforms others in terms of strength of the bound. Another interesting result is that the linearization vectors resulting from this iterative procedure satisfy the constant value property. Yet another important property for linearizability.
Our numerical results show that the introduced bounding approaches are efficient and provide strong bounds compared to several methods from the literature. In particular, our most prominent bound can be computed within 60 seconds for instances up to 15000 arcs. Interestingly, the GL type bound that is known to be one of the computationally cheapest bounds for quadratic optimization problems cannot be computed on such large instances.
This paper is organized as follows. In Section 2, we formally introduce the QCCP and prove its -hardness. In Section 3, the linearization problem for the QCCP is introduced and several sufficient conditions for linearizability are derived. The general framework for the computation of the linearization based bounds is discussed in Section 4. These bounds are used in Section 5 to construct an iterative bounding procedure for each sufficient condition. In Section 6, we consider the classical GL type bound and prove that it belongs to the family of linearization based bounds. We also show how the iterative procedure for this linearization based bound boils down to the computation of the strongest GL type bound in each step. In Section 7, we briefly discuss several other bounds from the literature. Numerical results are given in Section 8.
Notation
A directed graph is given by a node set and an arc set . For all nodes we denote by the set of arcs that are leaving . Similarly, denotes the set of arcs that are entering . For all arcs we let and denote the starting and ending node of , respectively. To avoid confusion, the letters and are only used to denote arcs in this work.
For any square matrix , we introduce the operator that maps a matrix to a vector consisting of its diagonal elements. Moreover, we denote by its adjoint operator. That is, for any the matrix equals a diagonal matrix with the entries of on its main diagonal.
2 The Quadratic Cycle Cover Problem
In this section, we formally introduce the quadratic cycle cover problem.
An instance of the QCCP is specified by the pair , where is a directed graph with vertices and arcs and is a quadratic cost matrix. The entries in are such that if is not a successor of . In other words, the quadratic cost of two arcs and can be nonzero only if the starting node of equals the ending node of . In case we also consider linear arc costs, i.e. we have a cost function , we can put these arc costs on the diagonal of the quadratic cost matrix. Therefore, we assume that the cost structure of an instance of the QCCP is fully determined by its quadratic cost matrix.
Now let be a vector with if arc belongs to a cycle cover, and 0 otherwise. Then the QCCP can be formulated as
[TABLE]
where denotes the set consisting of all disjoint cycle covers in , i.e.
[TABLE]
The above set equals the set of directed 2-factors in . For the existence of such a directed 2-factor in a directed graph, see e.g. Chiba and Yamashita [9].
The quadratic cycle cover problem is -hard [21]. Also, the related problems Angle-CCP and the MinRC3 problem are shown to be -hard [4] and strongly -hard [14], respectively. We now provide an alternative reduction that establishes strong -hardness which is based on a reduction from the quadratic assignment problem. We consider the Koopmans-Beckmann form of the QAP introduced in [26]. Let and be a set of facilities and locations, respectively, a weight function and a distance function. Without loss of generality, we assume that for all . Then, we search for a bijection such that is minimized. The QAP is -hard in the strong sense and not approximable within any constant factor [35].
Theorem 1**.**
The is -hard in the strong sense and cannot be approximated within a constant factor unless .
Proof.
Let an instance of the QAP be given, i.e., we consider sets and with , functions and and a positive integer . We create an instance of the QCCP.
For the reduction we create a directed graph that consists of cells. A cell belongs to a single facility and consists of nodes, each of them corresponding to an assignment to one of the locations. For each facility , we define a set of identical cells, which we call a group. The nodes corresponding to the same assignment within a group are placed on a directed cycle. In this way, we obtain cycles per group, which we call inner cycles. We set the interaction cost between each of the successive arcs within a group to zero for all groups. In Figure 1 the group corresponding to facility 1 is given.
We now specify the connections between the groups. Each group is connected to any other group via one of its cells. Since we have groups and each group consists of cells, this results in connections. Connecting the cells of two groups is done by introducing a connection node and a relink node. Starting from the first group, we draw an arc from every node of one of its cells to the connection node. Successively, we draw an arc from the connection node to all the nodes of one of the cells of the second group. The same is done for the relink node, now in the reverse direction. Figure 2 depicts an overview of the connection between the last cell of group and the first cell of group . We denote the cycles between the groups by outer cycles. In Figure 2 solid arcs are used for the outer cycles, while the inner cycles are drawn using dashed arcs. A similar connection via connection and relink nodes exists for all other pairs of groups.
Observe that any arc in either belongs to an inner or an outer cycle. The quadratic cost of a pair of successive arcs where belongs to an inner cycle and to an outer cycle or vice versa, is set to . It remains to specify the interaction cost between successive arcs on an outer cycle. We only specify the quadratic cost between the arcs entering and leaving the connection node, other costs are set to zero.
Let and be two distinct groups associated with facility and , respectively. Let a node in group be given by with . Similarly, a node in group is given by with . Let denote the arc between and the connection node and let denote the arc between the connection node and . Then the quadratic cost between and is defined as follows:
[TABLE]
We repeat this construction for any two connected cells. Figure 3 gives a simplified overview of for . The circles in the center denote the connections between the cells, where the connection and relink nodes are drawn using the symbols ‘’ and ‘’, respectively. The graph has nodes and arcs.
It remains to show that there exists a cycle cover in with cost at most if and only if there exists a feasible assignment in with cost at most .
First, we verify that a cycle cover with finite cost in corresponds to a feasible assignment of facilities and locations. Note that the connection and relink nodes must be covered by an outer cycle, since any other cycle would induce a cost of . Besides the connection and relink node, this cycle contains two nodes that each correspond to an assignment of a different facility. Moreover, these facilities must be assigned to different locations, otherwise this implies an infinite cost. The nodes in a cell that are not covered by an outer cycle must be covered by an inner cycle. Consequently, nodes on these inner cycles cannot belong to an outer cycle. Therefore, for each group exactly one location is ‘chosen’ to be on an outer cycle, i.e., each facility is assigned to some location. Moreover, no two facilities are assigned to the same location, since this would imply a cost of at the connection node connecting these groups. We conclude that a cycle cover with finite cost corresponds to a feasible assignment and vice versa.
Observe that the objective value of a feasible assignment in the QAP instance equals the total cost of the corresponding cycle cover in the QCCP instance. Namely, the latter cost equals the sum of quadratic costs incurred at the connection nodes. If facility (resp. ) where is assigned to location (resp. ) where , then this cost equals . Taking the sum over all connections, the total cost of the cycle cover equals where is the bijection corresponding to the assignment.
We conclude that there exists an assignment for the QAP instance with cost at most if and only if there exists a feasible cycle cover in the corresponding QCCP instance of cost at most . Since the QAP is strongly -hard and the numbers defined in the reduction are polynomially bounded (infinite costs can be replaced by an appropriate value which is polynomially bounded in the largest number and the size of ), we conclude that the QCCP is strongly -hard.
Moreover, as the QAP cannot be approximated within any constant factor [35] and the reduction above is clearly gap preserving, the result follows.
∎
3 The QCCP Linearization Problem
In this section, we formally introduce the linearization problem for the QCCP and derive various sufficient conditions for an instance of the QCCP to be linearizable. Several of these conditions are used later on to construct lower bounds for the optimal value of the QCCP.
Let us consider the (linear) cycle cover problem. Given a cost function , the CCP is the problem of finding a cycle cover of minimum cost. It can be written as follows:
[TABLE]
where is given in (2). Since the constraint set of is totally unimodular, it follows that the CCP is solvable in polynomial time. We call an instance of the QCCP linearizable if there exists a cost vector such that for all cycle covers . If such a vector exists, we call a linearization vector of for the QCCP.
The QCCP linearization problem can be stated as follows: Given an instance of the QCCP, verify whether it is linearizable and, if yes, compute a linearization vector of .
In the remaining part of this section we provide sufficient conditions for the quadratic cost matrix to be linearizable. The first type of sufficient conditions for linearizability are related to the constant value property (CVP) for cost vectors or cost matrices. The definition associated with the CCP is stated below.
Definition 1**.**
A cost matrix satisfies the constant value property if for all cycle covers .
A similar definition holds for the quadratic version of the problem.
Definition 2**.**
A cost matrix satisfies the constant value property if for all cycle covers .
When satisfies the constant value property then is linearizable, as stated by the following proposition.
Proposition 1**.**
Assume that satisfies the constant value property, i.e. where for all , then is linearizable with cost vector defined as for all .
Proof.
For all we have since has exactly nonzero elements. ∎
A more restricted version of the CVP is obtained when the interaction cost of a single arc with its successor or predecessor is constant for all cycle covers . We refer to these properties as the row and column constant value property, respectively. These definitions are based on similar definitions by Punnen et al. [32] for the QTSP.
Definition 3**.**
*A cost matrix satisfies the row CVP if there exists some such that for all arcs we have for all and otherwise.
A cost matrix satisfies the column CVP if there exists some such that for all arcs we have for all and otherwise.*
It is not hard to verify that an instance of the QCCP is linearizable if the cost matrix satisfies the row or column CVP.
Proposition 2**.**
If satisfies the row CVP or the column CVP, then is linearizable.
Proof.
We prove the case when satisfies the row CVP. Assume that is such that for all arcs , for all and otherwise. Since when and are not successors, we know that . We have
[TABLE]
The proof for the column CVP is similar. ∎
A matrix is called a sum matrix if there exist such that for all . A weak sum matrix is a matrix for which this property holds except for the entries on the diagonal, i.e. for all . The weak sum property is used as a condition for linearizability for several quadratic problems, see e.g., [22, 32]. Since in this work we only incur a cost when two arcs are successive, we use a different form of the weak sum condition in which we only put a restriction on successive arcs. We call this condition the incident weak sum property.
Definition 4**.**
A matrix is called incident weak sum if there exist vectors such that for all , and otherwise, i.e. for all pairs of arcs such that is a successor of . If such vectors and exist, these vectors are called supporting vectors of .
If the quadratic cost matrix is an incident weak sum matrix, then is linearizable as stated in the following proposition.
Proposition 3**.**
Let be an incident weak sum matrix with supporting vectors . Then is linearizable with cost vector .
Proof.
We show that for all we have where . Note that since for all arcs that are not successors, we have . Now,
[TABLE]
Here we use the fact that , since is a cycle cover. ∎
From Proposition 3 it follows that the incident weak sum property is a sufficient condition for to be linearizable. By including linear arc costs, this result remains valid, since we only increase the entries on the diagonal of .
Moreover, note that when satisfies the row or column CVP, then is an incident weak sum matrix. Next, we provide a special type of instance for which the cost matrix is not by definition linearizable, but for which we can still obtain its optimal value by solving a linear cycle cover problem.
Definition 5**.**
A matrix is called a symmetric product matrix if for some vector .
Equivalently, we can say that is a symmetric product matrix if it is a symmetric positive semidefinite matrix of rank one. Instances with such a quadratic cost matrix can be solved in polynomial time, as stated in the following proposition.
Proposition 4**.**
If the quadratic cost matrix is a symmetric product matrix, i.e. for some , then the optimal cycle cover can be computed in polynomial time.
Proof.
Let be such that for some . Then,
[TABLE]
Minimizing over all is then equivalent to minimizing over all cycle covers . ∎
Until now we considered instances for which is of the desired type, i.e., when is not a successor of . Below we derive two sufficient conditions for linearizability of a matrix which can have nonzero interaction cost between non-consecutive arcs. Although these cost matrices do not meet the assumptions of the QCCP, we can still use them to derive strong bounds for the objective value of the original problem. This is addressed in Section 4.
Punnen et al. [32] introduce a generalized version of the weak sum property for the QTSP. Their approach can be applied to the QCCP. However, since Punnen et al. [32] prove the condition to hold for complete graphs, we provide a proof for general digraphs.
First, we define some new terminology. Instead of writing for we can also write with . Let denote the set of nodes for which there exists an arc , i.e., . Similarly, let be the set of nodes for which an arc exists, i.e., . Now we can introduce the notion of a generalized weak sum matrix and prove that it is linearizable.
Definition 6**.**
* is called a generalized weak sum matrix if there exist and such that for all with . If such and exist, these matrices are called supporting matrices of .*
Now we can prove the following proposition.
Proposition 5**.**
If is a generalized weak sum matrix with supporting matrices and , then is linearizable with cost vector given by .
Proof.
Let , , , and for all . Then, for ,
[TABLE]
where we use the fact that since is a cycle cover. ∎
Note that an incident weak sum matrix can be seen as a special case of a generalized weak sum matrix. That is, for all we set and for all and for all we set and for all . Moreover, let and be the zero matrix. Then we have for all and otherwise.
When is a generalized weak sum matrix, we need parameters to describe . This number can be reduced by considering a more restricted version of a generalized weak sum matrix.
Definition 7**.**
* is called a restricted generalized weak sum matrix if there exist , and such that for all with and otherwise. If such and exist, these are called supporting matrices and vectors, respectively.*
We can show that restricted generalized weak sum matrices are linearizable.
Proposition 6**.**
If is a restricted generalized weak sum matrix with supporting matrices and supporting vectors , then is linearizable with vector given by .
Proof.
Define and as follows:
[TABLE]
Now the matrices and are such that they satisfy the conditions of Proposition 5. This implies that is linearizable with vector given by . Since and it follows that is linearizable with vector . ∎
4 Linearization Based Bounds for QCCP
In this section we show how the sufficient conditions for linearizability can be used to derive bounds for the optimal value of the QCCP. The construction of these bounds is provided in Section 4.1. Section 4.2 shows some preliminary numerical results of these bounding procedures.
4.1 Construction of Linearization Based Bounds
When an instance of the QCCP is linearizable, we can solve the problem in polynomial time by solving the corresponding linear cycle cover problem. When a quadratic cost matrix is not linearizable, we can still use the sufficient conditions for linearizability to find lower bounds for the optimal value of the problem. This approach is introduced by Hu and Sotirov [23] for general binary quadratic problems. We here use tailor made sufficient conditions for the QCCP, which leads to efficient lower bounds as we show later in the numerical results.
Before we proceed, let us recall the linear cycle cover problem. We introduce the matrix with if node is the starting node of arc and 0 otherwise. Similarly, we define with if node is the ending node of arc and 0 otherwise. Since the matrix is totally unimodular, the optimal value of the CCP using cost vector equals
[TABLE]
where equals the vector of ones. Note that (3) and (4) are equivalent optimization problems. The corresponding dual problem is given in (5).
When is linearizable with linearization vector , we can find the optimal value for the QCCP by computing using (4) or (5). If is not linearizable, we can search for a linearizable matrix that is as close as possible to . To guarantee that is indeed linearizable, it should satisfy one of the sufficient conditions for linearizability derived in Section 3. We define the sets , for , consisting of cost matrices such that is linearizable w.r.t. a sufficient condition for linearizability and is elementwise nonnegative. We have
[TABLE]
Remark 1**.**
We do not consider the sets of cost matrices satisfying the row or column CVP, since these are special types of incident weak sum matrices. These type of matrices are contained in .
can be seen as the set of all the linearizable cost matrices of a specific type that are suitable for obtaining lower bounds for the optimal value of the problem. For this purpose, we define for the set of cost vectors as
[TABLE]
It is clear that for all and all we have
[TABLE]
So, indeed, is a lower bound for the optimal objective value of the QCCP for all and . By maximizing over all cost vectors in , we obtain the strongest linearization based bound with respect to the set , which we denote by , see also [23]:
[TABLE]
The corresponding bounding approaches are denoted by , and , respectively.
Remark 2**.**
Recall that the matrices in and can have nonzero interaction cost for non-consecutive arcs, so they do not satisfy the assumptions on the quadratic cost matrix of the QCCP. Nevertheless, they can still be used to derive lower bounds for the original problem. In other words, we search for the general quadratic cost matrix that is linearizable and as close as possible to that gives us the best lower bound.
As long as the set is a polyhedron, the corresponding bound can be calculated by solving the linear programming problem (6). The sets for are indeed nonempty polyhedra, since they can be described by a finite number of linear equalities and inequalities. These polyhedral descriptions are provided in Table 1.
By construction, we have for all quadratic cost matrices . Consequently, we can establish the following result about the quality of the corresponding linearization based bounds.
Theorem 2**.**
For all instances of the QCCP, we have .
Proof.
The proof follows immediately from the construction of the linearization based bounds and the definitions of the incident weak sum matrix, the restricted generalized weak sum matrix and the generalized weak sum matrix. ∎
Hu and Sotirov [23] argue that the linearization based bounds can be improved by extending the sets using a skew symmetric matrix . That is, since each skew symmetric matrix is linearizable, a matrix is linearizable if and only if is linearizable for all with . Using this, the set can be extended to:
[TABLE]
Note that in we only include skew symmetric matrices whose support corresponds to the pairs of successive arcs in , since adding dense skew symmetric matrices would increase computational complexity. Since , it follows that we can obtain a stronger bound by maximizing over , see Section 8. The same extension can be applied to any set .
4.2 Preliminary Results
In order to check the quality of the bounds derived above, we perform a preliminary numerical study. We create instances according to the Erdős-Rényi model [12]. Here equals the number of nodes and equals the probability that an arc is included. We create instances for various values of and . The interaction cost between any two successive arcs is drawn uniformly at random as an integer from . In Table 2 we present the bounds and and the computational times required for computing them. Experiments are performed using a pc with an Intel(R) Core(TM) i5-6500 CPU, 3.20 GHz and 8 GB memory using CPLEX 12.6 as the solver. The maximum computation time is set to 3600 seconds and we put ‘n.a.’ in the table when this maximum is reached before a solution is obtained.
By construction, the optimal solution has always an integer objective value. Therefore, we round up all bounds to the nearest integer. The results of Table 2 show that the linearization based bounds , and do not differ significantly, especially for the larger instances. At the same time, the computation times differ significantly. It turns out that is most efficient. Therefore, this bound can be preferred when taking both quality and efficiency into account.
5 Reformulated LBB Approach
In this section we discuss how a reformulation of the quadratic cost matrix can be used to obtain a non-decreasing sequence of lower bounds that are based on the linearization based bound. It is important to note that one can construct such a bounding procedure using any sufficient condition for linearizability, not only the ones discussed in Section 4.
Suppose we are given a sufficient condition for linearizability. Let and be as in Section 4, but now for a general sufficient condition. That is, is the set consisting of all linearizable cost matrices of this type with and consists of the corresponding linearization vectors. Moreover, we assume that the set is a polyhedral set. Let be the initial quadratic cost matrix. If , we know there exists some such that for all . This leads to the following reformulation of the objective function
[TABLE]
for all cycle covers . By letting be the zero vector and , this relation can be written as for all . The vector is taken to be the largest linearization of the matrix (see (6)) with being the residual quadratic part. Recall that the bound is calculated by only taking the linear part of this new objective function into account. By construction we have for all and .
Now we can proceed in a similar way by considering the linearization problem of the residual cost matrix . In other words, we search for a linearizable matrix in and its corresponding linearization vector . If we let be the new residual matrix, then the objective function can be reformulated as . Since , a stronger bound can be obtained. This procedure can be repeated to obtain a sequence of bounds. However, it is in general not possible to find a vector for which this bound has strictly improved. That is, since this would imply that is not the optimal solution to (6). Thus, applying this procedure iteratively, the resulting sequence of bounds remains constant after the first iteration. To overcome this issue, we need to reformulate the residual cost matrix in each step.
In the literature, various iterative bounding procedures have been proposed, see e.g., [6, 31, 33, 34]. In this paper we introduce a new approach that is different in two ways. First, the existing bounding procedures are mainly based on the classical Gilmore-Lawler type bound. Our approach is based on general sufficient conditions for linearizability and we can show that the Gilmore-Lawler type bounding procedure is a special case of this approach, see Section 6. Second, the existing bounding procedures mostly use a fixed reformulation of the cost matrix in each iteration. However, using a fixed reformulation is in general not the best one can do. Here, we search for the reformulation of the cost matrix that results in the strongest bound in the next iteration. For this purpose, we define the notion of an equivalent representation of a matrix, see e.g. [31].
Definition 8**.**
Let be an instance of the QCCP. Then is an equivalent representation of if for all .
If there is no confusion about the graph under consideration, we say that is an equivalent representation of . It is easy to verify that a matrix is an equivalent representation of if for all we have . Here, we focus on a specific type of equivalent representation, which we call an -equivalent representation of .
Definition 9**.**
Given , an equivalent representation of is called an -equivalent representation.
In other words, an -equivalent representation is obtained by taking a convex combination of and . Moreover, it follows that if and are equivalent representations, then a linearization of is also a linearization of and vice versa.
Instead of considering the linearization problem of the residual matrix , we can consider the linearization problem of for some . Since has a different structure than , it is in general possible to find a linearizable matrix and a corresponding linearization vector that result in a strictly stronger bound.
As already mentioned above, many approaches in the literature are based on taking a fixed value for , e.g. which corresponds to the case of symmetrizing. This does not give the best bound in general. Instead, we search for that results in the strongest bound in each iteration. Suppose we are in step of the algorithm in which we consider the linearization problem of the residual matrix . Then the optimal equivalent representation of and its corresponding vector can be computed simultaneously by solving the following problem:
[TABLE]
which equals the additional amount of quadratic cost that can be linearized in iteration . Note that if the set is a polyhedron, then is also a polyhedron and the corresponding problem (9) can be solved in polynomial time. For the sufficient conditions mentioned in Section 4 this is indeed the case.
Finally, we provide a new bounding procedure that is based on iteratively finding the best equivalent representation of the residual cost matrix and its optimal linearizable matrix. Starting with , the goal is to find the best linearizable matrix of an equivalent representation of the residual matrix and its corresponding linearization vector . In each iteration we compute by (9) and let which equals the total linearization vector of . The final bound is given by the sum of all ’s, which we call the reformulation based bound. The procedure is given in Algorithm 1.
Remark 3**.**
Note that steps 3 and 4 of Algorithm 1 depend on the specific sufficient condition for linearizability. For instance, for the incident weak sum condition we construct in step 4 the linearizable matrix in the following way for all and otherwise, where are obtained from (9).
Hu and Sotirov [23] show that in the case that the linearizable matrix is in the form for some and , the bound is dominated by the solution of the first level RLT relaxation introduced by Adams and Sherali [2, 3]. Here RLT stands for reformulation linearization technique. In [23] it is moreover shown that the first level RLT bound, denoted by , can be obtained by searching for the optimal linearizable matrix of the form where is a skew symmetric matrix.
Our preliminary numerical results show that the above algorithm does not improve significantly the bound. However, in the next section we show that our approach outperforms known iterative approaches related to the Gilmore-Lawler bounds.
6 The Gilmore-Lawler Type Bound
In this section we consider the classical Gilmore-Lawler type bound. The GL procedure is a well-known approach to construct lower bounds for quadratic 0-1 optimization problems, see e.g. [16, 28, 33, 34]. We provide a compact formulation of the GL type bound that can be used to compute the bound by a single LP-problem, instead of solving subproblems. Moreover, we show that this bound in fact belongs to the family of linearization based bounds. Therefore, based on the results of Section 5, we provide a bounding procedure that computes the best GL type bound in each step of the algorithm. We conclude this section by testing this new bounding procedure on some preliminary test instances.
6.1 The classical GL type bound
In the objective function of the QCCP, see (1), we have the quadratic term for each two arcs placed in succession on a cycle. To get rid of this quadratic term, for each given arc , potentially in the solution, we consider the cycle cover containing with minimum interaction cost with . We denote this minimum contribution of arc to a solution by . In particular, for all we have
[TABLE]
where denotes the th row of the cost matrix . The feasible set of equals the set of all node-disjoint cycle covers containing arc . If this set is empty, then we set equal to 0 since arc cannot contribute to a cycle cover.
Let be the vector consisting of the elements for all . Then the classical GL type bound is obtained by solving the following CCP:
[TABLE]
Note that the constraint matrices of and are totally unimodular. For this reason, we can drop the integrality constraints and solve and for all as linear programming problems.
Besides computing the GL type bound by solving and for all , we can also obtain its value by solving an integer linear programming (ILP) problem. The problem is defined as follows:
[TABLE]
It follows from the constraints that if , then is the characteristic vector of the cheapest cycle cover containing arc and if , then equals the zero vector.
Let be the continuous relaxation of . In this continuous relaxation we can omit the upper bounds on and for all , since it is never optimal to set the value of these variables larger than one. We can compute the GL type bound by solving as stated by the following theorem. This theorem is based on a similar result for the QMST, see [33].
Theorem 3**.**
The optimal value of equals .
Proof.
Let and be the dual variables corresponding to constraints (10), i.e. corresponds to and corresponds to . Similarly, let and be the dual variables corresponding to the first and second equalities of constraints (2), and the dual variable corresponding to constraints (11). The dual problem of is as follows:
[TABLE]
Constraint (15) can be rewritten as for all . In order to maximize the objective function of , we maximize the right hand side of this inequality subject to constraints (13)-(14). This gives for each the following subproblem:
[TABLE]
For each fixed the subproblem given above equals the dual of the continuous relaxation of . By strong duality we know for all . Substitution of this term into constraint (15) gives a rewritten formulation for :
[TABLE]
This problem exactly equals the dual of the continuous relaxation of . Because of strong duality, it follows that the optimal objective value of equals . ∎
We can show that the Gilmore-Lawler type bound for the QCCP in fact belongs to the family of linearization based bounds introduced in Section 4. That is, we can obtain by searching for a linearizable quadratic cost matrix of a specific type that is as close as possible to . The required linearizability condition on is given below, and it differs from the sufficient conditions presented in Section 3.
Proposition 7**.**
If there exists and such that for and for all , then is linearizable with vector given by .
Proof.
Let be defined as for all . Then can be seen as a generalized weak sum matrix where and are equal to the zero matrix, see Definition 6. According to Proposition 5, is linearizable with vector . Since , it follows that is linearizable with vector given by . ∎
Similar to the notation used in Section 4, let denote the set of all linearizable cost matrices that satisfy the conditions of Proposition 7. Moreover, let be the following polyhedron:
[TABLE]
and
[TABLE]
Now we prove the main result of this section which states that the classical Gilmore-Lawler type bound can be seen as a special case of linearization based bound.
Theorem 4**.**
We have .
Proof.
By using the polyhedral description of following from Proposition 7, the optimization problem in (17) can be written as follows:
[TABLE]
We show that this optimization problem is equivalent to , the dual problem of the continuous relaxation of . Take and for all and , where and denote the dual vectors belonging to constraints (10). Similarly, let where equals the dual vector to constraints (11). Finally, let , where and are the dual variables belonging to constraints (2). By substitution of these variables and combining constraints (19) and (22), we obtain the problem , i.e., the dual of . Thus, we have . ∎
Theorem 4 shows that the GL type bound belongs to the family of linearization based bounds. This is also shown by Hu and Sotirov [23] and Rostami et al. [34], however our proof is very different as we exploit the fact that can be obtained by solving an LP problem, i.e., . Additionally, we show here that the computation of the GL type bound is equivalent to the search for the optimal linearizable cost matrix satisfying the properties of Proposition 7.
6.2 The best Gilmore-Lawler type bound
Section 6.1 shows that the calculation of the classical GL type bound fits in the general framework discussed in Section 4. In this section we apply the reformulation procedure of Section 5 to the GL type bound. We also show that our approach outperforms several iterative approaches from the literature.
In order to apply Algorithm 1 to the sufficient condition for linearizability of Proposition 7, we need to define how to calculate for each iteration , see (9). We rewrite the set , see (16), as follows:
[TABLE]
which is clearly a polyhedron. Then for all we calculate the additional amount of quadratic cost that is linearized by solving:
[TABLE]
Note that as opposed to the constraints in (9), we have replaced the constraint by an equality constraint. This does not change the value of . To verify this, suppose we solve (24) using the inequality constraint and let and be the corresponding optimal solutions. Let be such that the inequality constraint is satisfied with strict inequality. Then without changing , we can reduce (and thus ) such that we get equality for . Although it changes the linearization vector , the resulting bound remains equal. To verify this, notice that only the left hand side of constraint (21) is decreased, so the solution is still feasible and the optimal value remains unchanged. From this, it follows that one may replace by an equality constraint and solve as in (24).
Algorithm 1 using (24) to compute and gives a new bounding procedure for the QCCP. We call the resulting bound the reformulated GL type bound () and denote its value by . By construction, it iteratively computes the best Gilmore-Lawler type bound among all equivalent representations of the quadratic cost matrix.
The algorithm proposed in this section satisfies another interesting property, namely the vectors satisfy the constant value property for all . This is an important property for linearizability because the set of linearizable cost matrices for combinatorial optimization problems with interaction costs can be characterized by the constant value property, under certain conditions, see [27].
Theorem 5**.**
All where computed during the approach, satisfy the constant value property, i.e., we have for all feasible cycle covers .
Proof.
We apply a proof by induction on . Note that the vector equals the vector of zeros which trivially satisfies the constant value property.
Now assume that the induction hypothesis is true for iteration , i.e., for all feasible cycle covers . In iteration we solve (24). Let and be the optimal variables for this problem and split with . It follows that . Now let be any feasible cycle cover in . Then we can sum up the rows of this system of equalities for all arcs in the cycle cover implied by :
[TABLE]
where we use the fact that each vertex is visited exactly once on a cycle cover. So the quantity is equal for all . As a result, satisfies the constant value property.
The vector is constructed as with . Since and satisfy the constant value property, it follows that satisfies the constant value property. ∎
Remark 4**.**
Since the GL type bound can be computed both as a linearization based bound and by solving (see Theorem 4), the iterative approach derived in this section can also be defined in terms of . In that case, we iteratively compute and reformulate the quadratic cost matrix using the dual variables of . The details of this equivalent approach can be found in [29].
Since the linearizable matrix of Proposition 7 can be written in the form for some and , it follows from [23] that we have .
6.3 Preliminary Results
For the instances considered in the preliminary results of Section 4, we now test our Gilmore-Lawler type bounds. First, we compute the classical GL type bound, after symmetrizing the quadratic cost matrix . This bound is denoted by . Moreover, we consider the iterative GL type bounding approach where we symmetrize the quadratic cost matrix in each iteration. That is, we apply Algorithm 1 using (24) where instead of optimizing over , we set . We denote this bound by . Finally, we report the bound which is introduced in Section 6.2. The maximum computation time is set at 3600 seconds. The results are given in Table 3.
From Table 3 it follows that the iterative approaches significantly improve the classical GL type bound. Among these iterative approaches, provides much stronger bounds than . We conclude that this new approach of calculating the best GL type bound in each step provides better bounds than when setting in the reformulation. However, it turns out that this improvement in the quality comes at the cost of efficiency. Clearly, we can stop our algorithm after a pre-specified number of iterations and/or time.
7 Other bounds for the QCCP
In this section we present several known bounding approaches from the literature that can be applied to the QCCP. In the next section, we compare those bounds with the bounds introduced in this paper. We consider a column generation approach and a mixed integer linear programming (MILP) based bound.
Galbiati et al. [14] construct a column generation approach for the MinRC3. This approach can be extended to the QCCP. To the best of our knowledge, this is the only implemented lower bounding approach for the MinRC3 in the literature.
Let be the set of all directed cycles in . Moreover, let be a subset of cycles such that it contains at least one cycle cover. Let be the cost of a cycle . Then the restricted master problem is given by:
[TABLE]
Let be the vector of dual variables corresponding to constraint (25). Then the subproblem searches for the cycle in with the smallest (negative) reduced costs with respect to , i.e.
[TABLE]
where if vertex is on the cycle and 0 otherwise. As stated in [14], the problem is strongly -hard itself. The quadratic objective function can be linearized by standard linearization techniques. A lower bound on the optimal value of the QCCP can be obtained by iteratively solving the master problem and its corresponding subproblem. If a cycle with negative reduced cost is found, we add it to the set . This procedure is repeated until no more cycle with negative reduced cost is found or after some predefined stopping criteria. The obtained bound is denoted by .
Based on a procedure by [17, 1], we present the QCCP as an MILP problem. Let us first fix an equivalent representation of . Let be computed as in for all , see Section 6.1. Moreover, we define for all
[TABLE]
Note that can be obtained by solving a linear programming problem. Then the QCCP can be formulated as an MILP:
[TABLE]
If we relax the binary constraint on , then we obtain a lower bound for the QCCP. We call this bound the MILP based bound and we denote its value by . The next result shows that is at least as large as the Gilmore-Lawler type bound.
Theorem 6**.**
The MILP based bound dominates the Gilmore-Lawler type bound, i.e., .
Proof.
Let denote the dual variables of (27) and (28), respectively. Moreover, let denote the dual variables of the cycle cover constraints and for all , respectively. Then the dual of the MILP based bound equals
[TABLE]
This problem equals the dual of the continuous relaxation of . Hence, it follows that . ∎
Note the MILP based bound and the Gilmore-Lawler type bound are comparable if the same equivalent reformulation of is used in their computations.
8 Numerical Results
In this section we test our bounding approaches on a set of test instances and compare them with several approaches from the literature. We take into account the linearization based bound from Section 4.1, the classical GL type bound from Section 6.1, the reformulated GL type bound discussed in Section 6.2, the column generation approach and the MILP based bound from Section 7, and the first level RLT bound , see [2, 3]. The GL bound and the MILP based bound are computed after symmetrizing . Note that we do not take into account and , since our preliminary experiments from Section 4.2 show that is preferred when taking both quality and efficiency into account.
All lower bounds are implemented in Matlab on a pc with an Intel(R) Core(TM) i5-6500 CPU, 3.20 GHz and 8 GB memory using CPLEX 12.6 as the solver.
We consider the following types of instances:
- •
Erdős-Rényi instances: These instances are created via the Erdős-Rényi model [12]. The number of nodes is fixed to and each arc is included with probability independent of the other arcs. The quadratic cost between any pair of successive arcs is chosen discrete uniformly at random out of .
- •
Manhattan instances: The Manhattan instances are introduced in [10] and resemble the street pattern of modern cities like Manhattan or Barcelona. Given a finite set of positive integers , the graph consists of a directed grid. Each node in the interior is adjacent to its neighbours. The nodes on the boundary are also incident to the corresponding nodes on the opposite boundary. For each dimension , the arcs belonging to the same layer of the grid point in the same direction. However, the arcs of two consecutive layers point in the opposite direction. This results in a graph containing a large number of cycles. The quadratic cost between any pair of successive arcs is chosen discrete uniformly at random out of .
- •
Angle-distance instances: The Angle-distance instances are originally constructed for the QTSP in [19]. The number of nodes and the graph density are given. The -coordinates of each node is chosen discrete uniformly at random out of . Exactly arcs are chosen uniformly at random from the total set of arcs. For each arc , let denote the Euclidean distance between the endpoints of . Moreover, for each two successive arcs and , let denote the turning angle (in radians). Given some constant , the quadratic cost of two successive arcs and is calculated as:
[TABLE]
Similar as in [19], we take .
For Erdős-Rényi and Angle-distance instances, preliminary experiments show that instances up to approximately 300 arcs can be solved to optimality within one hour. For the Manhattan instances the limit is around 2000 arcs, due to the small density of these types of graphs.
In total we consider two sets of experiments: experiments on small instances and experiments on large instances. Since the optimum, and cannot be calculated for large instances, we only test these approaches on the smaller instances. Moreover, we include the bounds introduced in this paper, namely and . The value and computation times (in seconds) on small Erdős-Rényi instances can be found in Table 4. This table contains 6 instances for and . The results on Manhattan and Angle-distance instances are reported in Tables 5 and 6, respectively. For the Angle-distance instances we take the same values for and as for the Erdős-Rényi instances, while for the Manhattan instances we consider several two- and three-dimensional instances. The maximum computation time is set to 3600 seconds. When after this time no bound is computed, we report ‘n.a.’ in the tables. Since the optimal value is always integer, we round up all bounds.
For the smaller instances, we see that performs best in quality. When it can be computed, it is often close to the optimal value and it dominates the other bounds. is often very close to , but can be computed much more efficiently. Namely, for the Erdős-Rényi and the Angle-distance instances the computation time of for all small instances is below 0.4 seconds, whereas cannot be computed within one hour for some of these instances. The column generation approach provides strong bounds, but in most cases it is not able to compute a bound in a time span of one hour. The reformulated GL type bound performs well on the Manhattan and Angle-distance instances, see Tables 5 and 6. Although its total computation time is large, the advantage of this approach is that it provides a bound in a short time and then iteratively improves the value. This makes it possible to stop the procedure at any given time and still obtain a bound. The bounds computed by are in almost all cases dominated by .
When taking both efficiency and quality into account, we conclude that the linearization based bound outperforms the other approaches. Based on Tables 4, 5 and 6, the value of is at least 75% of the optimal value for the Erdős-Rényi instances. For the Angle-distance and Manhattan instances, this percentage equals 98% and 96%, respectively.
For the larger instances, we only compute the bounds that can be computed efficiently. That is, we do not consider the iterative approaches, but only the bounds , and . We also investigate the effect of a reformulation by adding an optimal incident skew symmetric matrix to the cost matrix, see Section 4.1. We apply this reformulation to , which implies that we optimize over the set , see (7), instead of . The resulting bound is denoted by . For the Manhattan instances this bound is omitted, since preliminary experiments showed that this reformulation does not improve the bounds for most Manhattan instances. This could be due to the sparsity of Manhattan instances. The bounds and computation times (in seconds) for the Erdős-Rényi, Manhattan and Angle-distance instances are reported in Tables 7, 8 and 9, respectively. For the Erdős-Rényi and Angle-distance instances we take for values between 30 and 100 nodes and consider and . For the Manhattan instances we consider large two-dimensional instances and one large three-dimensional instance. The maximum computation time for these bounds is set to 1800 seconds. Again, we round up all bound values.
For the larger instances, we see that in all cases dominates and in both quality and efficiency. The difference in quality is most present for the Erdős-Rényi instances, see Table 7. For the Manhattan instances, we see that and can be calculated efficiently for instances up to 3000 arcs. However, remains efficient even for larger instances. In particular, bounds for Manhattan instances up to 15000 arcs can be computed within 60 seconds.
Moreover, we conclude from Tables 7 and 9 that the addition of an incidence skew symmetric matrix to the set only improves the bounds for some of the instances. In general, it turns out that the Erdős-Rényi instances can successfully be improved by this method, whereas for the Angle-distance instances only in a few cases there is an improvement. Although the computation times of are larger than those of , bounds can still be computed in a reasonable time span.
9 Conclusion
In this paper we consider the linearization problem for the QCCP and its applications. We provide several sufficient conditions for linearizability, and show how these conditions can be used to obtain strong lower bounds for the QCCP. The linearization based bound , resulting from the incident weak sum property, is the most efficient LBB in terms of complexity and quality, see Table 2. We show here that the GL type bound for the QCCP also belongs to the family of linearization based bounds, see Theorem 4, by providing the appropriate sufficient condition, see Proposition 7.
The first level RLT bounds and/or the GL type bounds are the only linearization based bounds for quadratic binary optimization problems that are implemented for various binary quadratic optimization problems up to date. This paper shows that besides these two well-known bounds, the linearization based bounds introduced here are worth considering.
Here, we also present how each sufficient condition can be used in an iterative bounding procedure. In particular, we introduce a new reformulation technique in which we search for the best equivalent representation of the residual cost matrix and its optimal linearizable matrix, see Algorithm 1. We show how the resulting iterative procedure computes the best GL type bound in each iteration. Our approach outperforms known iterative bounding procedures that use the GL type bounds, see Table 3. Moreover, we prove that the resulting linearization vectors in each step satisfy the constant value property, see Theorem 5.
Finally, our numerical results show that our approach outperforms several other bounds from the literature if we take into account both quality and efficiency. Although the linearization based bounds are dominated by the well known first level RLT bounds, they can be computed extremely fast. For the Manhattan instances, bounds for instances up to 15000 arcs can be computed within 60 seconds. However, other approaches fail to provide bounds for instances of this large sizes.
We expect that similar bounding procedures can be successfully applied for other quadratic optimization problems, such as the quadratic assignment problem, the quadratic minimum spanning tree, and the quadratic traveling salesman problem. However, this is a subject of our future research.
Acknowledgements
We would like to thank two anonymous reviewers for their insightful comments and suggestions to improve an earlier version of this work.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] W.P. Adams, R.J. Forrester and F.W. Glover. Comparisons and enhancement strategies for linearizing mixed 0-1 quadratic programs. Discrete Optimization , 1(2):99–120, 2004.
- 2[2] W.P. Adams and H.D. Sherali. A tight linearization and an algorithm for zero-one quadratic programming problems. Management Science , 32(10):1274-–1290, 1986.
- 3[3] W.P. Adams and H.D. Sherali. Linearization strategies for a class of zero-one mixed integer programming problems. Operations Research , 38(2):217–-226, 1990.
- 4[4] A. Aggarwal, D. Coppersmith, S. Khanna, R. Motwani and B. Schieber. The angular-metric traveling salesman problem. SIAM Journal on Computing , 29:697–711, 1999.
- 5[5] E. Amaldi, G. Galbiati and F. Maffioli. On minimum reload cost paths, tours and flows. Networks , 57:254–260, 2011.
- 6[6] R. Burkard, M. Dell’Amico and S. Martello. Assignment Problems, SIAM , Philadelphia, USA, 2009.
- 7[7] Y. Büyükçolak, D. Gözüpek and S. Özkan. Minimum reload cost cycle cover in complete graphs. Networks , 74(3):274–286, 2019.
- 8[8] P. Carraresi and F. Malucelli. A new lower bound for the quadratic assignment problem. Operations Research , 40:22–27, 1992.
