Professional Documents
Culture Documents
Convex Optimization Quizz
Convex Optimization Quizz
Convex Optimization Quizz
1. (45%) For each of the following optimization problems, find (i) the lagrangian L(x, λ, ν), (ii)
dual function g(λ, ν), and (iii) the dual problem.
minimize xT x
subject to Ax b
L(x, λ, ν)
=kxk22 + hλ, Ax − bi
L(x, λ, ν)
2 1
=
x − AT λ
2 − kAT λk22 − hλ, bi
4
Thus
g(λ, ν)
= inf L(x, λ, ν)
x
1
= − kAT λk22 − hλ, bi
4
The dual problem is
1
maximize − kAT λk22 − hλ, bi
4
subject to λ0
minimize xT P x
subject to xT x ≤ 1
Ax = b
where P ∈ Sn++ .
1
L(x, λ, ν)
= hx, P xi + λ · (kxk22 − 1) + hν, Ax − bi
Here the λ is a scalar, and the inner product reduces to a multiplication.
g(λ, ν)
= inf L(x, λ, ν)
x
= inf [hx, (P + λI)xi + hν, Axi − hν, bi − λ]
x
= inf hx, (P + λI)xi + AT ν, x − (hν, bi + λ)
x
√ −1
It is well known that the infimum of the quadratic form hx, A0 xi + hb0 , xi is k A b0 k22 /4,
for self-adjoint (symmetric) positive definite linear operator A (which is assumed here). As
a reminder, diagonalize A√0 (why is√that possible?) to be U DU T where D has all-positive
entries as assumed, then A0 = U DU T and the generalization of “completion of square”
works.
1 √ −1
g(λ, ν) = − k P + λI (AT ν)k22 − (hν, bi + λ)
4
The dual problem is
1 √ −1
maximize − k P + λI (AT ν)k22 − (hν, bi + λ)
4
subject to λ0
2
And finally the dual problem is
maximize tr(GZ)
(
tr(Fi Z) + ci = 0, i = 1, 2, 3
subject to
ZO
n
X
minimize f0 (x) = cT x + x3i
i=1
subject to Ax = b
(a) (10%) Derive the Lagrange dual function g(ν) of the problem (2a). Find also dom g.
n
X
L(x, λ, ν) = hc, xi + x3i + hν, Ax − bi
i=1
This function is a cubic function of each of xi , and always attains −∞ if we just set
x = (∞, . . . , ∞), and thus g(λ, ν) = ∞.
(b) (5%) Formulate the dual problem of the problem (2a).
We have the trivial dual problem
maximize −∞
subject to λ0
(d) (5%) Find the KKT conditions for the problem (2a).
(1) Primal feasibility for inequality constraint: No.
(2) Primal feasibility for inequality constraint: Ax − b = 0.
(3) Dual feasibility: No (since g is trivial).
(4) Complementary slackeness: No (since there is no inequality constraint).
(5) Vanishing of gradient of Lagrangian:
∇L = c + h3x21 , . . . , 3x2n i + AT ν = 0
Or
3hx21 , . . . , x2n i + c + AT ν = 0.
3
(e) (10%) Given a feasible point x (i.e., Ax = b), derive the Newton’s step ∆xnt by writing
down a linear system in which (∆xnt , ν + ) is the variable (ν + is the updated version of dual
variable ν):
M1 M2 ∆xnt v1
= .
M3 M4 ν+ v2
Find M1 , M2 , M3 , M4 , v1 , and v2 explicitly.
Quote the result from textbook p.526, eqn. (10.19).
This result need not be memorized. The first equation comes from the second KKT
equation. Notice that (∇2 f0 (x))∆xnt the variation of ∇f0 (x), and AT ν + is simply plugged
in the new ν value. And likewise the second equation comes from the first KKT equation
Ax − b = 0 by varying ∆xnt a little.
minimize x2 − 1
subject to 1≤x≤3
whose feasible set is [1, 3]. Suppose you are going to apply the barrier method to this problem
(whose objective function is denoted f0 and constraint functions f1 and f2 ).
(a) (6%) Derive tf0 + φ as a function of x, where t is any given positive number and φ denotes
the logarithmic barrier for the original problem.
f0 = x2 − 1, and for convenience set f1 = 1 − x, f2 = x − 3. Then
(b) (7%) Find the optimal point for the “approximated” problem
minimize tf0 + φ
x
for any given t > 0. In other words, find the central point x∗ (t) for any given t > 0.
Relevant material: textbook p.597.
Since tf0 + φ is convex in x ∈ (1, 3),
∂
(tf0 + φ) = 0
∂x
Or
1 1
2xt − − =0
x−1 x−3
When this condition is met, x ← x∗ (t) is plugged in, after some direct arrangement (x 6= 1, 3
where the function is singular and thus arrangement is valid),
4
(c) (2%) What is lim x∗ (t)?
t→∞
Cast as
When t → ∞,
4. (12%) For the following pairs of proper cones K ⊆ Rq and functions ψ : Rq → R, determine
whether ψ is a generalized logarithm for K. Briefly explain why.
∂2ψ
=x22
∂x22
>0
always.