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

Similar documents
4. Algebra and Duality

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

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

4-1 The Algebraic-Geometric Dictionary P. Parrilo and S. Lall, ECC

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

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

SEMIDEFINITE PROGRAM BASICS. Contents

Robust and Optimal Control, Spring 2015

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

Convex Optimization M2

Convex Optimization. (EE227A: UC Berkeley) Lecture 28. Suvrit Sra. (Algebra + Optimization) 02 May, 2013

Lecture Note 5: Semidefinite Programming for Stability Analysis

Approximate Farkas Lemmas in Convex Optimization

EE364a Review Session 5

Lecture 3: Semidefinite Programming

Lecture 5. The Dual Cone and Dual Problem

Two hours. To be provided by Examinations Office: Mathematical Formula Tables. THE UNIVERSITY OF MANCHESTER. xx xxxx 2017 xx:xx xx.

Lecture 5. Theorems of Alternatives and Self-Dual Embedding

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

Conic Linear Optimization and its Dual. yyye

Convex Optimization & Lagrange Duality

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

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

Part IB Optimisation

Week 3 Linear programming duality

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

Extreme Abridgment of Boyd and Vandenberghe s Convex Optimization

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

5. Duality. Lagrangian

12. Interior-point methods

MIT Algebraic techniques and semidefinite optimization February 14, Lecture 3

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

Duality Theory of Constrained Optimization

9. Interpretations, Lifting, SOS and Moments

Additional Homework Problems

LINEAR PROGRAMMING II

Lecture 14: Optimality Conditions for Conic Problems

Lagrangian Duality Theory

CO 250 Final Exam Guide

Semidefinite Programming

Optimality, Duality, Complementarity for Constrained Optimization

4TE3/6TE3. Algorithms for. Continuous Optimization

Chapter 1. Preliminaries

Global Optimization of Polynomials

Convex Optimization Boyd & Vandenberghe. 5. Duality

Assignment 1: From the Definition of Convexity to Helley Theorem

LECTURE 10 LECTURE OUTLINE

Chapter 2: Preliminaries and elements of convex analysis

Semidefinite Programming Basics and Applications

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)

12. Interior-point methods

Summer School: Semidefinite Optimization

Strong duality in Lasserre s hierarchy for polynomial optimization

Enhanced Fritz John Optimality Conditions and Sensitivity Analysis

15. Conic optimization

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

Optimality Conditions for Constrained Optimization

Lecture: Duality.

E5295/5B5749 Convex optimization with engineering applications. Lecture 5. Convex programming and semidefinite programming

A ten page introduction to conic optimization

1 Review of last lecture and introduction

Lecture 8. Strong Duality Results. September 22, 2008

Linear and non-linear programming

Convex Optimization and Modeling

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

Homework Set #6 - Solutions

Lecture 6: Conic Optimization September 8

Introduction to Semidefinite Programming I: Basic properties a

Gauge optimization and duality

Convex Optimization Theory. Chapter 5 Exercises and Solutions: Extended Version

BBM402-Lecture 20: LP Duality

CSC Linear Programming and Combinatorial Optimization Lecture 10: Semidefinite Programming

On duality gap in linear conic problems

Today: Linear Programming (con t.)

1 Review Session. 1.1 Lecture 2

Lecture 18: Optimization Programming

Linear and Combinatorial Optimization

Unbounded Convex Semialgebraic Sets as Spectrahedral Shadows

Motivation. Lecture 2 Topics from Optimization and Duality. network utility maximization (NUM) problem:

POLYNOMIAL OPTIMIZATION WITH SUMS-OF-SQUARES INTERPOLANTS

Nonlinear Programming 3rd Edition. Theoretical Solutions Manual Chapter 6

subject to (x 2)(x 4) u,

Lecture 7: Semidefinite programming

LECTURE 25: REVIEW/EPILOGUE LECTURE OUTLINE

UNDERGROUND LECTURE NOTES 1: Optimality Conditions for Constrained Optimization Problems

CONSTRAINT QUALIFICATIONS, LAGRANGIAN DUALITY & SADDLE POINT OPTIMALITY CONDITIONS

Lecture 7: Convex Optimizations

Convex Optimization and Support Vector Machine

CS-E4830 Kernel Methods in Machine Learning

