Docsity

Convex Optimization and Interior Point Methods | MA 796S, Study notes of Mathematics

Toggle sidebar
bg1
MA 796S: Convex Optimization and Interior Point Methods October 8, 2007
Lecture 1
Lecturer: Kartik Sivaramakrishnan Scribe: Kartik Sivaramakrishnan
1 Conic programming
Consider the conic program
min
r
X
i=1
cT
ixi
s.t.
r
X
i=1
Aixi=b
xi∈ Ki, i = 1, . . . , r
(1)
and its dual
max bTy
s.t AT
iy+si=ci, i = 1, . . . , r
si∈ K∗
i
(2)
where b, y ∈IRm;ci,xi, si∈IRni,Ai∈IRm×ni,i= 1, . . . , r. For each i=
1, . . . , r,xiand siare the primal and dual slack variables associated with the
ith cone and
K∗
i=si∈IRni:xT
isi≥0,∀xi∈ Ki(3)
is the dual cone to Ki. We assume that Ki,K∗
i,i= 1, . . . , r are pointed closed
convex cones with nonempty interiors. Let K=K1× K2×. . . × Krbe the
overall cone in (1) and let n=
r
X
i=1
nidenote its size. The overall dual cone is
K∗=K∗
1∩ K∗
2∩. . . ∩ K∗
r.
We are interested in self-dual cones Kwhere K=K∗. Let int(K) denote the
interior of the closed convex cone K. The important self-dual cones include the
following:
1. Linear cone:
IRn
+={x∈IRn:x≥0}.(4)
We have int(IRn
+) = {x∈IRn:x > 0}.
1-1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe

Partial preview of the text

Download Convex Optimization and Interior Point Methods | MA 796S and more Study notes Mathematics in PDF only on Docsity!

MA 796S: Convex Optimization and Interior Point Methods October 8, 2007

Lecture 1

Lecturer: Kartik Sivaramakrishnan Scribe: Kartik Sivaramakrishnan

1 Conic programming

Consider the conic program

min

∑^ r

i=

cTi xi

s.t.

∑^ r

i=

Aixi = b

xi ∈ Ki, i = 1,... , r

and its dual

max bT^ y s.t ATi y + si = ci, i = 1,... , r si ∈ K∗ i

where b, y ∈ IRm; ci, xi, si ∈ IRni^ , Ai ∈ IRm×ni^ , i = 1,... , r. For each i = 1 ,... , r, xi and si are the primal and dual slack variables associated with the ith cone and

K∗ i =

si ∈ IRni^ : xTi si ≥ 0 , ∀xi ∈ Ki

is the dual cone to Ki. We assume that Ki, K∗ i , i = 1,... , r are pointed closed convex cones with nonempty interiors. Let K = K 1 × K 2 ×... × Kr be the

overall cone in (1) and let n =

∑^ r

i=

ni denote its size. The overall dual cone is

K∗^ = K∗ 1 ∩ K∗ 2 ∩... ∩ K∗ r. We are interested in self-dual cones K where K = K∗. Let int(K) denote the interior of the closed convex cone K. The important self-dual cones include the following:

  1. Linear cone:

IRn + = {x ∈ IRn^ : x ≥ 0 }. (^) (4)

We have int(IRn +) = {x ∈ IRn^ : x > 0 }.

  1. Second order cone:

Qn + =

x ∈ IRn^ : x 1 ≥

∑^ n

i=

x^2 i

The notation x Q 0 indicates that x lies in a second order cone. We also

have int(Qn +) =

x ∈ IRn^ : x 1 >

∑n

i=

x^2 i

  1. Semidefinite cone:

S +n = {X ∈ Sn^ : X is symmetric and positive semidefinite}. (6)

The notation X  0 indicates that the matrix X lies in a semidefinite cone. We also have int(Sn +) = {X ∈ Sn^ : X is symmetric and positive definite}.

Exercise: Show that IR +n, Qn +, and S +n are closed convex cones. Every convex optimization problem can be written as a conic program. To illustrate the idea consider the strictly convex quadratic program

min xT^ Qx s.t. Ax = b x ≥ 0

where x ∈ IRn, Q is a symmetric positive definite matrix of size n, A ∈ IRm×n, and b ∈ IRm. One can reformulate (7) as

min t,x t s.t. xT^ Qx ≤ t Ax = b x ≥ 0.

Consider the Cholesky factorization of Q, i.e., Q = RRT^ where R ∈ IRn×n. We can rewrite the quadratic inequality constraint in (8) as a second order cone constraint as follows:

