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

Similar documents
Primal-Dual Interior-Point Methods. Javier Peña Convex Optimization /36-725

Barrier Method. Javier Peña Convex Optimization /36-725

Duality Uses and Correspondences. Ryan Tibshirani Convex Optimization

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

Lecture 14: Optimality Conditions for Conic Problems

Lecture: Duality of LP, SOCP and SDP

12. Interior-point methods

Primal-Dual Interior-Point Methods. Ryan Tibshirani Convex Optimization /36-725

Primal-Dual Interior-Point Methods. Ryan Tibshirani Convex Optimization

Convex Optimization M2

12. Interior-point methods

Convex Optimization. Newton s method. ENSAE: Optimisation 1/44

Interior Point Algorithms for Constrained Convex Optimization

CS711008Z Algorithm Design and Analysis

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

Lagrangian Duality for Dummies

Approximate Farkas Lemmas in Convex Optimization

5. Duality. Lagrangian

18. Primal-dual interior-point methods

Lecture 16: October 22

Interior-Point Methods

Lecture 23: November 19

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

Conic Linear Optimization and its Dual. yyye

Convex Optimization Boyd & Vandenberghe. 5. Duality

10 Numerical methods for constrained problems

Lecture 14: Newton s Method

Newton s Method. Javier Peña Convex Optimization /36-725

CSCI 1951-G Optimization Methods in Finance Part 09: Interior Point Methods

Convex Optimization Lecture 13

Interior Point Methods in Mathematical Programming

Sparse Optimization Lecture: Basic Sparse Optimization Models

Lecture 9 Sequential unconstrained minimization

Primal-Dual Interior-Point Methods

Convex Optimization and l 1 -minimization

Optimization for Machine Learning

Computational Optimization. Constrained Optimization Part 2

Lecture: Duality.

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

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

Summer School: Semidefinite Optimization

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

LECTURE 13 LECTURE OUTLINE

15. Conic optimization

Second-order cone programming

Global Optimization of Polynomials

Introduction to Machine Learning Prof. Sudeshna Sarkar Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

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

Lecture 24: August 28

Duality Theory of Constrained Optimization

Semidefinite Programming

Applications of Linear Programming

Interior Point Methods for Mathematical Programming

Lecture 6: Conic Optimization September 8


9. Interpretations, Lifting, SOS and Moments

Lecture 5. The Dual Cone and Dual Problem

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

Convex Optimization Overview (cnt d)

Introduction to Alternating Direction Method of Multipliers

Karush-Kuhn-Tucker Conditions. Lecturer: Ryan Tibshirani Convex Optimization /36-725

Extreme Abridgment of Boyd and Vandenberghe s Convex Optimization

EE/AA 578, Univ of Washington, Fall Duality

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

Numerical Optimization

LECTURE 25: REVIEW/EPILOGUE LECTURE OUTLINE

Interior-point methods Optimization Geoff Gordon Ryan Tibshirani

Interior-point methods Optimization Geoff Gordon Ryan Tibshirani

Lecture 8. Strong Duality Results. September 22, 2008

Convex Optimization & Lagrange Duality

Lagrangian Duality Theory

Largest dual ellipsoids inscribed in dual cones

Operations Research Letters

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

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

Homework 4. Convex Optimization /36-725

Convexity II: Optimization Basics

Operations Research Lecture 4: Linear Programming Interior Point Method

Frank-Wolfe Method. Ryan Tibshirani Convex Optimization

CSCI : Optimization and Control of Networks. Review on Convex Optimization

Lecture 4: January 26

Lecture 23: Conditional Gradient Method

A Brief Review on Convex Optimization

Lecture 7: Convex Optimizations

Primal-Dual Interior-Point Methods for Linear Programming based on Newton s Method

A Full Newton Step Infeasible Interior Point Algorithm for Linear Optimization

Lecture 15 Newton Method and Self-Concordance. October 23, 2008

A PREDICTOR-CORRECTOR PATH-FOLLOWING ALGORITHM FOR SYMMETRIC OPTIMIZATION BASED ON DARVAY'S TECHNIQUE

Machine Learning. Support Vector Machines. Manfred Huber

Lecture: Introduction to LP, SDP and SOCP

Advances in Convex Optimization: Theory, Algorithms, and Applications

New stopping criteria for detecting infeasibility in conic optimization

Lecture: Algorithms for LP, SOCP and SDP

Convex Optimization and Modeling

The Lagrangian L : R d R m R r R is an (easier to optimize) lower bound on the original problem:

4. Algebra and Duality

Applied Lagrange Duality for Constrained Optimization

LMI MODELLING 4. CONVEX LMI MODELLING. Didier HENRION. LAAS-CNRS Toulouse, FR Czech Tech Univ Prague, CZ. Universidad de Valladolid, SP March 2009

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

COURSE ON LMI PART I.2 GEOMETRY OF LMI SETS. Didier HENRION henrion

Transcription:

Duality revisited Javier Peña Conve Optimization 10-725/36-725 1

Last time: barrier method Main idea: approimate the problem f() + I C () with the barrier problem f() + 1 t φ() tf() + φ() where t > 0 and φ is a barrier function for C. 2

Logarithmic barrier Common case: Logarithmic barrier C = { : h i () 0, i = 1,..., m}. φ() = m log( h i ()) i=1 Nice fact: when f, h i are smooth and KKT hold for both original and barrier problem, the solution (t) to barrier problem satisfies f( (t)) f m/t. 3

