Conic Linear Optimization and its Dual. yyye

Similar documents
Midterm Review. Yinyu Ye Department of Management Science and Engineering Stanford University Stanford, CA 94305, U.S.A.

Lecture 5. Theorems of Alternatives and Self-Dual Embedding

Lagrangian Duality Theory

Introduction to Mathematical Programming IE406. Lecture 10. Dr. Ted Ralphs

I.3. LMI DUALITY. Didier HENRION EECI Graduate School on Control Supélec - Spring 2010

Problem 1 (Exercise 2.2, Monograph)

Optimization for Communications and Networks. Poompat Saengudomlert. Session 4 Duality and Lagrange Multipliers

Lecture: Introduction to LP, SDP and SOCP

Summer School: Semidefinite Optimization

15. Conic optimization

4. Algebra and Duality

Lecture 1. 1 Conic programming. MA 796S: Convex Optimization and Interior Point Methods October 8, Consider the conic program. min.

LP Duality: outline. Duality theory for Linear Programming. alternatives. optimization I Idea: polyhedra

Convex Optimization M2

4TE3/6TE3. Algorithms for. Continuous Optimization

Lecture 14: Optimality Conditions for Conic Problems

Yinyu Ye, MS&E, Stanford MS&E310 Lecture Note #06. The Simplex Method

Week 3 Linear programming duality

Linear and Combinatorial Optimization

Agenda. 1 Duality for LP. 2 Theorem of alternatives. 3 Conic Duality. 4 Dual cones. 5 Geometric view of cone programs. 6 Conic duality theorem

Discrete Optimization

LECTURE 10 LECTURE OUTLINE

More First-Order Optimization Algorithms

Extreme Abridgment of Boyd and Vandenberghe s Convex Optimization

New stopping criteria for detecting infeasibility in conic optimization

Example: feasibility. Interpretation as formal proof. Example: linear inequalities and Farkas lemma

Sparse Optimization Lecture: Dual Certificate in l 1 Minimization

Optimality, Duality, Complementarity for Constrained Optimization

BBM402-Lecture 20: LP Duality

1 Review Session. 1.1 Lecture 2

5. Duality. Lagrangian

Semidefinite Programming

Lecture 5. The Dual Cone and Dual Problem

14. Duality. ˆ Upper and lower bounds. ˆ General duality. ˆ Constraint qualifications. ˆ Counterexample. ˆ Complementary slackness.

Lecture Note 18: Duality

Solving conic optimization problems via self-dual embedding and facial reduction: a unified approach

Conic Linear Programming. Yinyu Ye

Convex Optimization & Lagrange Duality

Approximate Farkas Lemmas in Convex Optimization

Convex Optimization Boyd & Vandenberghe. 5. Duality

Lecture: Duality.

Chapter 1. Preliminaries

Conic Linear Programming. Yinyu Ye

Lecture: Duality of LP, SOCP and SDP

EE364a Review Session 5

Farkas Lemma, Dual Simplex and Sensitivity Analysis

Lecture 3: Lagrangian duality and algorithms for the Lagrangian dual problem

Global Optimization of Polynomials

Introduction to Mathematical Programming

Lecture 10: Linear programming. duality. and. The dual of the LP in standard form. maximize w = b T y (D) subject to A T y c, minimize z = c T x (P)

CO 250 Final Exam Guide

Lecture 17: Primal-dual interior-point methods part II

Note 3: LP Duality. If the primal problem (P) in the canonical form is min Z = n (1) then the dual problem (D) in the canonical form is max W = m (2)

Lecture #21. c T x Ax b. maximize subject to

Interior Point Algorithms for Constrained Convex Optimization

EE/AA 578, Univ of Washington, Fall Duality

1 Review of last lecture and introduction

(Linear Programming program, Linear, Theorem on Alternative, Linear Programming duality)

Chapter 3, Operations Research (OR)

Example Problem. Linear Program (standard form) CSCI5654 (Linear Programming, Fall 2013) Lecture-7. Duality

Lagrange Duality. Daniel P. Palomar. Hong Kong University of Science and Technology (HKUST)

How to Take the Dual of a Linear Program

12. Interior-point methods

3. Linear Programming and Polyhedral Combinatorics

Semidefinite Programming

Duality. Lagrange dual problem weak and strong duality optimality conditions perturbation and sensitivity analysis generalized inequalities

LECTURE 25: REVIEW/EPILOGUE LECTURE OUTLINE

SEMIDEFINITE PROGRAM BASICS. Contents

