2 - 1 Convexity and Duality P. Parrilo and S. Lall, CDC 2003 2003.12.07.03 2. Convexity and Duality
Convex sets and functions Convex optimization problems Standard problems: LP and SDP Feasibility problems Algorithms Certi cates and separating hyperplanes Duality and geometry Examples: LP and and SDP Theorems of alternatives 2 - 2 Convexity and Duality P. Parrilo and S. Lall, CDC 2003 2003.12.07.03 Basic Nomenclature
A set S Rn is called a ne if x, y S implies x + (1 )y S for all R; i.e., the line through x,∈ y is contained in S ∈ ∈ convex if x, y S implies x + (1 )y S for all [0, 1]; i.e., the line segment∈ between x and y is contained∈ in S. ∈ a convex cone if x, y S implies x + y S for all , 0; i.e., the pie slice between x∈and y is contained in∈S.
A function f : Rn R is called → a ne if f( x + (1 )y) = f(x) + (1 )f(y) for all R and ∈ x, y Rn; i.e., f is equals a linear function plus a constant f = Ax+b ∈ convex if f x + (1 )y f(x) + (1 )f(y) for all [0, 1] ∈ and x, y Rn ∈ 2 - 3 Convexity and Duality P. Parrilo and S. Lall, CDC 2003 2003.12.07.03 Properties of Convex Functions f + f is convex if f and f are 1 2 1 2 f(x) = max f (x), f (x) is convex if f and f are { 1 2 } 1 2 g(x) = sup f(x, y) is convex if f(x, y) is convex in x for each y y convex functions are continuous on the interior of their domain f(Ax + b) is convex if f is Af(x) + b is convex if f is g(x) = infy f(x, y) is convex if f(x, y) is jointly convex the sublevel set n x R f(x) { ∈ | } is convex if f is convex; (the converse is not true) 2 - 4 Convexity and Duality P. Parrilo and S. Lall, CDC 2003 2003.12.07.03 Convex Optimization Problems
minimize f0(x) subject to f (x) 0 for all i = 1, . . . , m i hi(x) = 0 for all i = 1, . . . , p
This problem is called a convex program if the objective function f is convex 0 the inequality constraints f are convex i the equality constraints h are a ne i 2 - 5 Convexity and Duality P. Parrilo and S. Lall, CDC 2003 2003.12.07.03 Linear Programming (LP) In a linear program, the objective and constraint functions are a ne.
minimize cT x subject to Ax = b Cx d Example
minimize x1 + x2 subject to 3x + x 3 1 2 x 1 2 x 4 1 x + 5x 20 1 2 x + 4x 20 1 2 2 - 6 Convexity and Duality P. Parrilo and S. Lall, CDC 2003 2003.12.07.03 Linear Programming Every linear program may be written in the standard primal form
minimize cT x subject to Ax = b x 0 n Here x R , and x 0 means xi 0 for all i ∈
The nonnegative orthant x Rn x 0 is a convex cone. ∈ | This convex cone de nes the partial ordering on Rn Geometrically, the feasible set is the intersection of an a ne set with a convex cone. 2 - 7 Convexity and Duality P. Parrilo and S. Lall, CDC 2003 2003.12.07.03 Semide nite Programming
minimize trace CX subject to trace AiX = bi for all i = 1, . . . , m X 0
The variable X is in the set of n n symmetric matrices n n n T S = A R A = A ∈ | X 0 means X is positive semide nite As for LP, the feasible set is the intersection of an a ne set with a convex cone, in this case the positive semide nite cone n X S X 0 ∈ | Hence the feasible set is convex. 2 - 8 Convexity and Duality P. Parrilo and S. Lall, CDC 2003 2003.12.07.03 SDPs with Explicit Variables We can also explicitly parametrize the a ne set to give
minimize cT x subject to F + x F + x F + + xnFn 0 0 1 1 2 2 where F0, F1, . . . , Fn are symmetric matrices.
The inequality constraint is called a linear matrix inequality; e.g., x 3 x + x 1 1 1 2 x1 + x2 x2 4 0 0 1 0 x 1 which is equivalent to 3 0 1 1 1 0 0 1 0 0 4 0 + x1 1 0 0 + x2 1 1 0 0 1 0 0 0 0 1 0 0 0 2 - 9 Convexity and Duality P. Parrilo and S. Lall, CDC 2003 2003.12.07.03 The Feasible Set is Semialgebraic
The (basic closed) semialgebraic set de ned by polynomials f1, . . . , fm is
n x R fi(x) 0 for all i = 1, . . . , m ∈ | n o
The feasible set of an SDP is a semialgebraic set.
Because a matrix A 0 if and only if det(Ak) > 0 for k = 1, . . . , n where Ak is the submatrix of A consisting of the rst k rows and columns. 2 - 10 Convexity and Duality P. Parrilo and S. Lall, CDC 2003 2003.12.07.03 The Feasible Set
For example 3 x (x + x ) 1 1 1 2 0 (x1 + x2) 4 x2 0 1 0 x 1 is equivalent to the polynomial inequalities
0 < 3 x 1 0 < (3 x )(4 x ) (x + x )2 1 2 1 2 0 < x ((3 x )(4 x ) (x + x )2) (4 x ) 1 1 2 1 2 2 2 - 11 Convexity and Duality P. Parrilo and S. Lall, CDC 2003 2003.12.07.03 Feasible Sets of SDP If S is the feasible set of an SDP, then S is de ned by polynomials. m m S = x R A0 + Aixi 0 ∈ | n Xi=1 o In fact, S is the closure of the connected component containing 0 of m C = x R f(x) > 0 ∈ | where f = det A + m A x and A 0 0 i=1 i i 0 P Question: for what polynomials f is C the feasible set of an SDP?
What about (x, y) x4 + y4 1 ? It is convex and semialgebraic | 2 - 12 Convexity and Duality P. Parrilo and S. Lall, CDC 2003 2003.12.07.03 A Necessary Condition A simple necessary condition Example: x4 + y4 < 1 cannot consider the line x = zt; then be represented in the form m A0 + A1x + A2y 0 det A0 + t Aizi = 0 i=1 X must vanish at exactly n real points 1.5
1
any line through 0 must intersect 0.5 x f(x) = 0 exactly n times | 0