






















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!























Convex Optimization — Boyd & Vandenberghe
Lagrange dual problem
weak and strong duality
geometric interpretation
optimality conditions
perturbation and sensitivity analysis
examples
generalized inequalities
5–
standard form problem
(not necessarily convex)
minimize
f
0
x
subject to
f
i
x
i
,... , m
h
i
x
i
,... , p
variable
x
n
, domain
, optimal value
p
⋆
Lagrangian:
n
m
p
, with
dom
m
p
x, λ, ν
f
0
x
m
i
=
λ
i
f
i
x
p
i
=
ν
i
h
i
x
weighted sum of objective and constraint functions
λ
i
is Lagrange multiplier associated with
f
i
x
ν
i
is Lagrange multiplier associated with
h
i
x
Duality
5–
minimize
x
T
x
subject to
Ax
b
dual function
Lagrangian is
x, ν
x
T
x
ν
T
Ax
b
to minimize
over
x
, set gradient equal to zero:
x
x, ν
x
T
ν
x
T
ν
plug in in
to obtain
g
g
ν
T
ν, ν
ν
T
T
ν
b
T
ν
a concave function of
ν
lower bound property
p
⋆
ν
T
T
ν
b
T
ν
for all
ν
Duality
5–
minimize
c
T
x
subject to
Ax
b,
x
dual function
Lagrangian is
x, λ, ν
c
T
x
ν
T
Ax
b
λ
T
x
b
T
ν
c
T
ν
λ
T
x
is affine in
x
, hence
g
λ, ν
) = inf
x
x, λ, ν
b
T
ν
T
ν
λ
c
otherwise
g
is linear on affine domain
λ, ν
T
ν
λ
c
, hence concave
lower bound property
p
⋆
b
T
ν
if
T
ν
c
Duality
5–
minimize
x
T
W x
subject to
x
2 i
i
,... , n
a nonconvex problem; feasible set contains
n
discrete points
interpretation: partition
,... , n
in two sets;
ij
is cost of assigning
i
j
to the same set;
ij
is cost of assigning to different sets
dual function
g
ν
) = inf
x
x
T
W x
i
ν
i
x
2 i
inf
x
x
T
diag
ν
x
T
ν
T
ν
diag
ν
otherwise
lower bound property
p
⋆
T
ν
if
diag
ν
example:
ν
λ
min
gives bound
p
⋆
nλ
min
Duality
5–
minimize
f
0
x
subject to
Ax
b,
Cx
d
dual function
g
λ, ν
inf
x
∈
dom
f
0
f
0
x
T
λ
T
ν
T
x
b
T
λ
d
T
ν
f
∗
0
T
λ
T
ν
b
T
λ
d
T
ν
recall definition of conjugate
f
∗
y
) = sup
x
∈
dom
f
y
T
x
f
x
simplifies derivation of dual if conjugate of
f
0
is known
example: entropy maximization
f
0
x
n
i
=
x
i
log
x
i
f
∗
0
y
n
i
=
e
y
i
−
1
Duality
5–
weak duality:
d
⋆
p
⋆
always holds (for convex and nonconvex problems)
can be used to find nontrivial lower bounds for difficult problemsfor example, solving the SDP
maximize
T
ν
subject to
diag
ν
gives a lower bound for the two-way partitioning problem on page 5–
strong duality:
d
⋆
p
⋆
does not hold in general
(usually) holds for convex problems
conditions that guarantee strong duality in convex problems are called constraint qualifications
Duality
5–
strong duality holds for a convex problem
minimize
f
0
x
subject to
f
i
x
i
,... , m
Ax
b
if it is strictly feasible,
i.e.
x
int
f
i
x
i
,... , m,
Ax
b
also guarantees that the dual optimum is attained (if
p
⋆
can be sharpened:
e.g.
, can replace
int
with
relint
(interior
relative to affine hull); linear inequalities do not need to hold with strictinequality,...
there exist many other types of constraint qualifications
Duality
5–
primal problem
(assume
n ++
minimize
x
T
P x
subject to
Ax
b
dual function
g
λ
) = inf
x
x
T
P x
λ
T
Ax
b
λ
T
−
1
T
λ
b
T
λ
dual problem
maximize
λ
T
−
1
T
λ
b
T
λ
subject to
λ
from Slater’s condition:
p
⋆
d
⋆
if
x
b
for some
x
in fact,
p
⋆
d
⋆
always
Duality
5–
minimize
x
T
Ax
b
T
x
subject to
x
T
x
, hence nonconvex
dual function:
g
λ
) = inf
x
x
T
λI
x
b
T
x
λ
unbounded below if
λI
or if
λI
and
b
λI
minimized by
x
λI
†
b
otherwise:
g
λ
b
T
λI
†
b
λ
dual problem
and equivalent SDP:
maximize
b
T
λI
†
b
λ
subject to
λI
b
λI
maximize
t
λ
subject to
λI
b
b
T
t
strong duality although primal problem is not convex (not easy to show) Duality
5–
epigraph variation:
same interpretation if
is replaced with
u, t
f
1
x
u, f
0
x
t
for some
x
A
p
⋆
g
(
λ
)
λu
t
=
g
(
λ
)
t
u
strong duality
holds if there is a non-vertical supporting hyperplane to
at
, p
⋆
for convex problem,
is convex, hence has supp. hyperplane at
, p
⋆
Slater’s condition: if there exist
u,
˜t
with
u <
, then supporting
hyperplanes at
, p
⋆
must be non-vertical
Duality
5–
assume strong duality holds,
x
⋆
is primal optimal,
λ
⋆
, ν
⋆
is dual optimal
f
0
x
⋆
g
λ
⋆
, ν
⋆
inf
x
f
0
x
m
i
=
λ
⋆i
f
i
x
p
i
=
ν
⋆
i
h
i
x
f
0
x
⋆
m
i
=
λ
⋆ i
f
i
x
⋆
p
i
=
ν
⋆
i
h
i
x
⋆
f
0
x
⋆
hence, the two inequalities hold with equality
x
⋆
minimizes
x, λ
⋆
, ν
⋆
λ
⋆i
f
i
x
⋆
for
i
,... , m
(known as complementary slackness):
λ
⋆ i
f
i
x
⋆
f
i
x
⋆
λ
⋆ i
Duality
5–
if
x
˜λ
ν
satisfy KKT for a convex problem, then they are optimal:
from complementary slackness:
f
0
x
x,
λ,
ν
from 4th condition (and convexity):
g
λ,
ν
x,
λ,
ν
hence,
f
0
x
g
λ,
ν
if
Slater’s condition
is satisfied:
x
is optimal if and only if there exist
λ
ν
that satisfy KKT conditions
recall that Slater implies strong duality, and dual optimum is attained
generalizes optimality condition
f
0
x
for unconstrained problem
Duality
5–
example: water-filling
(assume
α
i
minimize
n i
=
log(
x
i
α
i
subject to
x
T
x
x
is optimal iff
x
T
x
, and there exist
λ
n
ν
such that
λ
λ
i
x
i
x
i
α
i
λ
i
ν
if
ν <
/α
i
λ
i
and
x
i
/ν
α
i
if
ν
/α
i
λ
i
ν
/α
i
and
x
i
determine
ν
from
T
x
n i
=
max
/ν
α
i
interpretation
n
patches; level of patch
i
is at height
α
i
flood area with unit amount of water
resulting level is
/ν
⋆
i
1
/ν
⋆
x
i
α
i
Duality
5–
docsity.com