Appendix PRELIMINARIES 1. THEOREMS OF ALTERNATIVES FOR SYSTEMS OF LINEAR CONSTRAINTS

Lagrange duality. The Lagrangian. We consider an optimization program of the form

The fundamental theorem of linear programming

Lecture: Algorithms for LP, SOCP and SDP

IE 5531: Engineering Optimization I

Lecture 8. Strong Duality Results. September 22, 2008

Lecture 8 Plus properties, merit functions and gap functions. September 28, 2008

CSCI 1951-G Optimization Methods in Finance Part 01: Linear Programming

A Review of Linear Programming

Semidefinite Programming

Introduction to Semidefinite Programming I: Basic properties a

Lecture 10: Linear programming duality and sensitivity 0-0

- Well-characterized problems, min-max relations, approximate certificates. - LP problems in the standard form, primal and dual linear programs

4.6 Linear Programming duality

EE/ACM Applications of Convex Optimization in Signal Processing and Communications Lecture 17

EE 227A: Convex Optimization and Applications October 14, 2008

IE 521 Convex Optimization Homework #1 Solution

6.854J / J Advanced Algorithms Fall 2008

Duality revisited. Javier Peña Convex Optimization /36-725

Linear Programming. Chapter Introduction

CSCI5654 (Linear Programming, Fall 2013) Lecture-8. Lecture 8 Slide# 1

6-1 The Positivstellensatz P. Parrilo and S. Lall, ECC

Nonlinear Programming

Algorithmic Game Theory and Applications. Lecture 7: The LP Duality Theorem

Today: Linear Programming (con t.)

The Simplex Algorithm

Lecture 6: Conic Optimization September 8

Chapter 2: Preliminaries and elements of convex analysis

CS261: A Second Course in Algorithms Lecture #9: Linear Programming Duality (Part 2)

3. Linear Programming and Polyhedral Combinatorics

Lectures 6, 7 and part of 8

Review Solutions, Exam 2, Operations Research

Transcription:

Conic Linear Optimization and Appl. MS&E314 Lecture Note #04 1 Conic Linear Optimization and its Dual Yinyu Ye Department of Management Science and Engineering Stanford University Stanford, CA 94305, U.S.A. http://www.stanford.edu/ yyye

Conic Linear Optimization and Appl. MS&E314 Lecture Note #04 2 Conic Linear Programming (CLP) The standard form conic linear programming problem is given below, which we will use throughout this book: (CLP) minimize c x subject to a i x = b i,i=1,..., m, x K, where c, a i in some inner product space. With every (CLP), another linear program, denoted by (CLD), is called the dual of (CLP): (CLD) maximize b T y subject to n i y ia i + s = c, s K, where y R m and s E.

Conic Linear Optimization and Appl. MS&E314 Lecture Note #04 3 Semidefinite Programming (SDP) (SDP) inf C X subject to A i X = b i,i=1, 2,..., m, X 0, where C, A i S n. Then, the dual problem to (SDP) is: (SDD) sup b T y m subject to i y i A i + S = C, S 0, where y R m and S S n.

Conic Linear Optimization and Appl. MS&E314 Lecture Note #04 4 Weak Duality Theorem for CLP Theorem 1 Let F p and F d denote the feasible regions of (CLP) and (CLD), respectively, and be non-empty. Then, c x b T y where x F p, (y, s) F d. c x b T y =(c A T y) x = s x 0. This quantity is called the duality or complementarity gap. Corollary 1 i) If (LP) or (LD) is feasible but unbounded (its objective value is unbounded) then the other is infeasible or has no feasible solution. ii) If a pair of feasible solutions can be found to the primal and dual problems with an equal objective value, then they are both optimal.

Conic Linear Optimization and Appl. MS&E314 Lecture Note #04 5 Strong Duality Theorem for LP Theorem 2 We have i) If (LP) or (LD) has no feasible solution, then the other is either unbounded or has no feasible solution. ii) If (LP) or (LD) is feasible and bounded, then the other is feasible. iii) If (LP) and (LD) both have feasible solutions then both problems have optimal solutions and the optimal objective values of the objective functions are equal, that is, optimal solutions for both (LP) and (LD) exist and there is no duality gap. A case that neither (LP) nor (LD) is feasible: c =( 1; 0), A =(0, 1), b =1.

