Today: Linear Programming (con t.)

Similar documents
Lectures 6, 7 and part of 8

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

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

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

LINEAR PROGRAMMING II

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

1 Seidel s LP algorithm

Review Solutions, Exam 2, Operations Research

Farkas Lemma, Dual Simplex and Sensitivity Analysis

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

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

Discrete Optimization

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 Notes 3: Duality

Part IB Optimisation

Theory and Internet Protocols

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

EE364a Review Session 5

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

1 Primals and Duals: Zero Sum Games

Lecture 7 Duality II

Game Theory: Lecture 3

Chapter 3, Operations Research (OR)

Lecture 11: Post-Optimal Analysis. September 23, 2009

Chapter 1 Linear Programming. Paragraph 5 Duality

An introductory example

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

4.6 Linear Programming duality

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

BBM402-Lecture 20: LP Duality

LINEAR PROGRAMMING III

The Simplex Algorithm

Input: System of inequalities or equalities over the reals R. Output: Value for variables that minimizes cost function

How to Take the Dual of a Linear Program

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

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

Linear Programming Duality

ORIE 6300 Mathematical Programming I August 25, Lecture 2

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

Massachusetts Institute of Technology 6.854J/18.415J: Advanced Algorithms Friday, March 18, 2016 Ankur Moitra. Problem Set 6

16.1 L.P. Duality Applied to the Minimax Theorem

Part 1. The Review of Linear Programming

Introduction to linear programming using LEGO.

SDP Relaxations for MAXCUT

OPTIMISATION /09 EXAM PREPARATION GUIDELINES

CSC304: Algorithmic Game Theory and Mechanism Design Fall 2016

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)

OPTIMISATION 2007/8 EXAM PREPARATION GUIDELINES

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

CS 6820 Fall 2014 Lectures, October 3-20, 2014

4. Algebra and Duality

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

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

Lesson 27 Linear Programming; The Simplex Method

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

Part III: A Simplex pivot

Introduction to optimization

Network Flows. CS124 Lecture 17

CS261: A Second Course in Algorithms Lecture #12: Applications of Multiplicative Weights to Games and Linear Programs

Algorithmic Game Theory and Applications. Lecture 4: 2-player zero-sum games, and the Minimax Theorem

Module 8 Linear Programming. CS 886 Sequential Decision Making and Reinforcement Learning University of Waterloo

Computing Minmax; Dominance

CO 250 Final Exam Guide

Lecture 13: Linear programming I

Another max flow application: baseball

15-850: Advanced Algorithms CMU, Fall 2018 HW #4 (out October 17, 2018) Due: October 28, 2018

CO350 Linear Programming Chapter 6: The Simplex Method

Lecture 10: Linear programming duality and sensitivity 0-0

Week 3 Linear programming duality

Linear programming. Saad Mneimneh. maximize x 1 + x 2 subject to 4x 1 x 2 8 2x 1 + x x 1 2x 2 2

Sensitivity Analysis

Optimization - Examples Sheet 1

Lecture 3: Semidefinite Programming

Efficient Nash Equilibrium Computation in Two Player Rank-1 G

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

COT 6936: Topics in Algorithms! Giri Narasimhan. ECS 254A / EC 2443; Phone: x3748

Class Meeting #20 COS 226 Spring 2018

INTRO TO MATH PROGRAMMING MA/OR 504, FALL 2015 LECTURE 11

CSC373: Algorithm Design, Analysis and Complexity Fall 2017 DENIS PANKRATOV NOVEMBER 1, 2017

Approximate Farkas Lemmas in Convex Optimization

A Review of Linear Programming

Dual fitting approximation for Set Cover, and Primal Dual approximation for Set Cover

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

Today: Linear Programming

IE 5531: Engineering Optimization I

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

Linear Programming Inverse Projection Theory Chapter 3

II. Analysis of Linear Programming Solutions

LECTURE 10 LECTURE OUTLINE

Linear Programming. Operations Research. Anthony Papavasiliou 1 / 21

Kernel-Size Lower Bounds. The Evidence from Complexity Theory

Linear Programming: Chapter 5 Duality

Linear Programming: Simplex

Optimality, Duality, Complementarity for Constrained Optimization

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

Math 16 - Practice Final

Introduction to Linear Programming

Lecture 5. Theorems of Alternatives and Self-Dual Embedding

Optimization 4. GAME THEORY

Computing Minmax; Dominance

Transcription:

Today: Linear Programming (con t.) COSC 581, Algorithms April 10, 2014 Many of these slides are adapted from several online sources