xT^ Qx ≤ t ⇔ xT^ (RRT^ )x ≤ t

⇔ ||Rx||^2 ≤ t

t + 1 2 Rx t − 1

 Q 0.

This allows us to rewrite (8) as the following conic program

min t,x t s.t. Ax = b  x^ ≥^0 

t + 1 2 Rx t − 1

 Q 0.

Assumption 1 The matrix A is surjective, i.e. ∀b ∈ IRm, ∃x ∈ IRn, such that Ax = b.

This implies that the adjoint operator AT^ is injective (one-to-one), i.e., w = z ⇒ AT^ w = AT^ z, i.e. AT^ has only the trivial nullspace 0. From linear algebra, this implies that A has full row rank. If assumption 1 is not met, i.e., there is a b ∈ IRm^ such that Ax 6 = b for all x ∈ IRn. Then there is a nonzero vector e ∈ IRm^ satisfying AT^ e = 0 and bT^ e 6 = 0. Without loss of generality, we assume that bT^ e > 0 (else choose e = −e). Now if the dual problem (12) is feasible then ∃(¯y, ¯s) satisfying AT^ y¯ + ¯s = c and ¯s ∈ K∗. Now consider y = ¯y + μe with μ > 0. Since AT^ e = 0, we have

AT^ y + ¯s = AT^ (¯y + μe) + ¯s = AT^ y¯ + ¯s = c

indicating that (y, ¯s) is feasible in (12) too. Moreover

bT^ y = bT^ (¯y + μe) → ∞ (as μ → ∞)

indicating that (12) is unbounded. So if assumption (1) is not met, then the dual problem is unbounded whenever it is feasible. Using assumption 1, we can write (11) in the following fashion. Let L = {d ∈ IRn^ : Ad = 0} be the null space of A. Assumption 1 ensures that L is non-empty. Consider x∗^ satisfying Ax∗^ = b and (y∗, s∗) satisfying AT^ y∗^ + s∗^ = c. We have

Ax = b ⇔ x ∈ x∗^ + L

and cT^ x = bT^ y∗^ + (s∗)T^ x

for all feasible x in (11). So we can rewrite (11) as

min (s∗)T^ x s.t. x ∈ (x∗^ + L) ∩ K

Moreover, we have

AT^ y + s = c ⇔ s = s∗^ − AT^ (y − y∗) ⇔ s ∈ s∗^ + L⊥

where we have used the fact that the row space of a matrix A is orthogonal to its null space. Also, we have

bT^ y = cT^ x∗^ − (x∗)T^ s.

for all feasible (y, s) in (12). So we can rewrite (12) as

min (x∗)T^ s s.t. s ∈ (s∗^ + L⊥) ∩ K∗.

Therefore, any conic program can be expressed as the problem of minimizing a linear function over a convex set that is described as the intersection of an affine subspace and a closed convex cone.

Unlike linear programs, we have to impose some conditions to achieve strong duality. We will first introduce the notions of strictly feasible solutions (Slater points) for the primal and dual conic programs. Consider the following regions

F (P ) = {x ∈ IRn^ : Ax = b, x ∈ K} F 0 (P ) = {x ∈ IRn^ : Ax = b, x ∈ int(K)} F (D) = {y ∈ IRm, s ∈ IRn^ : AT^ y + s = c, s ∈ K} F 0 (D) = {y ∈ IRm, s ∈ IRn^ : AT^ y + s = c, s ∈ int(K)}.

The sets F (P ) and F (D) denote the feasible regions for the conic programs (11) and (12), respectively. Moreover, F 0 (P ) and F 0 (D) represent the interiors of F (P ) and F (D), respectively. Note that F 0 (P ) and F 0 (D) are open sets (they have no boundary). We will refer to any x ∈ F 0 (P ) ((y, s) ∈ F 0 (D)) as a strictly feasible primal (dual) Slater point. We now discuss the strong duality theorem for optimal solutions to the primal and dual conic programs. First, we will describe the strong duality theorem for linear programs whose proof can be found in Chv´atal [4].

Theorem 2 Consider the primal linear program (11) along with its dual (12). If F (P ) and F (D) are nonempty, then both problems (11) and (12) attain their optimal solutions and the optimal objective values of (11) and (12) are the same.

We will now state the strong duality theorem for general conic programs whose proof can be found in Section 2.4 of Ben Tal and Nemirovskii [3], Chapter 3 of Renegar [6], or Section 4 of Todd [7].