Strict feasibility Important detail: throughout the algorithm, line-search should be performed so that the iterates satisfy h i () < 0, i = 1,... m. To find an initial for the barrier problem solve,s s h i () s, i = 1,... m. Stop early: as soon as we find a feasible solution with s < 0. If the above imum is positive, then original problem is infeasible. 4

Outline Today Lagrangian duality revisited Optimality conditions Connection with barrier problems Fenchel duality 5

Lagrangian duality revisited Consider the primal problem f() h i () 0, i = 1,... m l j () = 0, j = 1,... r Lagrangian m r L(, u, v) = f() + u i h i () + v j l j () We can rewrite the primal problem as i=1 j=1 Dual problem ma u,v u 0 ma u,v u 0 L(, u, v) L(, u, v) 6

Weak and strong duality Theorem (weak duality) Let p and d denote the optimal values of the above primal and dual problems respectively. Then p d. Theorem (strong duality) Assume f, h 1,..., h p are conve with domain D and h p+1,..., h m, l 1,..., l r are affine. If there eists ˆ relint(d) such that h i (ˆ) < 0, i = 1,..., p; h i (ˆ) 0, i = p + 1,..., m and l j (ˆ) = 0, j = 1,..., r then p = d and the dual optimum is attained if finite. 7

Eample: linear programg Primal problem (in standard form) c T 0 Dual problem ma y,s b T y A T y + s = c s 0 8

Eample: conve quadratic programg Primal problem (in standard form) 1 2 T Q + c T 0 where Q symmetric and positive semidefinite. Dual problem ma u,y,s b T y 1 2 ut Qu A T y + s c = Qu s 0 9

10 Eample: barrier problem for linear programg Primal problem c T τ n log( i ) i=1 where τ > 0. Dual problem ma y,s n b T y + τ log(s i ) + n(τ τ log τ) i=1 A T y + s = c

Optimality conditions Consider the problem f() h() 0 Here h() 0 is shorthand for h i () 0, i = 1,... m. Assume f, h 1,..., h m are conve and differentiable. Assume also that strong duality holds. Then and (u, v ) are respectively primal and dual optimal solutions if and only if (, u, v ) solves the KKT conditions f() + A T v + h()u = 0 Uh() = 0 u, h() 0. Here U = Diag(u), h() = [ h 1 () h m () ] 11

12 Barrier problem where Central path equations φ() = f() + τφ() m log( h i ()). i=1 Optimality conditions for barrier problem (and its dual) f() + A T v + h()u = 0 Uh() = τ1 u, h() > 0.

13 Special case: linear programg Primal and dual problems c T 0 ma y,s b T y A T y + s = c s 0 Optimality conditions for both A T y + s = c XS1 = 0, s 0. Here X = Diag(), S = Diag(s).

14 Algorithms for linear programg Recall the optimality conditions for linear programg Two main classes of algorithms A T y + s = c XS1 = 0, s 0. Simple: maintain first three and aim for fourth one Interior-point methods: maintain fourth (and maybe first and second) and aim for third one.

15 Central path for linear programg Primal and dual barrier problems c T τ n log( i ) i=1 ma y,s n b T y + τ log(s i ) i=1 A T y + s = c Optimality conditions for both A T y + s = c XS1 = τ1, s > 0.

16 Fenchel duality Consider the primal problem f() + g(a) Rewrite it as Dual problem f() + g(z) A = z. ma v f (A T v) g ( v). This special type of duality is called Fenchel duality. Nice fact: if f, g are conve and closed then the dual of the dual is the primal.

17 Eample: conic programg Primal problem (in standard form) c T K where K is a closed conve cone. Dual problem ma y,s b T y A T y + s = c s K Strong duality holds if one of the problems is strictly feasible. If both primal and dual are strictly feasible, then strong duality holds and both primal and dual optima are attained.

18 Eample: semidefinite programg Primal Dual X ma y C X A i X = b i, i = 1,..., m X 0. b T y m y i A i + S = C i=1 S 0. Recall trace inner product in S n X S = trace(xs).

19 Strong duality does not always hold Eamples [ 2 12 ] 0 12 0. 12 22 [11 11 ] 1 0. 1 22 a 22 0 12 1 22 12 22 23 0, for a > 0. 1 22 23 33

20 Eample: barrier problem for semidefinite programg Primal X C X τ log(det(x)) A i X = b i, i = 1,..., m Dual ma y,s b T y + τ log(det(s)) + n(τ τ log τ) m y i A i + S = C i=1

21 Optimality conditions for semidefinite programg Primal and dual problems X C X A(X) = b X 0 ma y,s b T y A (y) + S = C C 0 Here A : S n R m linear map. Assume also that strong duality holds. Then X and (y, S ) are respectively primal and dual optimal solutions if and only if (X, y, S ) solves A (y) + S = C A(X) = b XS = 0 X, S 0.

22 Central path for semidefinite programg Primal barrier problem X C X τ log(det(x)) A(X) = b Dual barrier problem ma y,s b T y + τ log(det(s)) A (y) + S = C Optimality conditions for both A (y) + S = C A(X) = b XS = τi X, S 0.

23 References O. Guler (2010), Foundations of Optimization, Chapter 11 J. Renegar (2001), A mathematical view of interior-point methods in conve optimization, Chapters 2 and 3. S. Wright (1997), Primal-dual interior-point methods, Chapters 5 and 6.