Conic Linear Optimization and Appl. MS&E314 Lecture Note #04 6 Proof of LP Strong Duality Theorem i) Let F d be empty. Then, from the Farkas Lemma, there is a d such that c T d < 0 and Ad = 0, d 0. Thus, if (LP) is feasible, say x F p, then x + αd F p for any α>0. But its objective value c T x + α(c T d) goes to as α goes to. ii) Let LP be feasible and bounded. Then, there is no d such that c d < 0 and Ad = 0, d 0. Thus, from the Farkas Lemma, (LD) is feasible. iii) We like to prove that there is a solution to Ax = b, A T y + s = c, c T x b T y 0, (x, s) 0, given that both (LP) and (LD) are feasible.

Conic Linear Optimization and Appl. MS&E314 Lecture Note #04 7 Suppose not, from Farkas lemma, we must have an infeasibility certificate (x,τ,y ) such that Ax bτ = 0, A T y cτ 0, (x ; τ) 0 and b T y c T x =1 If τ>0, then we have 0 ( y ) T (Ax bτ)+x T (A T y cτ) =τ(b T y c T x )=τ which is a contradiction. If τ =0, then the weak duality theorem also leads to a contradiction, since it leads to one of (LP) and (LD) being unbounded.

Conic Linear Optimization and Appl. MS&E314 Lecture Note #04 8 Strong Duality Theorem for CLP? Example 1: C = 1 0 0 0,A 1 = 1 0 0 0,A 2 = 0 1 1 0, b = 0 1,K= S 2 +. Example 2: C = 0 1 0 1 0 0 0 0 0,A 1 = 0 0 0 0 1 0 0 0 0,A 2 = 0 1 0 1 0 0 0 0 2 and b = 0 2 ; K = S 3 +.

Conic Linear Optimization and Appl. MS&E314 Lecture Note #04 9 Strong Duality Theorem for CLP The key is that, in these examples, the Farkas lemma does not hold. Theorem 3 We have i) Let (CLP) or (CLD) be infeasible, and furthermore the other be feasible and have an interior. Then the other is unbounded. ii) Let (CLP) and (CLD) be both feasible, and furthermore one of them have an interior. Then there is no duality gap between (CLP) and (CLD). iii) Let (CLP) and (CLD) be both feasible and have interior. Then, both have optimal solutions with no duality gap.

Conic Linear Optimization and Appl. MS&E314 Lecture Note #04 10 Proof of CLP Strong Duality Theorem i) Suppose F d is empty and F p be feasible and have an interior. Then, we have x int K and τ >0 such that A x b τ = 0, ( x, τ) int(k R + ). Then, for any z, we have an alternative system pair Ax bτ = 0, c x z τ<0, (x,τ) K R +, and A T y + s = c, b T y + s = z, (s,s) K R +. But the latter is infeasible, so that the formal has a feasible solution for any z.at such an solution, if τ>0, wehavec (x/τ) <z ;ifτ =0,wehaveˆx + αx, where ˆx is any feasible solution for (CLP), being feasible for (CLP) and its objective value goes to as α goes to. ii) Let F p be feasible and have an interior, and let z be its infimum. Again, we

Conic Linear Optimization and Appl. MS&E314 Lecture Note #04 11 have an alternative system pair Ax bτ = 0, c x z τ<0, (x,τ) K R +, and A T y + s = c, b T y + s = z, (s,s) K R +. But the former is infeasible, so that we have a solution for the latter. From the Weak Duality theorem, we must have s =0, that is, we have a solution (y, s) such that A T y + s = c, b T y = z, s K. iii) We only need to prove that there exist a solution x F p such that c x = z, that is, the infimum of (CLP) is attainable. But this is just the other side of the proof given that F d is feasible and has an interior, and z is also the supremum of (CLD).

Conic Linear Optimization and Appl. MS&E314 Lecture Note #04 12 SDP Example with Zero-Duality Gap but not Attainable C = 1 0 0 0,A 1 = 0 1 1 0, and b 1 =2. The primal has an interior, but the dual does not.

Conic Linear Optimization and Appl. MS&E314 Lecture Note #04 13 LP Optimality Conditions (x, y, s) (R n +, R m, R n +): c T x b T y = 0 Ax = b A T y s = c, which is a system of linear inequalities and equations. Now it is easy to verify whether or not a pair (x, y, s) is optimal. Since both x and s are nonnegative, x T s =0implies that x j s j =0for all j =1,...,n, where we say x and s are complementary to each other. x. s = 0 Ax = b A T y s = c. This system has total 2n + m unknowns and 2n + m equations including n nonlinear equations.

