Lecture 7 Duality II

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

Part IB Optimisation

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

Today: Linear Programming (con t.)

Linear Programming Inverse Projection Theory Chapter 3

EE364a Review Session 5

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

Linear Programming Duality

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

Discrete Optimization

4.6 Linear Programming duality

Optimization 4. GAME THEORY

Part 1. The Review of Linear Programming

Lecture Notes 3: Duality

Chapter 1 Linear Programming. Paragraph 5 Duality

Game Theory. Greg Plaxton Theory in Programming Practice, Spring 2004 Department of Computer Science University of Texas at Austin

Lectures 6, 7 and part of 8

An introductory example

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

Motivating examples Introduction to algorithms Simplex algorithm. On a particular example General algorithm. Duality An application to game theory

II. Analysis of Linear Programming Solutions

IE 5531: Engineering Optimization I

Lecture 10: Linear programming duality and sensitivity 0-0

princeton univ. F 13 cos 521: Advanced Algorithm Design Lecture 17: Duality and MinMax Theorem Lecturer: Sanjeev Arora

Introduction to Mathematical Programming

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 11: Post-Optimal Analysis. September 23, 2009

Duality in Linear Programs. Lecturer: Ryan Tibshirani Convex Optimization /36-725

LINEAR PROGRAMMING. Relation to the Text (cont.) Relation to Material in Text. Relation to the Text. Relation to the Text (cont.

Convex Optimization M2

Linear Programming. Larry Blume Cornell University, IHS Vienna and SFI. Summer 2016

1 Seidel s LP algorithm

Linear Programming. Operations Research. Anthony Papavasiliou 1 / 21

Optimization - Examples Sheet 1

8. Geometric problems

Linear Programming Duality P&S Chapter 3 Last Revised Nov 1, 2004

Lecture 5. x 1,x 2,x 3 0 (1)

min 4x 1 5x 2 + 3x 3 s.t. x 1 + 2x 2 + x 3 = 10 x 1 x 2 6 x 1 + 3x 2 + x 3 14

Week 3 Linear programming duality

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

Linear and Combinatorial Optimization

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

Optimization WS 13/14:, by Y. Goldstein/K. Reinert, 9. Dezember 2013, 16: Linear programming. Optimization Problems

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

Optimisation and Operations Research

CS711008Z Algorithm Design and Analysis

SAMPLE QUESTIONS. b = (30, 20, 40, 10, 50) T, c = (650, 1000, 1350, 1600, 1900) T.

Math 5593 Linear Programming Week 1

Linear and Integer Optimization (V3C1/F4C1)

3. Duality: What is duality? Why does it matter? Sensitivity through duality.

(P ) Minimize 4x 1 + 6x 2 + 5x 3 s.t. 2x 1 3x 3 3 3x 2 2x 3 6

Game Theory: Lecture 2

Chapter 1. Preliminaries

Review Solutions, Exam 2, Operations Research

Lecture: Introduction to LP, SDP and SOCP

3. Linear Programming and Polyhedral Combinatorics

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

Notes taken by Graham Taylor. January 22, 2005

Zero-Sum Games Public Strategies Minimax Theorem and Nash Equilibria Appendix. Zero-Sum Games. Algorithmic Game Theory.

Game Theory: Lecture 3

CO 250 Final Exam Guide

Sensitivity Analysis and Duality in LP

Theory and Internet Protocols

ORIE 6300 Mathematical Programming I August 25, Lecture 2

Operations Research Lecture 4: Linear Programming Interior Point Method

6.854J / J Advanced Algorithms Fall 2008

Duality in Linear Programming

Convex Optimization and Modeling

BBM402-Lecture 20: LP Duality

LINEAR PROGRAMMING II

Chapter 2: Linear Programming Basics. (Bertsimas & Tsitsiklis, Chapter 1)

LECTURE 10 LECTURE OUTLINE

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)

ICS-E4030 Kernel Methods in Machine Learning

Chapter 1: Linear Programming

3. Linear Programming and Polyhedral Combinatorics

Duality. Peter Bro Mitersen (University of Aarhus) Optimization, Lecture 9 February 28, / 49

How to Take the Dual of a Linear Program

Duality Theory, Optimality Conditions