Theorem 3 Consider the primal conic problem (11) along with its dual (12).

  1. If F 0 (P ) and F (D) are nonempty, then the dual problem (12) attains its optimal solution and the optimal objective values of (11) and (12) are the same.
  2. If F (P ) and F 0 (D) are nonempty, then the primal problem (11) attains its optimal solution and the optimal objective values of (11) and (12) are the same.
  3. If F 0 (P ) and F 0 (D) are nonempty, then both problems (11) and (12) attain their optimal solutions and the optimal objective values of (11) and (12) are the same.

Case 3 in theorem 3 is similar to theorem 2 in the LP case. Note that we need stronger conditions, i.e., strictly feasible primal and dual solutions (unlike feasible primal and dual solutions in the LP case) in the general conic case. We shall now consider some examples involving semidefinite cones to illus- trate some of the pathologies that can occur in the conic case. Our primal (11) semidefinite program is

min C • X s.t. Ai • X = bi, i = 1,... , m X  0

and the dual (12) semidefinite program is

max bT^ y

s.t. S = C −

∑^ m

i=

yiAi

S  0.

objective values. Now consider

min

• X

s.t.

• X = − 1 ,

• X = 0 ,

X  0

with dual max −y 1 s.t. S =

y 1 1 1 y 2

S  0

It can be easily seen that the primal has only one feasible point X =

which is not a strictly feasible solution. So, the primal problem has an optimal

objective value of 0. Now consider the dual. We require

y 1 1 1 y 2

 0. So

the feasible region is {(y 1 , y 2 ) : y 1 > 0 , y 2 > 0 , y 1 y 2 ≥ 1 }. So the dual optimal objective value is 0, but it is not attained. We can get arbitrarily close with solutions (, (^1)  ) for some arbitrarily small  > 0. We also want to relate the existence of primal-dual Slater points to the notion of robust solvability of these problems. Here is an example, which shows that tweaking one of the data parameters by a small amount can lead to something drastically different. Consider

min

 • X

s.t.

 • X = 0

 • X = 2

X  0

Any feasible X is of the form

0 ξ 1 ξ 2 ξ 1 ξ 3 ξ 4 ξ 2 ξ 4 1 − ξ 1

, and since X  0, any

feasible X must have the form

X =

0 ξ 3 ξ 4 0 ξ 4 1

It follows that an optimal X is

 (^) with an optimal value 1. The

dual problem is

max 2 y 2

s.t. S =

−y 1 −y 2 0 −y 2 0 0 0 0 1 − 2 y 2

S  0

and so y 2 = 0, and y 1 should be nonpositive. Thus y = (0 0)T^ is optimal, with optimal value 0. Here both problems attain their optimal values, but there is a gap between them. Note that the dual problem does not have a Slater point either in this case. Now let us see what happens if we perturb b 1 from its present value 0 to  > 0. In this case X 11 = , and so X 12 is no longer constrained to be 0. In fact any feasible X has the form

X =

 ξ 1 ξ 2 ξ 1 ξ 3 ξ 4 ξ 2 ξ 4 1 − ξ 1

and in fact an optimal X is given by

X =

for an optimal value of 0. It can be easily verified (check this!) that the dual optimal solution is attained at the same point as before the perturbation, and its optimal value is once again zero. So after the perturbation, we see that both points attain their optimal solution, and the duality gap is zero. This brings up the issue of robustness. We see that the properties of this semidefinite program are not robust with respect to small perturbations in the data, i.e. for a small change in parameters, something entirely different can happen.

3 Complementary slackness, strict complemen-

tarity, and optimality conditions

Consider the conic programs (1) and (2). The strong duality theorem for this

pair of conic programs suggests that xT^ s =

∑^ r

i=

xTi si = 0. Since xTi si ≥ 0,

i = 1,... , r we must have xTi si = 0, i = 1,... , r. Let Ki be the ith cone in (1). We will use the condition xTi si = 0 to derive the complementary slackness conditions for Ki as follows:

  1. Linear cone: Suppose Ki = IRni^. Consider xi, si ∈ Ki. In this case, we have xTi si =

∑^ ni

j=

(xi)j (si)j = 0 with xi, si ≥ 0

which gives the following complementary slackness conditions

(xi)j (si)j = 0 , j = 1,... , ni (18)

for a linear cone. See chapter 5 in Chv´atal [4] for more details.

4 Extreme point solutions and nondegeneracy