Reading Assignments Today s class: Chapter 29.4 Reading assignment for next class: Chapter 9.3 (Selection in Linear Time) Chapter 34 (NP Completeness)

Optimality of SIMPLEX Duality is a way to prove that a solution is optimal Max-Flow, Min-Cut is an example of duality Duality: given a maximization problem, we define a related minimization problem s.t. the two problems have the same optimal objective value

Duality in LP Given an LP, we ll show how to formulate a dual LP in which the objective is to minimize, and whose optimal value is identical to that of the original LP (now called primal LP)

Primal Dual LPs: Primal: maximize c T x subject to: Ax b x 0 (standard form) n y x T A b Dual: minimize y T b subject to: y T A c T y 0 c T d (standard form)

Forming dual Change maximization to minimization Exchange roles of coefficients on RHSs and the objective function Replace each with Each of the m constraints in primal has associated variable y i in the dual Each of the n constraints in the dual as associated variable x i in the primal

Example : Primal-Dual PRIMAL: max 16 x 1-23 x 2 + 43 x 3 + 82 x 4 subject to: 3 x 1 + 6 x 2-9 x 3 + 4 x 4 239-9 x 1 + 8 x 2 + 17 x 3-14 x 4 = 582 5 x 1 + 12 x 2 + 21 x 3 + 26 x 4-364 x 1 0, x 2 0, x 4 0 DUAL: min 239 y 1 + 582 y 2-364 y 3 subject to: 3 y 1-9 y 2 + 5 y 3 16 6 y 1 + 8 y 2 + 12 y 3-23 -9 y 1 + 17 y 2 + 21 y 3 = 43 4 y 1-14 y 2 + 26 y 3 82 y 1 0, y 3 0

Think about bounding optimal solution Is optimal solution 30? Yes, consider (2,1,3)

Think about bounding optimal solution Is optimal solution 5? Yes, because x3 1. Is optimal solution 6? Yes, because 5x1 + x2 6. Is optimal solution 16? Yes, because 6x1 + x2 +2x3 16.

Strategy for bounding solution? What is the strategy we re using to prove lower bounds? Take a linear combination of constraints!

Strategy for bounding solution? 5 Don t reverse inequalities. What s the objective?? Optimal solution = 26 To maximize the lower bound.

Note: Use of primal as minimization Just to show you something a bit different from the text, the following discussion assumes the primal is a minimization problem, and thus the dual is a maximization problem Doesn t change the meaning (compared to text)

Primal-Dual Programs Primal Program Dual Program Dual solutions Primal solutions

Primal Dual Weak Duality Theorem If x and y are feasible primal and dual solutions, then any solution to the primal has a value no less than any feasible solution to dual. Proof

Primal Dual Programs Primal Program Dual Program Dual solutions Primal solutions Von Neumann [1947] Primal optimal = Dual optimal Dual solutions Primal solutions

Strong Duality Prove that if primal solution = dual solution, then the solution is optimal for both PROVE:

Farka s Lemma Exactly one of the following is solvable: AA 0 c T x > 0 and: A T y = c y 0 where: x and c are n-vectors y is an m-vector A is m n matrix

Fundamental Theorem on Linear Inequalities

Proof of Fundamental Theorem

Strong Duality PROVE: In other words, the optimal value for the primal is the optimal value for the dual.

Example Objective: max 2 1-2 -1 1 2

Example Objective: max 2 1-2 -1 1 2

Geometric Intuition 2 1-2 -1 1 2 23

Geometric Intuition Intuition: There exist nonnegative y 1, y 2 so that The vector c can be generated by a 1, a 2. Y = (y 1, y 2 ) is the dual optimal solution!

Strong Duality Intuition: There exist y 1, y 2 so that Y = (y 1, y 2 ) is the dual optimal solution! Primal optimal value

Here s another analogy: 2 Player Game Column player Row player 0-1 1 1 0-1 Strategy: A probability distribution -1 1 0 Row player tries to maximize the payoff, column player tries to minimize

2 Player Game Strategy: A probability distribution Column player Row player A(i,j) Is it fair?? You have to decide your strategy first.

Von Neumann Minimax Theorem Strategy set Which player decides first doesn t matter!

Key Observation If the row player fixes his strategy, then we can assume that y chooses a pure strategy Vertex solution is of the form (0,0,,1, 0), i.e. a pure strategy

Key Observation similarly

Primal-Dual Programs duality

Reading Assignments Reading assignment for next class: Chapter 9.3 (Selection in Linear Time) Chapter 34 (NP Completeness)