Brief summary of linear programming and duality: Consider the linear program in standard form. (P ) min z = cx. x 0. (D) max yb. z = c B x B + c N x N

1 Overview. 2 Extreme Points. AM 221: Advanced Optimization Spring 2016

Farkas Lemma, Dual Simplex and Sensitivity Analysis

Global Optimization of Polynomials

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

Linear Programming and the Simplex method

Linear Programming: Chapter 5 Duality

Sensitivity Analysis and Duality

CO350 Linear Programming Chapter 8: Degeneracy and Finite Termination

Linear programming: algebra

1 Review Session. 1.1 Lecture 2

Algorithms and Theory of Computation. Lecture 13: Linear Programming (2)

Duality and Projections

Duality. Geoff Gordon & Ryan Tibshirani Optimization /

Conic Linear Optimization and its Dual. yyye

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

Convex Optimization and SVM

Section Notes 9. IP: Cutting Planes. Applied Math 121. Week of April 12, 2010

An upper bound for the number of different solutions generated by the primal simplex method with any selection rule of entering variables

TIM 206 Lecture 3: The Simplex Method

Optimality, Duality, Complementarity for Constrained Optimization

Transcription:

L. Vandenberghe EE236A (Fall 2013-14) Lecture 7 Duality II sensitivity analysis two-person zero-sum games circuit interpretation 7 1

Sensitivity analysis purpose: extract from the solution of an LP information about the sensitivity of the solution with respect to changes in problem data this lecture: sensitivity w.r.t. to changes in the right-hand side of the constraints we define p (u) as the optimal value of the modified LP (variables x) minimize c T x subject to Ax b+u we are interested in obtaining information about p (u) from primal, dual optimal solutions x, z at u = 0 Duality II 7 2

Global inequality dual of modified LP maximize (b+u) T z subject to A T z +c = 0 z 0 global lower bound: if z is (any) dual optimal solution for u = 0, then p (u) (b+u) T z = p (0) u T z follows from weak duality and feasibility of z inequality holds for all u (not necessarily small) Duality II 7 3

Example (one varying parameter) take u = td with d fixed: p (td) minimize c T x subject to Ax b+td p (td) is optimal value as a function of t t p (0) td T z sensitivity information from lower bound (assuming d T z > 0): if t < 0 the optimal value increases (by a large amount of t is large) if t > 0 optimal value may increase or decrease if t is positive and small, optimal value certainly does not decrease much Duality II 7 4

Optimal value function p (u) = min{c T x Ax b+u} properties (we assume p (0) is finite) p (u) > everywhere (this follows from the global lower bound) the domain {u p (u) < + } is a polyhedron p (u) is piecewise-linear on its domain (proof on next page) Duality II 7 5

proof. let P be the dual feasible set, K the recession cone of P: P = {z A T z +c = 0, z 0}, K = {w A T w = 0,w 0} p (u) = + (modified primal is infeasible) iff there exists a w such that A T w = 0, w 0, b T w +u T w < 0 therefore p (u) < if and only if b T w k +u T w k 0 for all extreme rays w k of K this is a finite set of linear inequalities in u if p (u) is finite, p (u) = max z P ( bt z u T z) = max k=1,...,r ( bt z k u T z k ) where z 1,..., z r are the extreme points of P Duality II 7 6

Local sensitivity analysis let x be optimal for the unmodified problem, with active constraint set J = {i a T i x = b i } assume x is a nondegenerate extreme point, i.e., an extreme point: A J has full column rank (rank(a J ) = n) nondegenerate: J = n (n active constraints) then, for u in a neighborhood of the origin, x (u) and z defined by x (u) = A 1 J (b J +u J ), z J = A T J c, z i = 0 (for i J), are primal, dual optimal for the modified problem note: x (u) is affine in u and z is independent of u Duality II 7 7

proof solution of original LP (u = 0) since A J is square and nonsingular, we can express x as x = A 1 J b J complementary slackness determines optimal z uniquely: z i = 0 i J, A T Jz J +c = 0 solution of modified LP (for sufficiently small u) x (u) satisfies inequalities indexed by J: A J x (u) = b J +u J (for all u) x (u) satisfies the other inequalities (i J) for sufficiently small u: a T i x (u) b i +u i a T i A 1 J u J u i b i a T i x and b i a T i x > 0 z is dual feasible (for all u) x (u) and z satisfy complementary slackness conditions Duality II 7 8