We noted in section 2 that a conic program involves the minimization of a linear function over a convex set that is the intersection of an affine subspace and a closed convex cone. Therefore, we know that an optimal solution will be attained at an extreme point of the feasible region. In this section, we review the notions of extreme points and nondegeneracy for linear and semidefinite programs. We will first introduce some definitions: For any point x ∈ IRn, the distance from x to the convex cone K is defined as the distance from x to the unique closest point in K and is denoted by dist(x, K). Consider the primal conic program. (11) and its feasible region F (P ). A point x ∈ F (P ) is said to be an extreme point of F (P ) if and only if there is no d ∈ IRn^ such that x±λd ∈ F (P ) for some λ > 0. Let

Definition 5

BK x = {d ∈ IRn^ : x ± λd ∈ K for some λ > 0 } T (^) xK = {d ∈ IRn^ : dist(x ± λd, K) = O(λ^2 ) for some λ > 0 } N = {d ∈ IRn^ : Ad = 0} N ⊥^ = {d ∈ IRn^ : d = AT^ y for some y ∈ IRm}.

Note that N ⊥^ is the orthogonal complement of N. From linear algebra, we know that N ⊥^ is the row space of A. Exercise: Show that the row space of A is the orthogonal complement of the null space of A.

Theorem 6 Let x be a feasible solution in (11).

x is an extreme point of (11) ⇔ B xK ∩ N = ∅.

Proof: Consider a x ∈ F (P ). If x is not an extreme point of (11) then there is a nonzero d ∈ IRn^ such that x ± λd ∈ F (P ) for some λ > 0. Therefore, A(x ± λd) = Ax = b which implies that d ∈ N. Moreover, x ± λd ≥ 0 for some λ > 0 which implies that d ∈ B xK. Therefore, d ∈ BK x ∩ N which implies that BK x ∩ N 6 = ∅. Similarly, if there is a nonzero d ∈ B xK ∩ N then x ± λd ∈ F (P ) for some λ > 0 which implies that x is not an extreme point of (11).

We will now describe BK x for linear and semidefinite cones:

  1. Let F (P ) = {x ∈ IRn^ : Ax = b, x ≥ 0 } be the feasible set of a linear program and let x ∈ F (P ). We have

BxLP = {d ∈ IRn^ : di = 0 if xi = 0, i = 1,... , n}. (23)

  1. Let F (P ) = {X ∈ Sn^ : Ai • X = bi, i = 1,... , m, X  0 } be the feasible set of a semidefinite program and let X = [P Q]

[

]

[P Q]T^ be a feasible solution where P ∈ IRn×r^ with P T^ P = I is an orthonormal matrix containing the positive eigenspace of X and Λ  0 is a diagonal matrix of size r containing the positive eigenvalues of X. We have

BXSDP =

[P Q]

[

U 0

]

[P Q]T^ : U ∈ Sr

For the linear cone T (^) xLP = BLPx. However, for the semidefinite cone BXSDP ⊂ T (^) XSDP. In fact, we have

T XSDP =

[P Q]

[

U V

V T^0

]

[P Q]T^ : U ∈ Sr^ V ∈ IRr×(n−r)

To see this, consider sufficiently small perturbations X ± λ∆X, with ∆X ∈ T (^) XSDP. These matrices are typically indefinite, but a psd matrix can be recov-

ered by adding a matrix W of the form W = [P Q]

[

]

[P Q]T^ to them

where Σ ∈ S +n− r. Thus, the distance from X ± λ∆X to S +n is the norm of the matrix Σ. We utilize the Schur complement idea to obtain a bound on Σ. Notice that

X + λ∆X + W = [P Q]

[

Λ + λU λV λV T^ Σ

]

[P Q]T

so we obtain the following condition on Σ:

X + λ∆X + W  0 ⇔

[

Λ + λU λV λV T^ Σ

]

⇔ Σ − λ^2 V T^ (Λ + λU )−^1 V  0

We have utilized the fact that Λ (since it is positive definite) dominates λU , so the matrix Λ + λU is invertible in the Schur complement. Thus loosely speaking, we can choose Σ with ||Σ|| = O(λ^2 ), so ∆X is in T (^) XSDP. For a sufficiently small perturbation λ we can say that whenever ∆X ∈ T (^) XSDP , then the matrix X ± λ∆X is sufficiently close to being a positive semidefinite matrix. Moreover, we have

T XSDP

⊥

[P Q]

[

0 W

]

[P Q]T^ : W ∈ Sn−r

We will now introduce the notion of primal nondegeneracy. For more details, see Alizadeh et al. [2].

Definition 7 Let x ∈ IRn^ be a feasible solution in (11) and

T (^) xK + N = IRn^ (27)

then X is primal nondegenerate.

Note that the definition (27) can also be stated as

T (^) xK ⊥ ∩ N ⊥^ = ∅ (28)