HW1 solutions. 1. α Ef(x) β, where Ef(x) is the expected value of f(x), i.e., Ef(x) = n. i=1 p if(a i ). (The function f : R R is given.

Problem 1 (Exercise 2.2, Monograph)

Duality of LPs and Applications

UC Berkeley Department of Electrical Engineering and Computer Science. EECS 227A Nonlinear and Convex Optimization. Solutions 5 Fall 2009

CHAPTER 2: CONVEX SETS AND CONCAVE FUNCTIONS. W. Erwin Diewert January 31, 2008.

Course Notes for EE227C (Spring 2018): Convex Optimization and Approximation

Network Utility Maximization With Nonconcave Utilities Using Sum-of-Squares Method

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

Semidefinite Programming

A Simple Derivation of a Facial Reduction Algorithm and Extended Dual Systems

Lecture Note 18: Duality

Transcription:

4-1 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 4. Algebra and Duality Example: non-convex polynomial optimization Weak duality and duality gap The dual is not intrinsic The cone of valid inequalities Algebraic geometry The cone generated by a set of polynomials An algebraic approach to duality Example: feasibility Searching the cone Interpretation as formal proof Example: linear inequalities and Farkas lemma

4-2 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 Example minimize x1x2 subject to x1 0 x2 0 x 2 1 + x2 2 1 The objective is not convex. The Lagrange dual function is ) (x1x2 λ1x1 λ2x2 + λ3(x 2 1 + x2 2 1) g(λ) = inf x = 1 0.75 0.5 0.25 [ ] T [ ] 1 [ ] λ3 1 λ1 2λ3 1 λ1 2 if λ3 > 1 λ2 1 2 2λ3 λ2 otherwise, except bdry 0 0 0.25 0.5 0.75 1 0 0.4 0.2 0.6

Here we see an example of a duality gap; the primal optimal is strictly greater than the dual optimal The optimal g(λ ) = 1 2 at λ = (0, 0, 1 2 ) By symmetry, if the maximum g(λ) is attained, then λ1 = λ2 at optimality λ 3 λ3 1 2 1.25 1.5 0.5 0 0.2 0.4 0.6 0.6 0.7 0.8 0.8 0.9 λ 1 1 1 maximize g(λ) subject to λ1 0 λ2 0 g(λ) 0.5 0.75 1 The dual problem is Example, continued 4-3 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01

4-4 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 Example, continued It turns out that, using the Schur complement, the dual problem may be written as maximize γ 2γ 2λ3 λ1 λ2 subject to λ1 2λ3 1 > 0 λ2 1 2λ3 λ1 > 0 λ2 > 0 In this workshop we ll see a systematic way to convert a dual problem to an SDP, whenever the objective and constraint functions are polynomials.

4-5 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 The dual problem, and its corresponding optimal value, are not properties of the primal feasible set and objective function alone Instead, they depend on the representation; the particular equations and inequalities used To construct equivalent primal optimization problems with different duals: replace the objective f0(x) by h(f0(x)) where h is increasing introduce new variables and associated constraints add redundant constraints

4-6 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 The dual is not intrinsic One way to change the dual is to introduce new variables and associated constraints. for example minimize (x1 x2) 2 + (x2 x3) 2 replaced this by minimize (x1 x2) 2 + (x4 x3) 2 subject to x2 = x4

4-7 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 Example Adding the redundant constraint x1x2 0 to the previous example gives minimize x1x2 subject to x1 0 x2 0 x 2 1 + x2 2 1 x1x2 0 1 0.75 0.5 0.25 0 0 0.25 0.5 0.75 1 0 0.4 0.2 0.6 Clearly, this has the same primal feasible set and same optimal value as before

4-8 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 Example Continued The Lagrange dual function is g(λ) = inf x = ( x1x2 λ1x1 λ2x2 + λ3(x 2 1 + x2 2 1) λ 4x1x2 ) [ λ1 ] T [ ] 1 [ ] λ3 1 2λ3 1 λ4 λ1 2 if 2λ3 > 1 λ4 λ2 1 λ4 2λ3 λ2 otherwise, except bdry Again, this problem may also be written as an SDP. The optimal value is g(λ ) = 0 at λ = (0, 0, 0, 1) Adding redundant constraints makes the dual bound tighter This always happens! Such redundant constraints are called valid inequalities.

4-9 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 Constructing Valid Inequalities The function f : R n R is called a valid inequality if f(x) 0 for all feasible x Given a set of inequality constraints, we can generate others as follows. (i) If f1 and f2 define valid inequalities, then so does h(x) = f1(x)+f2(x) (ii) If f1 and f2 define valid inequalities, then so does h(x) = f1(x)f2(x) (iii) For any f, the function h(x) = f(x) 2 defines a valid inequality We view these as inference rules Now we can use algebra to generate valid inequalities.

4-10 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 The Cone of Valid Inequalities The set of polynomial functions on R n with real coefficients is denoted R[x1,..., xn] Computationally, they are easy to parametrize. We will consider polynomial constraint functions. A set of polynomials P R[x1,..., xn] is called a cone if (i) f1 P and f2 P implies f1f2 P (ii) f1 P and f2 P implies f1 + f2 P (iii) f R[x1,..., xn] implies f 2 P It is called a proper cone if 1 P By applying the above rules to the inequality constraint functions, we can generate a cone of valid inequalities

4-11 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 Algebraic Geometry There is a correspondence between the geometric object (the feasible subset of R n ) and the algebraic object (the cone of valid inequalities) This is a dual relationship; we ll see more of this later. The dual problem is constructed from the cone. For equality constraints, there is another algebraic object; the ideal generated by the equality constraints. For optimization, we need to look both at the geometric objects (for the primal) and the algebraic objects (for the dual problem)

4-12 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 Cones For S R n, the cone defined by S is { C(S) = f R[x1,..., xn] } f(x) 0 for all x S If P1 and P2 are cones, then so is P1 P2

4-13 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 The Sum-of-Squares Cone A polynomial f R[x1,..., xn] is called a sum-of-squares (SOS) if f(x) = r si(x) 2 i=1 for some polynomials s1,..., sr and some r 0 Denote by Σ the set of SOS polynomials Σ is a cone. Every cone contains Σ. Later, we will characterize this cone using SDP.

4-14 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 Cones The set monoid{f1,..., fm} R[x1,..., xn] is the set of all finite products of polynomials fi, together with 1. The smallest cone containing the polynomials f1,..., fm is cone{f1,..., fm} = { r sigi s0,..., sr Σ, i=1 } gi monoid{f1,..., fm} cone{f1,..., fm} is called the cone generated by f1,..., fm

4-15 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 Explicit Parametrization of the Cone If f1,..., fm are valid inequalities, then so is every polynomial in cone{f1,..., fm} The polynomial h is an element of cone{f1,..., fm} if and only if h(x) = s0(x) + m i=1 si(x)fi(x) + i j rij(x)fi(x)fj(x) +... where the si and rij are sums-of-squares.

4-16 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 An Algebraic Approach to Duality Suppose f1,..., fm are polynomials, and consider the feasibility problem does there exist x R n such that fi(x) 0 for all i = 1,..., m Every polynomial in cone{f1,..., fm} is non-negative on the feasible set. So if there is a polynomial q cone{f1,..., fm} which satisfies q(x) ε < 0 for all x R n then the primal problem is infeasible.

4-17 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 Example Let s look at the feasibility version of the previous problem. Given t R, does there exist x R 2 such that x1x2 t x 2 1 + x2 2 1 x1 0 x2 0 Equivalently, is the set S nonempty, where { } S = x R n fi(x) 0 for all i = 1,..., m where f1(x) = t x1x2 f2(x) = 1 x 2 1 x2 2 f3(x) = x1 f4(x) = x2

4-18 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 Example Continued Let q(x) = f1(x) + 1 2 f 2(x). Then clearly q cone{f1, f2, f3, f4} and q(x) = t x1x2 + 1 2 (1 x2 1 x2 2 ) = t + 1 2 1 2 (x 1 + x2) 2 t + 1 2 So for any t < 1 2, the primal problem is infeasible. Corresponds to Lagrange multipliers (1, 0, 0, 2 1 ) for the thm. of alternatives. Alternatively, this is a proof by contradiction. If there exists x such that fi(x) 0 for i = 1,..., 4 then we must also have q(x) 0, since q cone{f1,..., f4} But we proved that q is negative if t < 1 2

4-19 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 Example Continued We can also do better by using other functions in the cone. Try q(x) = f1(x) + f3(x)f4(x) = t giving the stronger result that for any t < 0 the inequalities are infeasible. Again, this corresponds to Lagrange multipliers (1, 0, 0, 1) In both of these examples, we found q in the cone which was globally negative. We can view q as the Lagrangian function evaluated at a particular value of λ The Lagrange multiplier procedure is searching over a particular subset of functions in the cone; those which are generated by linear combinations of the original constraints. By searching over more functions in the cone we can do better

4-20 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 An Algebraic Dual Problem Suppose f1,..., fm are polynomials. The primal feasibility problem is does there exist x R n such that fi(x) 0 for all i = 1,..., m The dual feasibility problem is Is it true that 1 cone{f1,..., fm} If the dual problem is feasible, then the primal problem is infeasible. In fact, a result called the Positivstellensatz implies that strong duality holds here.

4-21 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 Example In the above example, we have q(x) = t + 1 2 1 2 (x 1 + x2) 2 Let s show that 1 cone{f1,..., f4}. Because, for t < 1 2, we have 1 = a0q(x) + a1(x1 + x2) 2 and by construction q is in the cone, and (x1 + x2) 2 is a sum of squares. Here a0 and a1 are positive constants a0 = 2 2t + 1 a1 = 1 2t + 1

4-22 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 Interpretation: Searching the Cone Lagrange duality is searching over linear combinations with nonnegative coefficients λ1f1 + + λmfm to find a globally negative function as a certificate The above algebraic procedure is searching over conic combinations s0(x) + m i=1 si(x)fi(x) + i j rij(x)fi(x)fj(x) +... where the si and rij are sums-of-squares

4-23 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 Suppose we have SOS polynomials s0,..., s3 such that 1 = s0 + s1f1 + s2f2 + s3f1f2 Then this is a certificate that there is no x R n such that f1(x) 0 and f2(x) 0

4-24 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 Interpretation: Formal Proof We can also view this as a type of formal proof: View f1,..., fm are predicates, with fi(x) 0 meaning that x satisfies fi. Then cone{f1,..., fm} consists of predicates which are logical consequences of f1,..., fm. If we find 1 in the cone, then we have a proof by contradiction. Our objective is to automatically search the cone for negative functions; i.e., proofs of infeasibility.

4-25 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 Example: Linear Inequalities Does there exist x R n such that Ax 0 c T x 1 Write A in terms of its rows A = a T 1., a T m then we have inequality constraints defined by linear polynomials fi(x) = a T i fm+1(x) = 1 c T x x for i = 1,..., m

4-26 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 Example: Linear Inequalities We ll search over functions q cone{f1,..., fm+1} of the form q(x) = m i=1 λifi(x) + µfm+1(x) Then the algebraic form of the dual is: does there exist λi 0, µ 0 such that q(x) = 1 for all x if the dual is feasible, then the primal problem is infeasible

4-27 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 Example: Linear Inequalities The above dual condition is λ T Ax + µ( 1 c T x) = 1 for all x which holds if and only if A T λ = µc and µ = 1. So we can state the duality result as follows. Farkas Lemma If there exists λ R m such that A T λ = c and λ 0 then there does not exist x R n such that Ax 0 and c T x 1

4-28 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 Farkas Lemma Farkas Lemma states that the following are strong alternatives (i) there exists λ R m such that A T λ = c and λ 0 (ii) there exists x R n such that Ax 0 and c T x < 0 Since this is just Lagrangian duality, there is a geometric interpretation (i) c is in the convex cone { A T λ λ 0 } (ii) x defines the hyperplane { y R n y T x = 0 } c a2 a1 x which separates c from the cone

4-29 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 Optimization Problems Let s return to optimization problems instead of feasibility problems. minimize f0(x) subject to fi(x) 0 for all i = 1,..., m The corresponding feasibility problem is t f0(x) 0 fi(x) 0 for all i = 1,..., m One simple dual is to find polynomials si and rij such that t f0(x) + m i=1 si(x)fi(x) + i j rij(x)fi(x)fj(x) +... is globally negative, where the si and rij are sums-of-squares

4-30 Algebra and Duality P. Parrilo and S. Lall 2006.06.07.01 Optimization Problems We can combine this with a maximization over t maximize t subject to t f0(x) + m i=1 m m i=1 si(x)fi(x)+ j=1 si, rij are sums-of-squares rij(x)fi(x)fj(x) 0 for all x The variables here are (coefficients of) the polynomials si, ri We will see later how to approach this kind of problem using semidefinite programming