A Spatial Branch-and-Cut Method for Nonconvex QCQP with Bounded Complex Variables
Chen Chen, Alper Atamturk, Shmuel S. Oren

TL;DR
This paper introduces a spatial branch-and-cut method for solving nonconvex QCQPs with bounded complex variables, enhancing relaxations with valid inequalities and specialized branching rules, demonstrated on power flow and quadratic programming problems.
Contribution
It develops a novel spatial branch-and-cut algorithm incorporating valid inequalities and new branching rules for nonconvex QCQPs with complex variables.
Findings
Effective in solving AC optimal power flow problems.
Improves relaxation strength through valid inequalities.
Reduces domain via bound tightening procedures.
Abstract
We develop a spatial branch-and-cut approach for nonconvex Quadratically Constrained Quadratic Programs with bounded complex variables (CQCQP). Linear valid inequalities are added at each node of the search tree to strengthen semidefinite programming relaxations of CQCQP. These valid inequalities are derived from the convex hull description of a nonconvex set of positive semidefinite Hermitian matrices subject to a rank-one constraint. We propose branching rules based on an alternative to the rank-one constraint that allows for local measurement of constraint violation. Closed-form bound tightening procedures are used to reduce the domain of the problem. We apply the algorithm to solve the Alternating Current Optimal Power Flow problem with complex variables as well as the Box-constrained Quadratic Programming problem with real variables.
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6| name | SDP gap |
|---|---|
| case3_lmbd | 0.39 |
| case3_lmbd__api | 1.26 |
| case3_lmbd__sad | 2.06 |
| case5_pjm | 5.22 |
| case24_ieee_rts__api | 1.45 |
| case24_ieee_rts__sad | 6.05 |
| case29_edin__sad | 28.44 |
| case73_ieee_rts__api | 4.1 |
| case73_ieee_rts__sad | 4.29 |
| case30_as__sad | 0.47 |
| case30_fsr__api | 11.06 |
| case89_pegase__api | 18.11 |
| case118_ieee__api | 31.5 |
| case118_ieee__sad | 7.57 |
| case162_ieee_dtc | 1.08 |
| case162_ieee_dtc__api | 0.85 |
| case162_ieee_dtc__sad | 3.65 |
| case189_edin__sad | 1.2 |
| relax | rule | nodes | depth | lbtime | ubtime | time | solved |
|---|---|---|---|---|---|---|---|
| CVI | MVWB | 1459.5 | 33.5 | 107.4 | 169.5 | 382.1 | 15/26 |
| CVI | MVSB | 804.6 | 21.3 | 128 | 149 | 734.3 | 12/26 |
| CVI | RBEB | 4450.8 | 62.4 | 555.9 | 1140.7 | 2077.5 | 7/26 |
| RLT | MVWB | 94 | 17.5 | 2 | 6 | 9 | 2/26 |
| SDP | MVWB | - | - | - | - | - | 0/26 |
| rule | nodes | depth | lbtime | ubtime | time | solved |
|---|---|---|---|---|---|---|
| MVWB | 24.4 | 3.7 | 382.0 | 4.1 | 386.3 | 81/90 |
| MVSB | 9.9 | 2.7 | 125.1 | 1.4 | 467.6 | 80/90 |
| RBEB | 26.8 | 10.1 | 173.1 | 4.3 | 1121.1 | 72/90 |
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.
Taxonomy
TopicsAdvanced Optimization Algorithms Research · Risk and Portfolio Optimization · Complexity and Algorithms in Graphs
††footnotetext: C. Chen:Industrial Engineering and Operations Research, University of California, Berkeley, CA 94720-1777. email: [email protected]††footnotetext: A. Atamtürk:Industrial Engineering and Operations Research, University of California, Berkeley, CA 94720-1777. email: [email protected]††footnotetext: S. S. Oren:Industrial Engineering and Operations Research, University of California, Berkeley, CA 94720-1777. email: [email protected]
A Spatial Branch-and-Cut Method for Nonconvex QCQP with Bounded Complex Variables
Chen Chen and Alper Atamtürk and Shmuel S. Oren
Abstract.
We develop a spatial branch-and-cut approach for nonconvex Quadratically Constrained Quadratic Programs with bounded complex variables (CQCQP). Linear valid inequalities are added at each node of the search tree to strengthen semidefinite programming relaxations of CQCQP. These valid inequalities are derived from the convex hull description of a nonconvex set of positive semidefinite Hermitian matrices subject to a rank-one constraint. We propose branching rules based on an alternative to the rank-one constraint that allows for local measurement of constraint violation. Closed-form bound tightening procedures are used to reduce the domain of the problem. We apply the algorithm to solve the Alternating Current Optimal Power Flow problem with complex variables as well as the Box-constrained Quadratic Programming problem with real variables.
August 2015; July 2016
1. Introduction
The nonconvex quadratically-constrained quadratic programming problem with complex bounded variables (CQCQP) has numerous applications in signal processing [49, 20, 24] and control theory [11], among others. Our main motivation for developing an algorithm for CQCQP is to solve power flow problems with alternating current [31, 26]. We consider the following formulation of CQCQP:
[TABLE]
We denote the conjugate transpose operator by ∗, and real components with Re() and imaginary components with Im(). The decision vector has complex entries, and the remaining terms are data: Hermitian matrices , real vector , and complex vector . Variable bounds are component-wise inequalities in the complex space — we assume these to be finite. Note that the Hermitian assumption on is without loss of generality since, otherwise, may be replaced with .
Quadratically-constrained quadratic programs on real variables (RQCQP) can be considered a special case of CQCQP where all imaginary components are restricted to 0. Likewise, CQCQP can be solved using RQCQP by defining separate real decision vectors to represent and . Despite this modeling equivalence, it is beneficial to exploit the structure of CQCQP to derive complex valid inequalities, bound tightening and spatial partitioning rules. Stronger results can be obtained in the complex space compared to their real counterparts. In particular, in Section 2.1 we show that the new valid inequalities derived in the complex space can be interpreted as a complex analogue of the RLT inequalities (e.g. [3]), and that the RLT inequalities applied to the RQCQP reformulation of CQCQP are dominated by these complex valid inequalities.
Observing the advantages of working with the complex formulations, a growing body of work considers CQCQP as a problem distinct from RQCQP. For instance, Josz and Molzahn [29] show that moment-based semidefinite programming relaxations derived from CQCQP are not, in general, equivalent to those derived from a RQCQP transformation of the same problem and with computational experiments they demonstrate the power of retaining the CQCQP formulation. Stronger results are given regarding the SDP relaxation of the CQCQP associated with the S-lemma problem instead of the RQCQP equivalent [25, 8]. Jiang et al. [28] demonstrate theoretically and empirically the benefits of working with CQCQP representation for generating strong relaxations. Kocuk et al. [30] demonstrate both theoretically and empirically for the optimal power flow problem that the spatial branch-and-bound approach can be improved by considering the complex formulation before converting it to a problem in the reals.
In this paper we give a spatial branch-and-cut (SBC) approach to solve CQCQP. For brevity, we assume familiarity with the general spatial branching framework; the reader is referred to Belotti et al. [9] for a thorough treatment on the subject. There are several spatial branching algorithms for RQCQP (e.g. [32, 37, 42, 7, 41]); however, to the best of our knowledge this paper present the first spatial branching algorithm developed specifically for CQCQP. Our SBC algorithm has three distinguishing features. First, we use a complex SDP formulation strengthened with valid inequalities. These inequalities are derived from the convex hull description of a nonconvex set of positive semidefinite Hermitian matrices subject to a rank-one constraint that arises from a lifted formulation of CQCQP. Their relationship with the RLT inequalities are discussed at the end of Section 2.1. Second, we propose spatial partitioning on the entries of the relaxation’s decision matrix, and we consider branching rules based on an alternative measure of constraint violation in lieu of the matrix rank constraint. This method does not rely on the CQCQP structure, and applies generally to any rank-constrained SDP formulation. Therefore, one can configure our algorithm to solve RQCQP using an SDP relaxation strengthened with RLT inequalities. Third, we develop bound tightening procedures based on closed-form solutions.
Computational experiments are conducted on the Alternating Current Optimal Power Flow (ACOPF) problem and the Box-constrained Quadratic Programming (BoxQP) problem. ACOPF is a generation dispatch problem that models alternating current (AC) using steady-state power flow equations, which are nonconvex quadratic constraints on complex variables relating power and voltage at buses and across transmission lines. ACOPF is commonly solved with heuristic iterative Newton-type solvers (e.g. [46]). ACOPF may be modeled as a CQCQP problem, and there has been a recent interest in solving this formulation to optimality with SDP relaxations (e.g. [6, 31]) and branch-and-bound methods (e.g. [41, 22, 30]) due to the potential for establishing global optimality. We show with numerical experiments that the formulation exploiting the complex structure leads to significantly faster solution times compared to the application of the algorithm on RQCQP reformulations on ACOPF instances. Since the proposed branching rules also apply to RQCQP, we test them on BoxQP – a well-studied nonconvex quadratic programming problem with nonhomogeneous quadratic objective and bounded real variables. BoxQP can be solved with a problem-specific finite branch-and-bound method [16]; therefore, it provides a useful benchmark for the general approach presented here. We demonstrate that the proposed method can also be used as a viable RLT and SDP-based RQCQP solver.
The rest of the paper is organized as follows: Section 2 details the spatial branch-and-cut algorithm with three major components: valid inequalities from the convex hull description of rank-one constrained relaxations, branching on matrix entries, and bound tightening procedures; Section 3 contains the results from computational experiments with ACOPF and BoxQP problems; Section 4 concludes the paper.
2. The Spatial Branch-and-Cut Method
The convex relaxation of CQCQP considered comes from the rank-one constraint of a standard SDP reformulation [34, 45], often called Shor’s relaxation:
[TABLE]
where is a Hermitian submatrix of decision variables. Imposing a rank-one constraint on the matrix Y:=\left[\begin{array}[]{cc}1&x^{*}\\ x&X\end{array}\right] gives an equivalent reformulation of CQCQP. Let y:=\left(\begin{array}[]{cc}1\\ x\end{array}\right) so that . Furthermore, denote the real and imaginary components as and . Since is Hermitian we have and, thus, .
This section is divided into three subsections. First, we derive valid inequalities to strengthen the SDP relaxation. Second, we propose a methodology for branching on the entries of matrix . Third, we present closed-form bound-tightening techniques.
2.1. Valid Inequalities
Here we describe the convex hull of a nonconvex set that is applicable to any entry of , where . Let be the set of feasible solutions in to the following constraints:
[TABLE]
where and are real, symmetric bound matrices with and .
One can always find such bound values so that is valid for either CQCQP or an affine transformation of CQCQP. We will give a generic method to obtain such bounds at the end of this subsection. First we describe the convex hull of . The convex hull description will provide linear valid inequalities for , which can be applied to all principal minors of in order to strengthen CSDP.
In order to describe the convex hull of it is convenient to use the following sigmoid function:
[TABLE]
Remark 1**.**
is increasing, strictly bounded above by and strictly bounded below by .
Consider the following linear inequalities:
[TABLE]
where the coefficients are defined as
[TABLE]
Lemma 1**.**
For we have
[TABLE]
Proof.
If , then equality (4) follows immediately. Otherwise, suppose . Then we have
[TABLE]
Therefore
[TABLE]
The case where follows by symmetry. ∎
Proposition 2**.**
Inequalities (3a) and (3b) are valid for .
Proof.
[TABLE]
[TABLE]
Multiplying inequalities from (5a) for and gives
[TABLE]
Rearranging terms, we have
[TABLE]
The right-hand-sides of constraints (3a) and (3b) are RLT inequalities (discussed in the next subsection) and thus are valid for the bilinear term , which is the right-hand-side of the valid inequality (5b). It remains to show that the left-hand-side of (5b) is overestimated by the left-hand sides of (3a) and (3b), i.e.:
[TABLE]
Let for some . Note that constraint (2d) restricts to be nonnegative, so from constraint (2e) we have:
[TABLE]
Substituting equality (5d) into inequality (5c), we want to show
[TABLE]
for any . Replacing the coefficients with their definitions and simplifying, we get the following equivalent condition:
[TABLE]
To show that inequality (5f) is valid, first observe that the second derivative of the left-hand side with respect to is . Thus the left-hand side is concave w.r.t (as noted in Remark 1 we have that ). Therefore, we only need to check that the left-hand side is nonnegative for . From Lemma 1 we have that the left-hand side is exactly zero, and so inequality (5f) and consequently inequalities (3a) and (3b) are valid for .
∎
Let be the set of feasible solutions to the natural SDP relaxation of :
[TABLE]
Remark 2**.**
For , is equivalent to the principal minor constraints: . Since by construction , then constraint (6e) is equivalent to the positive semidefinite constraint for .
Let be the set of satisfying inequalities (3a)-(3b). We shall prove that the convex hull of can be obtained by adding the valid inequalities (3a)-(3b) to the SDP relaxation.
Proposition 3**.**
conv.
Proof.
From Proposition 2 we have that . From constraints (2a)-(2b) and (2e) we can observe that is bounded. Thus to prove that , it is sufficient to ensure that all the extreme points of are in . First, let us invoke the following claim:
Claim 4**.**
If , then either or .
Proof.
By way of contradiction, suppose there exists such that . From constraint (2c) we have that . Consequently, if or , then constraint (2e) is satisfied, so either or .
From Proposition 2 we only need to consider , which implies that the right-hand side of constraint (3b) is nonnegative since , and so . On the left-hand side, all terms are nonpositive, so we require all terms to be zero in order to ensure . Since we have that , then only if .
Now let us define the following two matrices:
[TABLE]
Since , then , and since . Checking constraint (3a) we have , so provided . Observe that can be expressed as the convex combination of and the zeros matrix. implies the zeros matrix is a member of , which in turn implies , which contradicts our initial assumption. ∎
Now we will prove that . Observe that if the constraint (6e) is binding at an extreme point of , then it is a member of . Moreover, by Claim (4), if a point with is in , then . It follows that is a member of since . Therefore, we shall check by cases for any extreme point where constraints (6e) and (6d) are not binding.
Case 1: Constraints (3a) and (3b) are not binding:
If constraint (6e) is not binding, then we require at least four linearly independent linear constraints to be binding. To obtain four such constraints, we require the two variable bounds (2a) and (2b) to be binding. Moreover, we require that constraint (2c) is binding on both sides with , which implies . By Claim (4), this point can be disregarded.
Case 2: Constraints (3a) and (3b) are both binding:
Since constraints (3a) and (3b) share the same coefficients for , then for an extreme point we require that constraint (2c) is binding on at least one side. Due to Claim (4) we need only consider , so constraint (2c) can count for at most one linearly independent constraint; thus, let , where . This gives at most three linearly independent constraints, (2c), (3a) and (3b), so at least one of the variable bounds (2a) and (2b) must be binding. Define so that for . Since at least one of is at a variable bound, then for either or . Moreover, the right-hand sides of constraints (3a) and (3b) must be equal since the left-hand sides are the same and both constraints are binding in this case. Therefore, we can write:
[TABLE]
Thus we have either , in which case or , in which case . First suppose . Define the following matrix:
[TABLE]
and as usual, denote the components as . By construction, we have that , so . We want to show that, with , constraints (2a)-(2c), (3a), and (3b) are binding. Constraints (2a)-(2c) can be confirmed by observation. Recall that constraints (3a) and (3b) share the same right-hand side:
[TABLE]
The left-hand side of constraint (3a) or (3b) is:
[TABLE]
The last equality follows from Lemma 1. The argument for the case follows by symmetry.
Case 3: Exactly one of the constraints (3a) and (3b) is binding:
From Claim (4) we need only consider , so constraint (2c) can count for at most one linearly independent constraint; thus, let , where . This gives us at most two linearly independent linear constraints: (2c) and either (3a) or (3b). Thus both variable bounds (2a) and (2b) must be binding. In Case 2 we have already considered the possibilities that or . Suppose, then, that and define the corresponding matrix:
[TABLE]
and as usual, denote the components as . By construction, we have that , so . We want to show that, with , constraints (2a)-(2c), and (3a) are binding. This can be done as in Case 2, by invoking Lemma 1:
[TABLE]
Finally, suppose that and define the corresponding matrix:
[TABLE]
By the same argument as used with , which we omit to avoid repetition, belongs to where constraints (2a)-(2c), and (3b) are binding. Thus, in all cases every extreme point belongs to . ∎
Numerical Example of
Consider the following instance of with :
[TABLE]
The coefficients of the valid inequalities (3a)-(3b) are
[TABLE]
Valid inequality (3a) is
[TABLE]
and valid inequality (3b) is
[TABLE]
The Real Case:
We now consider the special case of the real variables. Let be the set of symmetric matrices that satisfy the following constraints:
[TABLE]
can be seen as a special case of where , and, therefore, we have the following corollary.
Corollary 5**.**
The convex hull of can be described with the following constraints:
[TABLE]
Proof.
This is a special case of Proposition 3 with , which due to constraint (2c) is equivalent to setting , resulting in a matrix with only real entries. Dropping gives the desired result. ∎
Numerical Example of
We shall use the numerical example of but setting and dropping accordingly. For the real case, valid inequality (3a) is
[TABLE]
and valid inequality (3b) is
[TABLE]
The inequalities for the real case are shown in Figure 1. The feasible region of is depicted in the upper-left quadrant. Black spheres are centered around the intersection points of variable bounds on the cone. The upper-right quadrant depicts the intersection of with the variable bounds at and . The lower-right quadrant depicts the cone with valid inequality (3a). The intersection is ellipsoidal and three of the highlighted points lie on the boundary of the valid inequality (). The lower-left quadrant depicts the intersection of the cone with valid inequality (3b). The intersection is a hyperbola, and three highlighted points lie on the boundary of the valid inequality ().
Comparison with RLT Inequalities
Consider the RLT inequalities:
[TABLE]
Note that for RLT we allow the possibility that . Inequalities (10a)–(10d) are derived from the RLT procedure of Sherali and Adams [44]. They are also known as McCormick estimators as they can be derived from earlier work on convex envelopes by McCormick [36]. For , Anstreicher and Burer [4] prove that the convex hull of the real bounded set is given by the RLT inequalities on and together with the SDP constraint . As discussed, valid bounds for can be derived from the complex bounded set for . We will do a thorough comparison at the end of this section, but let us first proceed to analyzing the convex hull of .
is implied by the following constraints:
[TABLE]
From Burer and Anstreicher [4] we know the convex hull of constraints (11a)-(11c) can be described by the RLT inequalities on and together with the convex constraint . Constraints (11a)-(11c) can be rewritten as:
[TABLE]
Finally, for a vector of free variables holds iff is positive semidefinite and of rank one, which gives equivalence in the space of between and the set of feasible solutions to constraints (11a)-(11c). Hence the RLT inequalities on dominate valid inequalities (3a) and (3b) in the special case of the reals as they describe the convex hull of the same set in the lifted space that includes variables.
We note that the inequalities coincide on diagonal entries of . The RLT inequalities for diagonal matrix entries are
[TABLE]
For ( merely gives ) inequality (13a) can also be obtained by applying either (9c) or (9d) to \left[\begin{array}[]{cc}1&w_{i}\\ w_{i}&W_{ii}\end{array}\right], which is the principal submatrix of with indices and . The remaining inequalities (13b)-(13c) are implied by the SDP constraint since and .
In the complex case , we can show that domination runs the other direction: a natural application of RLT does not capture the convex hull of . One possible transformation to RQCQP involves a matrix of the form
[TABLE]
where the components of the complex vector are treated as separate decision variables. In this case, the RLT inequalities together with the SDP constraint (6e) do not give the convex hull of as shown in the example below.
We continue with the numerical example of , and we will show that there is a point satisfying the positive semidefinite condition and the RLT inequalities, but is outside . Thus an application of RLT inequalities to the RQCQP reformulation is not sufficient to describe . Let us add the complex variables with the following bounds on magnitude:
[TABLE]
Considering the real and imaginary components of as separate decision variables, let us transform the problem into RQCQP. Moreover, we require bounds on . We shall use the magnitude-implied bounds:
[TABLE]
Now , and . Applying RLT inequalities to each bilinear term, we obtain the following inequalities:
[TABLE]
RLT inequalities (14a)–(14h) admit the solution , which satisfies constraints (7a)-(7c) and the positive semidefinite constraint. However, this solution violates valid inequality (3b), where implying .
Constructing Bound Matrices and
We provide a procedure to derive valid bounds so that is applicable to any CQCQP. For certain problems the procedure may be unnecessary: values might be obtained from the problem directly or via bound tightening procedures. For instance, in ACOPF, constraints (2a) and (2b) are given as voltage magnitude bounds and constraint (2c) models nodal phase angle difference bounds.
Constraints (2a) and (2b)
for , representing constraints on CQCQP variable magnitudes, and likewise for . As magnitudes are nonnegative, a valid lower bound can always be obtained by setting . Furthermore, upper bounds can be obtained directly from the original variable bounds (1c). For we can set .
Constraints (2c) and (2d
A sufficient condition to derive valid bounds is that either or (or both) have strictly positive entries. This can be done using an affine shift. Observe that for any we have:
[TABLE]
Therefore with substitution of variables , where is the ones vector, any (bounded) complex QCQP may be rewritten with a decision vector with only positive components.
Since in the lifted formulation of CQCQP we have and . Thus we can assume , where . From we have that , and so:
[TABLE]
Hence we have valid bounds for constraint (2c): . Moreover, by construction which implies constraint (2d).
Note that constraints describing shifted back to the original variables will include the original variables of CQCQP. For instance, suppose we set . Moreover, define the components . Then we have
[TABLE]
Thus a valid inequality derived for gives a valid inequality for .
In the special case of real QCQP, we can instead set , which enforces the matrix of imaginary entries to be the zeros matrix. An affine transformation to a problem with nonnegative variables is sufficient to ensure that constraint (2d) is valid.
Constraint (2e)
This constraint is implied by , which requires to have rank one.
2.2. Branching on a Complex Matrix Entry
In this section we consider branching on upper and lower bounds of as specified in , i.e., bounds on every complex matrix entry. We examine branching rules for selecting a single entry of to branch on. One way to form a branching rule is to use a scoring function, where the branching option with the highest score is selected. A score can be based on the violation of relaxed constraints, or an estimate of the impact of branching on the children nodes’ optimal relaxation objective value. In the standard development of the SDP relaxation the only relaxed constraint is the rank-one constraint on . However, the rank function is discrete and applies globally to all variables of the decision matrix, which seems problematic for use in variable branching. Therefore, we consider an alternative to the rank-one condition:
Proposition 6**.**
For a nonzero Hermitian positive semidefinite matrix has rank one iff all of its principal minors are zero.
Proof.
Suppose has rank . Since is Hermitian it has an nonzero principal minor. Since is positive semidefinite this principal minor corresponds to a positive definite submatrix. As , this implies there exists a strictly positive principal minor. Now suppose instead that has a strictly positive principal minor. Then contains a rank-two principal submatrix and thus . ∎
We will use the equivalent condition that the minimum eigenvalue of each principal submatrix of be zero. Recall that by the Hermitian property of we have for any that and thus . Algebraically the minimum eigenvalue condition can be expressed as
[TABLE]
We branch by partitioning the range for some via updating the bounds as:
[TABLE]
[TABLE]
where is a parameter. In our implementation we use the bisection rule, i.e., set . We will refer to the assignment as the up branch with respect to a matrix entry, and similarly down branch refers to the assignment on the upper bound. Now let us consider rules for selecting an entry to branch on.
Most Violated with Strong Branching (MVSB)
Let be a pair of indices for . From Proposition 6 it follows that for CSDP iff for all pairs. Select the principal submatrix of with the greatest minimum eigenvalue, and let be the indices of this submatrix. Given , there are three possible candidate entries. These are evaluated by strong branching: for each entry we will solve the up branch problem and obtain the solution matrix , and likewise from the down branch. The following score function is used:
[TABLE]
where is a tuning parameter; we follow the example of COUENNE [9] and use a value of 0.15. The entry with the highest score is selected for branching.
Most Violated with Worst-Case Bounds (MVWB)
Since strong branching is computationally expensive, we consider solving a simpler subproblem to produce a score. Consider the Worst-Case Eigenvalue (WEV) problem of finding the greatest minimum eigenvalue that can be obtained within :
[TABLE]
Note that we dropped the positive semidefinite condition on since the objective maximizes the minimum eigenvalue. We solve WEV in lieu of solving the children problems and . Thus, overestimates of and are used in the score function. MVWB is otherwise the same as MVSB.
Reliability Branching with Entry Bounds (RBEB)
Since MVSB and MVWB rely on a particular violation metric, for benchmarking purposes we consider a method that is agnostic to the measure of violation. RBEB is an application of the rb-int-br rule of Belotti et al. [9].
Reliability branching uses pseudocosts, which capture information about previous branching decisions. Let and be matrices containing pseudocosts, estimating the improvement in objective value by branching up or down, respectively. If, at search tree node , is selected for branching up and the objective improves by in the child node’s relaxation, then let be the per-unit improvement. is the running average of all for up branches, and is the running average for down branches.
For a given candidate , the following score function is used:
[TABLE]
As with MVSB and MVWB, we use a value of . The candidate with the highest score is selected for branching. Note that we can restrict the set of candidate entries to those with violation, i.e. corresponding to members of principal submatrices with strictly positive minimum eigenvalue.
In reliability branching, strong branching is used in lieu of pseudocosts until evaluations have been performed on a given up or down branch; is called the reliability parameter [1]. In computational experiments we report results for ; gave similar but poorer performance due to the computational burden of strong branching on large instances.
2.3. Bound Tightening
It is well recognized that reducing the domain of a problem by tightening the bounds of the variables can improve the performance of branching methods substantially. In this subsection we describe two fast procedures to tighten the bounds . In a companion applications paper [17], we apply these procedures along with others that exploit the special structure of the ACOPF problem.
Tightening with a quadratic inequality
Let us consider the following two variable problem:
[TABLE]
Here and are parameters, and and are real-valued variables. Given variable bounds on , we would like to infer variable bounds on . With appropriate transformations, a variety of quadratic constraints of CQCQP can be put in the simple form above. For instance, one can convert a complex quadratic inequality into a real quadratic inequality in terms of the real and imaginary variable components. Now any real quadratic constraint may be written in the form . If all variables are bounded, then may be treated as a single bounded variable and can be fixed to its minimum value, which allows us to apply the proposed bound tightening structure. One can also apply the same principles to derive bounds on the magnitude of , and thereby derive bounds for (see [17] for details).
By adding a slack variable , let us write the two variable quadratic constraint as an equality:
[TABLE]
Solving the quadratic equation for we have:
[TABLE]
From here, it is possible to find the maximum and minimum values of the right-hand side of equality (15) with respect to , given their bounds. We can thus infer lower and upper bounds on ; and if the lower bound is greater than the upper bound, then infeasibility can be inferred.
Tightening on cycles
We can tighten the off-diagonal entry bounds, based on the simple principle that the sum of differences around a cycle must equal to zero. Denote the difference of some variables of , . Given some cycle of indices, say , we have .
To interpret the off-diagonal terms as difference of variables, it will be convenient to reformulate CQCQP in polar coordinates. For any complex variable , we may replace the real and imaginary components with the complex angle and the magnitude , where . Then we have:
[TABLE]
Therefore, constraint (2c) implies the following:
[TABLE]
The last implication is due to the implicit nonnegativity of per constraint (2c). Using the fact that the arctangent is an increasing function, we can now apply the cycle rule to infer new bounds by fixing all but one variable at variable bounds. For instance, for the cycle we can see if can be tightened:
[TABLE]
For instance, if , then .
3. Computational Results and Analysis
In this section we present the results of experiments on solving ACOPF and BoxQP problems using the spacial branch-and-cut approach described in the previous section. The experiments test the effect of using different relaxations — standard SDP, SDP+RLT inequalities (10a)–(10d), SDP+complex valid inequalities (3a)–(3b)) — as well as the proposed branching rules MVSB, MVWB and the benchmark reliability rule RBEB on both RQCQP and CQCQP instances. For ACOPF RLT inequalities were generated with the same complex-to-reals transformation as used for inequalities (14a)–(14h). Results are summarized in this paper, and instance-specific data is provided at https://sites.google.com/site/cchenresearch/.
All experiments herein are conducted with a 3.2 GHz quad-core Intel i5-4460 CPU processor and 8 GB main memory. Algorithms are implemented using MATLAB [35] with model processing performed by YALMIP [33]. Conic programs are solved with MOSEK version 7.1 [2]. IPOPT version 3.11.1 [48] is used as a local solver to obtain primal feasible solutions to CQCQP at each search tree node.
All spatial branch-and-cut (SBC) configurations are implemented with a depth-first search node selection rule. The search termination criteria are: an explored nodes limit of 10000, a time limit of 1.5 hours, and a relative optimality gap limit. A search tree depth of 100 is applied, pruning all children nodes past this limit. The optimality gap is calculated using the global upper bound (gub) and global lower bound .
3.1. Problem Instances
ACOPF
The ACOPF problem is a power generation scheduling problem that can be formulated as CQCQP. The problem formulation can be found in Appendix B; for a thorough treatment on optimization issues related to optimal power flow we refer the reader to Bienstock [12].
Our experiments include the test cases of Gopalakrishnan et al. [22]. Small duality gaps were reported for these cases, so the root relaxation is known to provide a good lower bound. These instances are named g9, g14, g30, and g57, where the number indicates the number of buses in the problem. We include the modified IEEE test cases from Chen et al. [17], which are named 9Na, 9Nb, 14S, 14P, and 118IN. We also use the NESTA instances [19] listed in Table 1. Here SDP gap indicates the percentage gap between the standard SDP relaxation and the best known upper bound. NESTA instances with trivial gap () or with more than 1000 buses are excluded. The latter criterion excludes two large instances that are too challenging for the SDP solver to handle even at the root node.
Since the standard IEEE test cases do not include phase angle differences, we have applied a 30 degree bound across all connected buses if not otherwise specified. We also use a sparse formulation of CSDP that replaces the PSD constraint with multiple positive semidefinite constraints on submatrices and linear equality constraints. Fukuda et al. [21] developed the methodology for sparse formulation of a generic SDP, and several authors [39, 27, 5, 13] have studied its effects in improving solution times for ACOPF. We follow this methodology, using a minimum-degree ordering heuristic on the admittance matrix and finding a corresponding symbolic Cholesky decomposition in order to determine a suitable clique decomposition. In Appendix A we show that enforcing the rank constraint on each submatrix is sufficient to ensure equivalence between CQCQP and the sparse version of CSDP. Hence valid inequalities and branching rules are applied only to principal minors that have been kept after sparse decomposition.
All instances were solved using an optimality criterion of . Bound tightening is activated on all instances (see [17] for its effects).
BoxQP
The BoxQP problem is formulated as where is decision vector, and are data. We use the 90 BoxQP instances of Burer and Vandenbussche [16]. The instances are named sparAAA-BBB-C, where AAA is the dimension of , BBB is the density of , and C is the random seed number. We set an optimality gap limit of for these instances. The relaxation used for these instances is the SDP relaxation strengthened with RLT inequalities.
3.2. Results
Table 2 shows average the performance of different convex relaxations and branching rules for the ACOPF; the averages are taken over instances solved by a given configuration. The first column relax shows the relaxation used to solve the problem: CVI refers to CSDP together with complex valid inequalities (3a)-(3b); RLT refers to the SDP relaxation of the real QCQP formulation together with RLT inequalities; and SDP refers the standard SDP relaxation without additional valid inequalities. The column rule shows the branching rule used, nodes the number of search tree nodes explored before termination, depth the maximum search tree depth, lbtime the time in seconds spent solving relaxations, ubtime the time in seconds spent obtaining primal solutions, time the total time spent in seconds by the SBC algorithm, and finally solved the total proportion of solved instances.
The formulation CVI with the complex valid inequalities (3a)-(3b) leads to the best performance. The new branching rules MVWB and MVSB designed for rank-one constraints perform significantly better compared to the benchmark reliability rule RBEB. Without using the complex valid inequalities only two of the 26 instances are solved with the RLT formulation and MVWB branching. The plain SDP formulation without using any cuts do not converge for any of the instances. Only the best rule MVWB is presented for relaxations RLT and SDP for brevity; similar or worse results are obtained with MVSB and RBEB.
For a more detailed view, the computational results are also summarized with performance profiles [40]; we use the standard base on the axis. The graph represents the proportion of instances for which a given configuration was within times the best configuration. For instance, for a profile of time to solve, a point indicates that for of cases (the axis) a spatial branch-and-cut configuration achieves at most two times the best time (the axis) among all configurations tested.
For ACOPF we present performance profiles for time to solve in Figure 2 and total search tree nodes in Figure 3. Using CVI, MVWB shows consistently better results over the other branching rules, and both MVWB and MVSB compare favourably to RBEB. MVSB used smaller search tree when it converged, although MVWB resulted in more convergent instances. Both violation strategies tend to produce smaller search trees compared to the reliability rule. The complex relaxation CVI produces substantially better results than the RQCQP approach represented by RLT. The addition of the valid inequalities led to faster convergence, whereas with a plain SDP relaxation no practical convergence is observed. These results clearly demonstrate the benefits of exploiting the structure in the complex formulation. The stronger complex inequalities and the new branching rules based on the violation of the rank-one constraints lead to a faster convergence.
Table 3 shows a comparison of the branching rules for BoxQP. For BoxQP the lower bound times are substantially higher than the upper bound times due to the quadratic increase in variables in the lifted relaxation. The proportion of lower and upper bound solve times to total time indicates the overhead cost of strong branching: RBEB () MVSB (), MVWB (). With the new branching rules over 80 of the 90 instances are solved; whereas with the reliability rule RBEB 72 instances are solved.
The performance profiles provide a more detailed view on the BoxQP results. Figure 4 shows that MVWB was the best method in terms of solution times, and both MVWB and MVSB performed substantially better than the reliability rule RBEB. Figure 5 indicates that MVSB tends to produce the smallest search trees, demonstrating the power of the strong branching. Both MVWB and MVSB lead to significantly smaller search trees compared to the reliability rule RBEB. The results on BoxQP instances demonstrate that even for real QCQPs the branching rules MVWB and MVSB exploiting the rank-one constraint can be very effective. The results are competitive compared to published results of Misener et al. [38], which report results from global solvers GloMIQO [37], BARON [43], and Couenne [10] are compared. Burer and Vandenbussche [16] developed an exact SDP-based branch-and-bound method for nonconvex quadratic programming problems based on KKT conditions. Substantial improvements in performance based on completely positive programming are reported by Burer [15] and Burer and Chen [18].
4. Conclusion
We developed a spatial branch-and-cut method for generic Quadratically-Constrained Quadratic Programs with bounded complex variables. We derived valid inequalities from the convex hull description of nonconvex rank-one restricted sets to strengthen the SDP relaxations. We gave a new branching method based on an alternative characterization of a rank-one constraint. Experiments on Alternating Current Optimal Power Flow problems show the valid inequalities derived from the complex formulation are critical for improving the performance of the algorithm. The proposed branching methods based on the rank-one constraint resulted in better performance compared to the benchmark reliability branching method. Tests on box-constrained nonconvex Quadratic Programming instances suggest that the violation-based branching methods may also be effective for problems with real variables.
Appendix A Sufficiency of Sparse Valid Inequalities
Consider a Hermitian matrix with spectral decomposition , where the eigenvalues are ordered so that . Unlike in the real symmetric case, if has multiplicity 1, then the eigenvector is only unique up to rotation by a complex phase [47, pp. 41]. In polar coordinates (as used commonly in ACOPF) we have that the eigenvector is unique up to scaling of all phase angles by the same degree (preserving angle differences). That is, if , then we can add to all angles and replace in the eigenbasis. In terms of rectangular coordinates (i.e. real and imaginary components), we can state that can be replaced in the eigenbasis with
[TABLE]
for any such that and with entries .
Sparse positive semidefinite decomposition of a Hermitian matrix yields a set of index sets , where . Note that . A property of sparse decomposition is that can be represented with an acyclic graph where each node is an element of and an edge between two nodes indicates that at least one index is shared between the corresponding index sets; this is known as a clique tree [23, 21]. The clique tree of a chordal graph can be constructed in time and space linear with respect to the number of edges [14]. A matrix can be completed for a certain property if there exist values for the entries not specified by the clique tree such that the fully specified matrix can attain the property.
Proposition 7**.**
* iff can be completed so that for some .*
Proof.
If , then and so one direction is obvious. Now consider the other direction: suppose that . We will use a constructive proof, i.e. we shall construct an so that .
Let us consider the clique tree corresponding to the chordal graph formed by . Label a terminal node . Since has rank one and is positive semidefinite, we have that , and so we can set for any normalized principal eigenvector . Now denote a neighbouring node and consider its corresponding index set with some normalized principal eigenvector, . By clique tree property, and share at least one entry, say , so . Since eigenvectors of the eigenbasis are only unique up to rotation by complex phase, can be rotated to form so that , i.e. rotating the eigenvector so that one entry attains a specific angle. Then we can set , where , the shared entry of retains the same value. The remaining elements of can be found by proceeding through neighbours in the same manner, with the acyclic property ensuring that each element of is set once. ∎
This relies on a generalization of the fact that in ACOPF and in load flow the bus angles of any solution can be scaled up or down by constants. From the proposition it immediately follows that in the alternative rank condition only the principal minors related to the submatrices need to be considered, and so valid inequalities (3a) and (3b) can be applied in a sparse fashion.
Appendix B ACOPF Formulation
ACOPF can be written in the form of CQCQP [31]; we state a lifted formulation of the ACOPF problem as follows:
[TABLE]
Let be the number of nodes in the graph of the problem, with nodes representing either buses or transformers, and let be the number of edges (aka branches).
Variables and Data
The decision variables used in LACOPF are: nodal powers ; a Hermitian decision matrix representing the outer product of nodal voltages, ; and power to and from buses (respectively) across branches, . All other parameters are fixed data: convex costs ; load, ; admittance matrices, ; voltage magnitude limits, ; phase angle limits ; generator limits, ; and line limits, . is the bus admittance matrix, and are branch admittances corresponding to ‘from’ and ‘to’ nodes, respectively. Admittance is composed of conductance and susceptance . For a branch from to , the entry of and the entry of are 1; all unconnected entries in those matrices are 0 [50].
Objective and Constraints
The objective is to minimize the cost of real power generation, where is the net generation of real nodal power. Constraints (16b) and (16c) are the power flow equations, relating nodal power to nodal voltage. Constraints (16d) and (16e) model demand and generation limits. Constraint (16f) bounds voltage magnitudes. Constraint (16g) bounds phase angle differences between buses. Constraints (16h) to (16k) are the branch power flow equations. Constraints (16l) and (16m) constrain apparent power across lines. We will also consider other types of line limits, but omit them here for brevity. Constraints (16n) and (16o) ensure that can represent the outer product of nodal voltages [31].
SDP Relaxation
In LACOPF only the rank constraint (16o) is nonconvex, and dropping it gives a convex relaxation (RACOPF). This primal relaxation approach was first applied to ACOPF by Bai et al. [6] and the conic dual formulation was first considered by Lavaei and Low [31]. Note that in ACOPF the bounds are specified as angle bounds in polar coordinates, i.e. .
Acknowledgements. The authors would like to thank Dr. Richard P. O’Neill of the Federal Energy Regulatory Commission for the initial impetus to study conic relaxations of ACOPF, and for helpful comments in early drafts of the paper. This research has been supported, in part, by Federal Energy Regulatory Commission and by grant FA9550-10-1-0168 from the Office of Assistant Secretary Defense for Research and Engineering. Chen Chen was supported, in part, by a NSERC PGS-D fellowship.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] T Achterberg, T Koch, and A Martin. Branching rules revisited. Operations Research Letters , 33:42–54, 2005.
- 2[2] E D Andersen and K D Andersen. The MOSEK interior point optimizer for linear programming: an implementation of the homogeneous algorithm. High performance optimization , 33:197–232, 2000.
- 3[3] K M Anstreicher. Semidefinite programming versus the reformulation-linearization technique for nonconvex quadratically constrained quadratic programming. Journal of Global Optimization , 43:471–484, 2009.
- 4[4] K M Anstreicher and S Burer. Computable representations for convex hulls of low-dimensional quadratic forms. Mathematical Programming , 124:33–43, 2010.
- 5[5] X Bai and H Wei. A semidefinite programming method with graph partitioning technique for optimal power flow problems. International Journal of Electrical Power & Energy Systems , 33:1309–1314, 2011.
- 6[6] X Bai, H Wei, K Fujisawa, and Y Wang. Semidefinite programming for optimal power flow problems. International Journal of Electrical Power & Energy Systems , 30:383–392, 2008.
- 7[7] X Bao, N V Sahinidis, and M Tawarmalani. Multiterm polyhedral relaxations for nonconvex, quadratically constrained quadratic programs. Optimization Methods & Software , 24:485–504, 2009.
- 8[8] A Beck and Y C Eldar. Strong duality in nonconvex quadratic optimization with two quadratic constraints. SIAM Journal on Optimization , 17:844–860, 2006.