where T (^) xK ⊥ and N ⊥^ denote the orthogonal complements of T (^) XK and N , respec- tively. It is easy to see that the definitions (27) and (28) are equivalent: For

instance, if x ∈ T (^) xK ⊥ ∩ N ⊥^ then x is neither in T (^) xK nor N and so T (^) xK + N 6 = IRn. Similarly, we can define dual nondegeneracy as follows:

Definition 8 Let y ∈ IRm^ and s ∈ IRn^ be a feasible solution in (12) and

T (^) zK + N ⊥^ = IRn^ (29)

Therefore, ∑m

k=

ykAk = [P Q]

[

0 W

]

[P Q]T^.

Since, N ⊥^ =

∑^ m

k=

ykAk we have T (^) XSDP ⊥ ∩ N ⊥^6 = ∅ which contradicts

the nondegeneracy assumption on X. Moreover, if the matrices Bk, k = 1 ,... , m are linearly independent in Sn, then we have T (^) XSDP ⊥ ∩ N ⊥^ = ∅ which implies that X is nondegenerate.

For linear programs, if the primal (dual) optimal solution is nondegenerate then the dual (primal) optimal solution is unique (see Chv´atal [4]). For semidefinite programs, if the primal optimal solution is nondegenerate then the dual optimal solution is unique as we shall show below:

Theorem 11 Let X = [P Q]

[

]

[P Q]T^ with Λ  0 be a primal nonde-

generate optimal solution to the primal semidefinite program. Then there exists a unique optimal dual solution (y, S).

Proof: We assume that our semidefinite program satisfies assumption 1, which in turn implies that the dual slack variable S is uniquely determined by the y variable. Therefore, we have only to show that there exists a unique optimal solution y to the dual semidefinite program. The complementary slackness conditions XS = 0 for semidefinite programs suggests that an optimal S is of

the form S = [P Q]

[

]

[P Q]T^. Consider [P Q]T^ S[P Q] = 0. This gives

[ 0 0 0 0

]

[

P T^ CP P T^ CQ

QT^ CP 0

]

∑^ m

i=

yi

[

P T^ AiP P T^ AiQ QT^ AiP 0

]

and

QT^ SQ = QT^ CQ −

∑^ m

i=

yi(QT^ AiQ).

Suppose, there are two optimal solutions ¯y and ˜y to the dual semidefinite pro- gram, then the first equation in (30) implies that ¯y = ˜y (using the linear in- dependence of the Bk matrices). This indicates that the dual problem has a unique optimal solution (y, S).

The converse of theorem 11 also holds under the addition of strict comple- mentarity (see Alizadeh et al. [2]). Thus, the notions of nondegeneracy and extreme point solutions in conic programs (under the additional assumption of strict complementarity) are complementary, i.e., if the primal (dual) optimal is nondegenerate then the dual (primal) optimal solution is an extreme point. Since, strictly complementary optimal solutions always exist for linear programs (Goldman-Tucker theorem), this is true for all linear programs. This is not al- ways true for second order and semidefinite programs and we refer the reader to examples in Alizadeh et al. [2, 1]. Similarly, we can show that if the dual optimal solution to a semidefinite program is nondegenerate then the primal semidefinite program has a unique optimal solution. Moreover, the converse is also true under the assumption of strict complementarity (see Alizadeh et al. [2]).

We have not discussed the notion of extreme point solutions and primal and dual nondegeneracy in second order cone programs. For more details, we refer the reader to Alizadeh and Goldfarb [1].

References

[1] F. Alizadeh and D. Goldfarb, Second order cone programming, Math- ematical Programming, 95(2003), pp. 3-51.

[2] F. Alizadeh, J.A. Haeberly, and M.L. Overton, Complementarity and nondegeneracy in semidefinite programming, Mathematical Program- ming, 77(1997), pp. 129-162.

[3] A. Ben-Tal and A. Nemirovskii, Lectures on Modern Convex Optimiza- tion, MPS-SIAM Series on Optimization, 2001.

[4] V. Chv´atal, Linear Programming, W.H. Freeman and Company, New York, 1983.

[5] R. Horn and C. Johnson, Matrix Analysis, Cambridge University Press,

[6] J. Renegar, A Mathematical View of Interior-Point Methods in Convex Optimization, MPS-SIAM Series on Optimization, 2001.

[7] M.J. Todd, Semidefinite Optimization, Acta Numerica 10(2001), pp. 515-

[8] S.J. Wright, Primal-Dual Interior-Point Methods, SIAM, Philadelphia,