Title | Dis8 - Discussion 8 |
---|---|
Course | Optimization Models in Engineering |
Institution | University of California, Berkeley |
Pages | 2 |
File Size | 106.2 KB |
File Type | |
Total Downloads | 96 |
Total Views | 148 |
Discussion 8...
1
EECS 127/227AT Optimization Models in Engineering Spring 2020
Discussion 8
1. Complementary slackness Consider the problem: p∗ = min x2 x∈R
s.t. x ≥ 1, x ≤ 2. (a) Does Slater’s condition hold? Is the problem convex? Does strong duality hold? (b) Find the Lagrangian L(x, λ1 , λ2 ). (c) Solve for x∗ , λ∗1 , λ∗2 that satisfy KKT conditions. (d) 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∗ ? (e) Find the dual function g(λ1 , λ2 ) so that the dual problem is given by, d∗ =
max
λ1 ,λ2 ∈R+
g(λ1 , λ2 ).
(1)
(f) Solve the dual problem in (1) for d ∗ .
2. [Optional] Simple constrained optimization problem with duality Consider the optimization problem min f (x1 , x2 )
x1 ,x2 ∈R
subject to 2x1 + x2 ≥ 1 x1 + 3 x2 ≥ 1 x1 ≥ 0, x2 ≥ 0 (a) Express the Lagragian of the problem L(x1 , x2 , λ1 , λ2 , λ3 , λ4 ) Solve the following problems analytically and give the minimizing x∗1 , x∗2 : Hint: Use duality if the problem is hard to solve. Use the graphs in Figure 1 to ”dualize” only some constraints: (b) f (x1 , x2 ) = x1 + x2 (c) f (x1 , x2 ) = −x1 − x2 (d) f (x1 , x2 ) = x1 (e) f (x1 , x2 ) = max{x1 , x2 } (f) f (x1 , x2 ) = x21 + 9x22
2
(b)
(c)
(d)
(e)
(f) Figure 1: Heatmap of 2(b), 2(c), 2(d), 2(e) and 2(f): ~x⋆ = ( 25 , 15 ). In red is the unfeasible points, then the level sets are shown with colors; blue points are points (x1 , x2 ) with the lowest value f (x1 , x2 ), red points are the ones with highest value....