Derivative of optimal value function under the assumptions of the local analysis (page 7 7), p (u) = c T x (u) for u in a neighborhood of the origin = c T x +c T A 1 J u J = p (0) z JT u J optimal value function is affine in u for small u z i is derivative of p (u) with respect to u i at u = 0 Duality II 7 9

Outline sensitivity analysis two-person zero-sum games circuit interpretation

Two-person zero-sum game (matrix game) player 1 chooses a number in {1,...,m} (one of m possible actions) player 2 chooses a number in {1,...,n} (n possible actions) players make their choices independently if P1 chooses i and P2 chooses j, then P1 pays A ij to P2 (negative A ij means P2 pays A ij to P1) the m n-matrix A is called the payoff matrix Duality II 7 10

Mixed (randomized) strategies players choose actions randomly according to some probability distribution P1 chooses randomly according to distribution x: x i = probability that P1 selects action i P2 chooses randomly according to distribution y: y j = probability that P2 selects action j expected payoff (from P1 to P2), if they use mixed stragies x and y, m i=1 n x i y j A ij = x T Ay j=1 Duality II 7 11

Optimal mixed strategies denote by P k = {p R k p 0,1 T p = 1} the probability simplex in R k player 1: optimal strategy x is solution of the equivalent problems minimize maxx Ay y P n minimize max j=1,...,n (AT x) j subject to x P m subject to x P m player 2: optimal strategy y is solution of maximize min x T Ay maximize min x P m subject to y P n subject to y P n i=1,...,m (Ay) i optimal strategies x, y can be computed by linear optimization Duality II 7 12

Exercise: minimax theorem prove that max y P n min x P m x T Ay = min x P m max y P n x T Ay some consequences if x and y are the optimal mixed strategies, then min x T Ay = maxx T Ay x P m y P n if x and y are the optimal mixed strategies, then x T Ay x T Ay x T Ay x P m, y P n Duality II 7 13

solution optimal strategy x is the solution of the LP (with variables x, t) minimize t subject to A T x t1 x 0 1 T x = 1 optimal strategy y is the solution of the LP (with variables y, w) maximize w subject to Ay w1 y 0 1 T y = 1 the two LPs can be shown to be duals Duality II 7 14

Example A = 4 2 0 3 2 4 3 3 2 3 4 1 note that minmaxa ij = 3 > 2 = maxmina ij i j j i optimal mixed strategies x = (0.37, 0.33, 0.3), y = (0.4, 0, 0.13, 0.47) expected payoff is x T Ay = 0.2 Duality II 7 15

Outline sensitivity analysis two-person zero-sum games circuit interpretation

Components voltage source current source ideal diode i i i E v I v v v = E i = I v 0, i 0, vi = 0 ĩ 1 î 1 multiterminal transformer ṽ 1 v 1 v = Aṽ, ĩ = A T î ĩ 1 A î 1 with A R m n ṽ n ĩ n î m v m ĩ n î m Duality II 7 16

Example circuit equations ĩ 1 i 1 transformer: c 1 v 1 v 1 b 1 v = Av, ĩ = A T i ĩ n A i m diodes and voltage souces: c n v n v m b m v b, i 0, i T (b v) = 0 current sources: ĩ+c = 0 these are the optimality conditions for the pair of primal and dual LPs minimize c T v subject to Av b maximize b T i subject to A T i+c = 0, i 0 Duality II 7 17

Variational description two potential functions, content and co-content (in notation of p.7 16) current source voltage source diode transformer optimization problems content (function of voltages) Iv 0 if v = E otherwise 0 if v 0 otherwise 0 if v = Aṽ otherwise co-content (function of currents) 0 if i = I otherwise Ei 0 if i 0 otherwise 0 if ĩ = A T î otherwise primal: voltages minimize total content dual: currents maximize total co-content Duality II 7 18

Example primal problem minimize c T v subject to Av b v 0 equivalent circuit i 1 c 1 v 1 v 1 b 1 A i m c n v n v m b m dual problem maximize b T i subject to A T i+c 0 i 0 Duality II 7 19