Convex Programming
Convex Programming
Convex Programming
• Constraints to be satisfied.
Objective function
Example
Constraints
Example
Optimal solution
Vertices
Objective function
Feasible region
Huh?
• What is convex ???
• Linear Programming
• Refer to Vladimir/Pushmeet’s reading group
• Semidefinite Programming
• All this sounds Greek and Latin !!!!
Outline
• Convex Optimization
– Second Order Cone Programming (SOCP)
– Semidefinite Programming (SDP)
• Non-convex optimization
– SDP relaxations
– SOCP relaxations
• Optimization Algorithms
– Interior Point Method for SOCP
– Interior Point Method for SDP
Hmmm
ICE CREAM !!
Second Order Cone Programming
i = 1, … , L
Affine mapping of SOC
Constraints are SOC of ni dimensions
Feasible regions are intersections of conic regions
Example
Why SOCP ??
• A more general convex problem than LP
– LP SOCP
• Sum of norms
• Maximum of norms
• Sum of norms
• Maximum of norms
Minimize xT P0 x + 2 q0T x + r0
Pi >= 0
Subject to xT Pi x + 2 qiT x + ri
Minimize xT P0 x + 2 q0T x + r0
Subject to xT Pi x + 2 qiT x + ri
Minimize t
• Sum of norms
• Maximum of norms
Minimize || Fi x + gi ||
Minimize ti
Subject to || Fi x + gi || <= ti
• Sum of norms
• Maximum of norms
Minimize max || Fi x + gi ||
Minimize t
Subject to || Fi x + gi || <= t
• Sum of norms
• Maximum of norms
Minimize C X
Subject to Ai X = bi
X >= 0
Linear Objective Function
Linear Constraints
Matrix M(z)
max(M(z)-nI) <= 0
min(nI - M(z)) >= 0
nI - M(z) >= 0
Minimizing the Maximum Eigenvalue
Matrix M(z)
Max -n
nI - M(z) >= 0
SDP-able Problems
• Minimizing the maximum eigenvalue
y = (1; x)
Non-Convex Problems
Minimize xTQ0x + 2q0Tx + r0
Minimize yTM0y
Mi = [ ri qiT; qi Qi]
Subject to yTMiy < = 0
• Problem is NP-hard.
• Pray !!!
Outline
• Convex Optimization
– Second Order Cone Programming (SOCP)
– Semidefinite Programming (SDP)
• Non-convex optimization
– SDP relaxations
– SOCP relaxations
• Optimization Algorithms
– Interior Point Method for SOCP
– Interior Point Method for SDP
SDP Relaxation
Minimize yTM0y
Minimize M0 Y
Subject to Mi Y < = 0
Bad Constraint !!!!
Y = yyT
No donut for you !!!
SDP Relaxation
Minimize yTM0y
SDP Problem
Minimize M0 Y
Subject to Mi Y < = 0
Nothing left to do ….
Y >= 0 but Pray
• Graph: G=(V,E)
• Maximum-Cut
Example - Max Cut
• Graph: G=(V,E)
• Maximum-Cut
- xi = -1
- xi = +1
Example - Max Cut
• Graph: G=(V,E)
• Maximum-Cut
Minimize M0 Y Remember
X - xxT >= 0
SOCP Relaxation
Say you’re given C = { C1, C2, … Cn} such that Cj >= 0
Cj (X - xxT) >= 0
Minimize Q0 X + 2q0Tx + r0
Cj (X - xxT) >= 0
Cj C
SOCP Relaxation
If C is the infinite set of all semidefinite matrices
SOCP Relaxation = SDP Relaxation
If C is finite,
SOCP relaxation is ‘looser’ than SDP relaxation.
Q X + 2qTx + r <= 0
Q = n i uiuiT
Q X + 2qTx + r <= 0
xT Q+ x - Q+ X <= 0
zi
Choice of C
Q+ = k i uiuiT
C=
uiuiT i = k+1, k+2, … n
Q X + 2qTx + r <= 0
Q X + 2qTx + r <= 0
xTuiuiTx - zi <= 0
Specific Problem Example -
Max Cut
ei = [0 0 …. 1 0 …0]
uij = ei + ej
vij = ei - ej
ei eiT i = 1, … , |V|
C= uij uijT (i,j) E