Lecture 8 : Lagrangian Duality Theory

Lecture 8 : Lagrangian Duality Theory

CME307/MS&E311: Optimization Lecture Note #08 Lagrangian Duality Theory Yinyu Ye Department of Management Science and Engineering Stanford University Stanford, CA 94305, U.S.A. http://www.stanford.edu/˜yyye Chapter 14.1-4 1 CME307/MS&E311: Optimization Lecture Note #08 Recall Primal and Dual of Conic LP (CLP ) minimize c • x subject to ai • x = bi; i = 1; 2; :::; m; x 2 K; and it dual problem (CLD) maximize bT y P m 2 ∗ subject to i yiai + s = c; s K ; ∗ where y 2 Rm, s is called the dual slack vector/matrix, and K is the dual cone of K. In general, K can be decomposed to K = K1 ⊕ K2 ⊕ ::: ⊕ Kp, that is, x = (x1; x2; :::; xp); xi 2 Ki; 8i: ∗ ∗ ⊕ ∗ ⊕ ⊕ ∗ Note that K = K1 K2 ::: Kp , or 2 ∗ 8 s = (s1; s2; :::; sp); si Ki ; i: This is a powerful but very structured duality form. 2 CME307/MS&E311: Optimization Lecture Note #08 Lagrangian Function Again We now consider the general constrained optimization: min f(x) (GCO) s.t. cix)(≤; =; ≥) 0; i = 1; :::; m; For Lagrange Multipliers. 0 0 Y := fyi (≤; free ; ≥) 0; i = 1; :::; mg; the Lagrangian Function is again given by Xm T L(x; y) = f(x) − y c(x) = f(x) − yici(x); y 2 Y: i=1 We now develop the Lagrangian Duality theory as an alternative to Conic Duality theory. For general nonlinear constraints, the Lagrangian Duality theory is more applicable. 3 CME307/MS&E311: Optimization Lecture Note #08 Toy Example Again 2 2 minimize (x1 − 1) + (x2 − 1) subject to x1 + 2x2 − 1 ≤ 0; 2x1 + x2 − 1 ≤ 0: X2 T L(x; y) = f(x) − y c(x) = f(x) − yici(x) = i=1 2 2 = (x1 − 1) + (x2 − 1) − y1(x1 + 2x2 − 1) − y2(2x1 + x2 − 1); (y1; y2) ≤ 0 where 0 1 − − − @ 2(x1 1) y1 2y2 A rLx(x; y) = 2(x2 − 1) − 2y1 − y2 4 CME307/MS&E311: Optimization Lecture Note #08 Lagrangian Relaxation Problem For given multipliers y 2 Y , consider problem (LRP ) inf L(x; y) = f(x) − yT c(x) s.t. x 2 Rn: Again, yi can be viewed as a penalty parameter to penalize constraint violation ci(x); i = 1; :::; m. In the toy example, for given (y1; y2) ≤ 0, the LRP is: 2 2 inf (x1 − 1) + (x2 − 1) − y1(x1 + 2x2 − 1) − y2(2x1 + x2 − 1) 2 s.t. (x1; x2) 2 R ; and it has a close form solution x for any given y: y1 + 2y2 2y1 + y2 x = + 1 and x = + 1 1 2 2 2 − 2 − 2 − − − with the minimal or infimum value function = 1:25y1 1:25y2 2y1y2 2y1 2y2: 5 CME307/MS&E311: Optimization Lecture Note #08 Inf-Value Function as the Dual Objective For any y 2 Y , the minimal value function (including unbounded from below or infeasible cases) and the Lagrangian Dual Problem (LDP) are given by: n ϕ(y) := infx L(x; y); s.t. x 2 R : 2 (LDP ) supy ϕ(y); s.t. y Y: Theorem 1 The Lagrangian dual objective ϕ(y) is a concave function. Proof: For any given two multiply vectors y1 2 Y and y2 2 Y , 1 2 1 2 ϕ(αy + (1 − α)y ) = infx L(x; αy + (1 − α)y ) 1 2 T = infx[f(x) − (αy + (1 − α)y ) c(x)] 1 T 2 T = infx[αf(x) + (1 − α)f(x) − α(y ) c(x) − (1 − α)(y ) c(x)] 1 2 = infx[αL(x; y ) + (1 − α)L(x; y )] 1 2 ≥ α[infx L(x; y )] + (1 − α)[infx L(x; y )] = αϕ(y1) + (1 − α)ϕ(y2); 6 CME307/MS&E311: Optimization Lecture Note #08 Dual Objective Establishes a Lower Bound Theorem 2 (Weak duality theorem) For every y 2 Y , the Lagrangian dual function ϕ(y) is less or equal to the infimum value of the original GCO problem. Proof: T ϕ(y) = infx ff(x) − y c(x)g T ≤ infx ff(x) − y c(x) s.t. c(x)(≤; =; ≥)0 g ≤ infx ff(x): s.t. c(x)(≤; =; ≥)0 g: The first inequality is from the fact that the unconstrained inf-value is no greater than the constrained one. 0 0 The second inequality is from c(x)(≤; =; ≥)0 and y(≤; free ; ≥)0 imply −yT c(x) ≤ 0. 7 CME307/MS&E311: Optimization Lecture Note #08 The Lagrangian Dual Problem for the Toy Example 2 2 minimize (x1 − 1) + (x2 − 1) subject to x1 + 2x2 − 1 ≤ 0; 2x1 + x2 − 1 ≤ 0; ( ) ∗ 1 1 where x = 3 ; 3 : − 2 − 2 − − − ≤ ϕ(y) = 1:25y1 1:25y2 2y1y2 2y1 2y2; y 0: − 2 − 2 − − − max 1:25y1 1:25y2 2y1y2 2y1 2y2 s.t. (y1; y2) ≤ 0: ( ) ∗ −4 −4 where y = 9 ; 9 : 8 CME307/MS&E311: Optimization Lecture Note #08 The Lagrangian Dual of LP I Consider LP problem (LP ) minimize cT x subject to Ax = b; x ≥ 0; and its conic dual problem is given by (LD) maximize bT y subject to AT y + s = c; s ≥ 0: 0 0 We now derive the Lagrangian Dual of (LP). Let the Lagrangian multipliers be y( free ) for equalities and s ≥ 0 for constraints x ≥ 0. Then the Lagrangian function would be L(x; y; s) = cT x − yT (Ax − b) − sT x = (c − AT y − s)T x + bT y; where x is “free”. 9 CME307/MS&E311: Optimization Lecture Note #08 The Lagrangian Dual of LP II Now consider the Lagrangian dual objective [ ] ϕ(y; s) = inf L(x; y; s) = inf (c − AT y − s)T x + bT y : x2Rn x2Rn If (c − AT y − s) =6 0, then ϕ(y; s) = −∞. Thus, in order to maximize ϕ(y; s), the dual must choose its variables (y; s ≥ 0) such that (c − AT y − s) = 0. This constraint, together with the sign constraint s ≥ 0, establish the Lagrangian dual problem: (LDP ) maximize bT y subject to AT y + s = c; s ≥ 0: which is consistent with the conic dual of LP. 10 CME307/MS&E311: Optimization Lecture Note #08 The Lagrangian Dual of LP with the Log-Barrier I For a fixed µ > 0, consider the problem P T − n min c x µ j=1 log(xj) s.t. Ax = b; x ≥ 0 Again, the non-negativity constraints can be “ignored” if the feasible region has an ”interior”, that is, any minimizer must have x(µ) > 0. Thus, the Lagrangian function would be simply given by Xn Xn T T T T T L(x; y) = c x − µ log(xj) − y (Ax − b) = (c − A y) x − µ log(xj) + b y: j=1 j=1 Then, the Lagrangian dual objective (we implicitly need x > 0 for the function to be defined) 2 3 Xn 4 T T T 5 ϕ(y) := inf L(x; y) = inf (c − A y) x − µ log(xj) + b y : x x j=1 11 CME307/MS&E311: Optimization Lecture Note #08 The Lagrangian Dual of LP with the Log-Barrier II First, from the view point of the dual, the dual needs to choose y such that c − AT y > 0, since otherwise the primal can choose x > 0 to make ϕ(y) go to −∞. Now for any given y such that c − AT y > 0, the inf problem has a unique finite close-form minimizer x µ 8 xj = T ; j = 1; :::; n: (c − A y)j Thus, Xn T T ϕ(y) = b y + µ log(c − A y)j + nµ(1 − log(µ)): j=1 Therefore, the dual problem, for any fixed µ, can be written as Xn T T max ϕ(y) = nµ(1 − log(µ)) + max [b y + µ log(c − A y)j]: y y j=1 This is actually the LP dual with the Log-Barrier on dual inequality constraints c − AT y ≥ 0. 12 CME307/MS&E311: Optimization Lecture Note #08 Lagrangian Strong Duality Theorem ∗ Theorem 3 Let (GCO) be a convex minimization problem and the infimum f of (GCO) be finite, and the ∗ suprermum of (LDP) be ϕ . In addition, let (GCO) have an interior-point feasible solution with respect to inequality constraints, that is, there is x^ such that all inequality constraints are strictly held. Then, ∗ ∗ ∗ f = ϕ , and (LDP) admits a maximizer y such that ϕ(y∗) = f ∗: ∗ Furthermore, if (GCO) admits a minimizer x , then ∗ ∗ 8 yi ci(x ) = 0; i = 1; :::; m: The assumption of “interior-point feasible solution” is called Constraint Qualification condition, which was also needed as a condition to prove the strong duality theorem for general Conic Linear Optimization. Note that the problem would be a convex minimization problem if all equality constraints are hyperplane or affine functions ci(x) = aix − bi, all other level sets are convex. 13 CME307/MS&E311: Optimization Lecture Note #08 Same Example when the Constraint Qualification Failed ∗ Consider the problem (x = (0; 0)): min x1 2 − 2 − ≤ ≤ s.t. x1 + (x2 1) 1 0; (y1 0) 2 2 − ≤ ≤ x1 + (x2 + 1) 1 0; (y2 0) − 2 − 2 − − 2 2 − L(x; y) = x1 y1(x1 + (x2 1) 1) y2(x1 + (x2 + 1) 1): 2 1 + (y1 − y2) ϕ(y) = ; (y1; y2) ≤ 0 y1 + y2 Although there is no duality gap, but the dual does not admit a (finite) maximizer... In summary: The primal and Lagrangian dual may 1) have a duality gap; 2) have zero duality gap but the optimal solutions are not attainable; or 3) have zero duality gap and the optimal solutions are attainable. 14 CME307/MS&E311: Optimization Lecture Note #08 Proof of Lagrangian Strong Duality Theorem where the Constraints c(x) ≥ 0 Consider the convex set C := f(κ; s): 9x s.t.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    24 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us