Conic Linear Optimization and Appl. MS&E314 Lecture Note #04 14 Solution Support for LP Let x and s be optimal solutions with zero duality gap. Then supp(x ) + supp(s ) n. There are x and s such that the support sizes of x and s are maximal, respectively. There are x and s such that the support size of x and s are minimal, respectively. If there is s such that supp(s ) n d, then the support size for x is d.

Conic Linear Optimization and Appl. MS&E314 Lecture Note #04 15 LP strict complementarity theorem Theorem 4 If (LP) and (LD) are both feasible, then there exists a pair of strictly complementary solutions x F p and (y, s ) F d such that x. s = 0 and supp(x ) + supp(s ) = n. Moreover, the supports P = {j : x j > 0} and Z = {j : s j > 0} are invariant for all strictly complementary solution pairs. Given (LP) or (LD), the pair of P and Z is called the strict complementarity partition. {x : A P x P = b, x P 0, x Z = 0} is called the primal optimal face, and {y : c Z A T Z y 0, c P A T P y = 0} is called the dual optimal face.

Conic Linear Optimization and Appl. MS&E314 Lecture Note #04 16 An LP Example Consider the primal LP problem: minimize 2x 1 + x 2 + x 3 subject to x 1 + x 2 + x 3 =1, (x 1,x 2,x 3 ) 0, where P = {2, 3} and Z = {1}.

Conic Linear Optimization and Appl. MS&E314 Lecture Note #04 17 Optimality Conditions for SDP with zero duality gap or C X b T y = 0 AX = b A T y S = C X, S 0, XS = 0 AX = b A T y S = C X, S 0, (1) (2)

Conic Linear Optimization and Appl. MS&E314 Lecture Note #04 18 Solution Rank for SDP Let X and S be optimal solutions with zero duality gap. Then rank(x )+rank(s ) n. There are X and S such that the ranks of X and S are maximal, respectively. There are X and S such that the ranks of X and S are minimal, respectively. If there is S such that rank(s ) n d, then the maximal rank of X is bounded by d.

Conic Linear Optimization and Appl. MS&E314 Lecture Note #04 19 SDP strict complementarity? Given a pair of SDP and (SDD) where the complementarity solution exist, is there a solution pair such that rank(x )+rank(s )=n? C = 0 0 0 0 0 0 0 0 0,A 1 = 0 0 0 0 1 0 0 0 0,A 2 = 0 1 0 1 0 0 0 0 2 and b = 0 0 ; K = S 3 +.

Conic Linear Optimization and Appl. MS&E314 Lecture Note #04 20 Uniqueness Theorem for CLP: LP case Given an optimal solution x, how to certify the uniqueness of x? We first consider the LP case. Theorem 5 An LP optimal solution x is unique if and only if the size of supp(x ) is maximal among all optimal solutions and the columns of A supp(x ) are linear independent. It is easy to see both conditions are necessary, since otherwise, one can find an optimal solution with a different support size. To see sufficiency, suppose there there is another optimal solution y such that x y 0. We must have supp(y ) supp(x ). Then we see 0 = Ax Ay = A(x y )=A supp(x )(x y ) supp(x ) which implies that columns of A supp(x ) are linearly dependent.

Conic Linear Optimization and Appl. MS&E314 Lecture Note #04 21 Uniqueness Theorem for CLP: SDP case Given an SDP optimal and complementary solution X, how to certify the uniqueness of X? Theorem 6 An SDP optimal and complementary solution X is unique if and only if the rank of X is maximal among all optimal solutions and V A i (V ) T, i =1,..., m, are linearly independent, where X =(V ) T V, V R r n, and r is the rank of X. It is easy to see why the rank of X being maximal is necessary. Note that for any optimal dual slack matrix S,wehaveS (V ) T V =0 which implies that S (V ) T = 0. Consider any matrix where U S r + and X =(V ) T UV b i = A i (V ) T UV = V A i (V ) T U, i =1,..., m.

Conic Linear Optimization and Appl. MS&E314 Lecture Note #04 22 One can see that X remains an optimal SDP solutions for any such U S r +, since it makes X feasible and remain complementary to any optimal dual slack matrix. If V A i (V ) T, i =1,..., m, are not linearly independent, then one can find V A i (V ) T W =0, i =1,..., m, 0 W S r. Now consider X(α) =(V ) T (I + α W )V, and then we can choose α 0such that X(α) 0 is another optimal solution. To see sufficiency, suppose there there is another optimal solution Y such that X Y 0. We must have Y =(V ) T UV for some I U S r +. Then we see V A i (V ) T (I U) =0, i =1,..., m, contradicts that they are linear independent.