Assignment 5
Assignment 5
min f0 (x) := x2 + 1
s.t. f1 (x) := (x − 2)(x − 4) ≤ 0
where x ∈ R.
(a) Analysis of primal problem. Give the feasible set, the optimal value, and the optimal solution.
(b) Lagrangian and the dual function. Plot f0 (x). On the same plot, show the feasible set, optimal
point and value, and plot the Lagrangian L(x, λ) versus x for a few positive values of λ. Verify
the lower bound property (p⋆ ≥ inf x L(x, λ) ∀ λ ≥ 0). Derive and sketch the dual function g.
(c) Lagrange dual problem. State the dual problem, and verify that it is a concave maximization
problem. Find the dual optimal value and dual optimal solution λ⋆ . Does strong duality hold?
(d) Sensitivity Analysis. Let p⋆ (u) denote the optimal value of the problem
min f0 (x) := x2 + 1
s.t. f1 (x) := (x − 2)(x − 4) ≤ u
as a function of the parameter u. Plot p⋆ (u). Verify that dp⋆ /du = −λ⋆ .
Exercise 3: A convex problem in which strong duality fails ([BV04], Ex. 5.21)
Consider the optimization problem
minimize e−x
subject to x2 /y ≤ 0
1
(d) What is the optimal value p∗ (u) of the perturbed problem
minimize e−x
subject to x2 /y ≤ u
p∗ (u) ≥ p∗ (0) − λ∗ u
f i : RK i −→ R
Ki
!
X
yk
y 7−→ log e
k=1
b) Using the conjugate function computed previously, write the dual of the geometric program.
minimize xT W x (1)
subject to x2i = 1, i = 1, · · · , n
with variable x ∈ Rn . The Langrange dual of this non convex problem is given by the SDP
with variable ν ∈ Rn .
(a) Two-way partitioning problem in matrix form. Show that the two-way partitioning problem ca be
cast as
minimize tr(W X)
subject to X 0
rankX = 1
Xii = 1, i = 1, · · · , n
with variable X ∈ Sn . Hint: show that if X is feasible, then it has the form X = xxT , where
x ∈ Rn satisfies xi ∈ {−1, 1} and vice versa.
2
(b) SDP relaxation of the two-way partitioning problem. Using the formulation in part (a) we can
form the relaxation
with variable X ∈ Sn . Explain why its optimal value gives a lower bound on the optimal value of
the two-way partitioning problem 1. What can you say if an optimal point X ∗ for this SDP has
rank one?
(c) We now have two SDP’s that give a lower bound on the optimal value of the two-way partitioning
problem 1: the SDP relaxation 3 and the Langrange dual 2. What is the relation between the two
SDP’s? What can you say about the lower bounds found by them? Hint: relate the two SDP’s
via duality.
(d) Using any SDP solver, for example SPDT3 for Matlab, compute the different lower bounds for
a random instance of the two-way partitioning problem. For example generate the matrix W as
follows in matlab:
randn(’state’,0); n = 10; W = randn(n); W = 0.5*(W + W’);,
References
[BV04] S. Boyd, L. Vandenberghe. Convex Optimization. Cambridge University Press, 2004.
Please hand in your assignment no later than Tuesday, May 20th 2008, 13:00 at HG G21 (“Convex Optimization” tray) or
during the class.
Certificate condition: 50% of the total number of exercises have to be solved (each assignment will contain approx. 4-6
exercises).