Ahviuwrebnqiu 32
Ahviuwrebnqiu 32
Ahviuwrebnqiu 32
Discussion 10
s.t. − 1 ≤ x, x ≤ 1. (3)
i. Show that p∗ = 2 and the the set of optimizers x ∈ X ∗ is X ∗ = {−1, 1} by examining the “critical"
points, i.e., points where the gradient is zero, points on the boundaries, and ±∞.
where n o
g(⃗λ) = min g1 (⃗λ), g2 (⃗λ) , (5)
with
1
EECS 127/227AT Discussion 10 2024-03-22 12:16:07-07:00
s.t. x2 ≤ 1. (11)
Observe that p∗ = 2 and the set of optimizers x ∈ X ∗ is X ∗ = {−1, 1}, since this problem is equivalent
to the one in part (a).
i. Show that the dual problem can be represented as
where
g(λ) = min{g1 (λ), g2 (λ)}, (13)
with
4 − λ, λ≥3
ii. Show that g1 (λ) = g2 (λ) = .
4
−
27 (3 − λ)3 + 4 − λ, 0 ≤ λ < 3.
© UCB EECS 127/227AT, Spring 2024. All Rights Reserved. This may not be publicly shared without explicit permission. 2
EECS 127/227AT Discussion 10 2024-03-22 12:16:07-07:00
2. Complementary Slackness
Consider the problem:
p⋆ = min x2 (16)
x∈R
s.t. x ≥ 1, x ≤ 2. (17)
(a) Does Slater’s condition hold? Is the problem convex? Does strong duality hold?
(c) Find the dual function g(λ1 , λ2 ) so that the dual problem is given by,
© UCB EECS 127/227AT, Spring 2024. All Rights Reserved. This may not be publicly shared without explicit permission. 3
EECS 127/227AT Discussion 10 2024-03-22 12:16:07-07:00
(f) Can you spot a connection between the values of λ⋆1 , λ⋆2 in relation to whether the corresponding inequality
constraints are strict or not at the optimal x⋆ ?
© UCB EECS 127/227AT, Spring 2024. All Rights Reserved. This may not be publicly shared without explicit permission. 4