Conic Optimization: Conic Linear Program Examples Modeling Duality
Conic Optimization: Conic Linear Program Examples Modeling Duality
• examples
• modeling
• duality
15-1
Generalized (conic) inequalities
• closed
• pointed: K ∩ (−K) = {0}
• with nonempty interior: int K 6= ∅; equivalently, K + (−K) = Rm
x K y ⇐⇒ x−y ∈K
x K y ⇐⇒ x − y ∈ int K
αx + βu αy + βv ∀α, β ≥ 0
• xx
• x y z implies x z
• x y and y x imply y = x
minimize cT x
subject to Ax b
Fx = g
• K is a proper cone in Rm
• for K = Rm
+ , problem reduces to regular linear program (LP)
• examples
• modeling
• duality
Norm cones
m−1
K = (x, y) ∈ R × R | kxk ≤ y
1
y
1
0 0
−1
0
1 −1 x2
x1
for the Euclidean norm this is the second-order cone (notation: Qm)
minimize cT x
subject to kBk0x + dk0k2 ≤ Bk1x + dk1, k = 1, . . . , r
√
U11 U U
vec(U ) = 2 √ , U21, . . . , Up1, √22 , U32, . . . , Up2, . . . , √pp
2 2 2
√
coefficients 2 are added so that standard inner products are preserved:
z 1
0
1 1
0
−1 0 x
y
√
x√ y/ 2
S 2 = (x, y, z)
y/ 2 0
z
minimize cT x
subject to x1A11 + x2A12 + · · · + xnA1n B1
...
x1Ar1 + x2Ar2 + · · · + xnArn Br
with Aij , Bi ∈ Spi
Conic LP formulation
K = S p1 × S p2 × · · · × S pr
vec(A11) vec(A12) · · · vec(A1n) vec(B1)
vec(A21) vec(A22) · · · vec(A2n) vec(B2)
A=
... ... ...
,
b=
.
..
vec(Ar1) vec(Ar2) · · · vec(Arn) vec(Br )
1
z
2
y 1 0
−1
0−2 x
minimize cT x
ni
exp(aTik x + bik ) ≤ 0,
P
subject to log i = 1, . . . , r
k=1
Conic LP formulation
minimize cT x
T
aik x + bik
subject to 1 ∈ Kexp, k = 1, . . . , ni, i = 1, . . . , r
zik
ni
P
zik ≤ 1, i = 1, . . . , m
k=1
m
P
Definition: for α = (α1, α2, . . . , αm) > 0 and αi = 1
i=1
Rm xα · · · xα
1
Kα = (x, y) ∈ + × R | |y| ≤ 1 m
m
Examples for m = 2
α = ( 12 , 12 ) α = ( 23 , 31 ) α = ( 34 , 14 )
0 0 0
Consequence
x∈C ⇐⇒ (x, 1) ∈ K
Consequence
f (x) ≤ t ⇐⇒ (x, 1, t) ∈ K
• examples
• modeling
• duality
Modeling software
Related packages
f (x) ≤ t
• convex quadratic
f (x) = xT P x + q T x + r (P 0)
• quadratic-over-linear function
xT x
f (x, y) = with dom f = Rn × R+ (assume 0/0 = 0)
y
xβ
α x>0
f (x) = |x| , f (x) =
+∞ x ≤ 0
• matrix-fractional function
P
• nuclear norm f (X) = kXk∗ = i σi (X)
U X 1
kXk∗ ≤ t ⇐⇒ ∃U, V : 0, (tr U + tr V ) ≤ t
XT V 2
Exponential cone
Power cone
• examples
• modeling
• duality
Dual cone
K ∗ = {y | xT y ≥ 0 for all x ∈ K}
• K ∗ is a proper cone
• (K ∗)∗ = K
• int K ∗ = {y | xT y > 0 for all x ∈ K , x 6= 0}
∗ +
Kexp = (u, v, w) ∈ R− × R × R | −u log(−u/w) + u − v ≤ 0
(with 0 log(0/w) = 0 if w ≥ 0)
Kα∗ Rm α1 αm
= (u, v) ∈ + × R | |v| ≤ (u1/α1) · · · (um/αm)
minimize cT x
subject to Ax b
maximize −bT z
subject to AT z + c = 0
z ∗ 0
Primal problem
minimize x1
0 x1
subject to 0
x1 x 2
x1 ≥ −1
optimal value p? = 0
Dual problem
maximize −z
Z11 Z12
subject to 0, z≥0
Z12 Z22
2Z12 + z = 1, Z22 = 0
optimal value d? = −1
T
0 0 A x c
= + (1)
s −A 0 z b
s 0, z ∗ 0, zT s = 0
z T s = cT x + bT z
2. AT z = 0, z 6= 0, z ∗ 0, bT z ≤ 0
2. AT z + c = 0, z K ∗ 0
Primal feasibility
2. AT z = 0, z ∗ 0, bT z < 0
Dual feasibility
2. AT z + c = 0, z ∗ 0
Idea
embed primal, dual conic LPs into a single (self-dual) conic LP, so that:
minimize 0
T
0 0 A c x
subject to s = −A 0 b z
κ −cT −bT 0 τ
s 0, κ ≥ 0, z ∗ 0, τ ≥0
• a self-dual conic LP
T
0 0 A c x
s = −A 0 b z
κ −cT −bT 0 τ
s 0, κ ≥ 0, z ∗ 0, τ ≥0
zT s + τ κ = 0
Case 1: τ > 0, κ = 0
are primal and dual solutions of the conic LPs, i.e., satisfy
T
0 0 A x̂ c
= +
ŝ −A 0 ẑ b
ŝ 0, ẑ ∗ 0, ŝT ẑ = 0
AT ẑ = 0, bT ẑ = −1, ẑ ∗ 0
Ax̂ 0, cT x̂ = −1
minimize θ
T
0 0 A c qx x 0
s −A 0 b qz
z + 0
κ = −cT
subject to
−bT
0 qτ τ 0
0 −qxT −qzT −qτ 0 θ 1
s 0, κ ≥ 0, z ∗ 0, τ ≥0
• a self-dual conic LP
T
0 0 A c qx x 0
s −A 0 b qz
z + 0
κ = −cT −bT
0 qτ τ 0
0 −qxT −qzT −qτ 0 θ 1
s 0, κ ≥ 0, z ∗ 0, τ ≥0
zT s + τ κ = 0
θ = sT z + κτ
A. Ben-Tal and A. Nemirovski, Lectures on Modern Convex Optimization. Analysis, Algorithms, and
Engineering Applications, (2001).