1 LP Duality Lecture 13: Feb 28. 2 Min-Max Theorems In bipartite graph, Maximum matching = Minimum Vertex Cover In every graph, Maximum Flow = Minimum.

Slides:



Advertisements
Similar presentations
Tuesday, March 5 Duality – The art of obtaining bounds – weak and strong duality Handouts: Lecture Notes.
Advertisements

1 LP, extended maxflow, TRW OR: How to understand Vladimirs most recent work Ramin Zabih Cornell University.
1 Outline relationship among topics secrets LP with upper bounds by Simplex method basic feasible solution (BFS) by Simplex method for bounded variables.
C&O 355 Lecture 8 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A.
C&O 355 Lecture 23 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A A A A A A A A.
Solving IPs – Cutting Plane Algorithm General Idea: Begin by solving the LP relaxation of the IP problem. If the LP relaxation results in an integer solution,
ECE Longest Path dual 1 ECE 665 Spring 2005 ECE 665 Spring 2005 Computer Algorithms with Applications to VLSI CAD Linear Programming Duality – Longest.
C&O 355 Mathematical Programming Fall 2010 Lecture 22 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A.
Totally Unimodular Matrices
Introduction to Algorithms
Linear Programming Unit 2, Lesson 4 10/13.
Instructor Neelima Gupta Table of Contents Lp –rounding Dual Fitting LP-Duality.
CSCI 3160 Design and Analysis of Algorithms Tutorial 6 Fei Chen.
Linear Programming and Approximation
Totally Unimodular Matrices Lecture 11: Feb 23 Simplex Algorithm Elliposid Algorithm.
1 Introduction to Linear and Integer Programming Lecture 9: Feb 14.
Introduction to Linear and Integer Programming Lecture 7: Feb 1.
Duality Lecture 10: Feb 9. Min-Max theorems In bipartite graph, Maximum matching = Minimum Vertex Cover In every graph, Maximum Flow = Minimum Cut Both.
Duality Dual problem Duality Theorem Complementary Slackness
Approximation Algorithms
EMGT 501 HW # (b) (c) 6.1-4, Due Day: Sep. 21.
Distributed Combinatorial Optimization
Linear Programming – Max Flow – Min Cut Orgad Keller.
1 Introduction to Approximation Algorithms Lecture 15: Mar 5.
1 Spanning Tree Polytope x1 x2 x3 Lecture 11: Feb 21.
Approximation Algorithms: Bristol Summer School 2008 Seffi Naor Computer Science Dept. Technion Haifa, Israel TexPoint fonts used in EMF. Read the TexPoint.
Linear Programming Operations Research – Engineering and Math Management Sciences – Business Goals for this section  Modeling situations in a linear environment.
C&O 355 Mathematical Programming Fall 2010 Lecture 19 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A.
Duality Theory 對偶理論.
Lecture 16 Maximum Matching. Incremental Method Transform from a feasible solution to another feasible solution to increase (or decrease) the value of.
3.4 Linear Programming p Optimization - Finding the minimum or maximum value of some quantity. Linear programming is a form of optimization where.
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
Linear Programming Data Structures and Algorithms A.G. Malamos References: Algorithms, 2006, S. Dasgupta, C. H. Papadimitriou, and U. V. Vazirani Introduction.
Theory of Computing Lecture 13 MAS 714 Hartmut Klauck.
Solve problems by using linear programming.
Opener. Notes: 3.4 Linear Programming Optimization  Many real-life problems involve a process called optimization.  This means finding a maximum or.
Duality Theory  Every LP problem (called the ‘Primal’) has associated with another problem called the ‘Dual’.  The ‘Dual’ problem is an LP defined directly.
TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A A A A A A A A Image:
Yang Cai COMP 360: Algorithm Design Lecture 1
Optimization - Lecture 4, Part 1 M. Pawan Kumar Slides available online
Steiner tree LP x e = 1 if edge e is included in the Steiner tree. Min.  e c e x e (primal) s.t.  e   (S) x e ≥ 1  S  V: S  T≠ , T\S≠  x e 
C&O 355 Mathematical Programming Fall 2010 Lecture 5 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A A.
C&O 355 Lecture 7 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A.
CPSC 536N Sparse Approximations Winter 2013 Lecture 1 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAAAAAAA.
Lecture.6. Table of Contents Lp –rounding Dual Fitting LP-Duality.
LINEAR PROGRAMMING 3.4 Learning goals represent constraints by equations or inequalities, and by systems of equations and/or inequalities, and interpret.
Optimization - Lecture 5, Part 1 M. Pawan Kumar Slides available online
C&O 355 Lecture 19 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A A A A A A A A.
3-5: Linear Programming. Learning Target I can solve linear programing problem.
Approximation Algorithms Duality My T. UF.
Approximation Algorithms based on linear programming.
Lap Chi Lau we will only use slides 4 to 19
Topics in Algorithms Lap Chi Lau.
CSCI 3160 Design and Analysis of Algorithms Tutorial 8
Chap 9. General LP problems: Duality and Infeasibility
Lecture 16 Maximum Matching
3.2 Linear Programming 3 Credits AS
3-3 Optimization with Linear Programming
Linear Programming.
Linear Programming and Approximation
8.4 Linear Programming p
Linear Programming Duality, Reductions, and Bipartite Matching
2. Generating All Valid Inequalities
Problem Solving 4.
Chapter 5. The Duality Theorem
Lecture 20 Linear Program Duality
Flow Feasibility Problems
Lecture 19 Linear Program
1.6 Linear Programming Pg. 30.
Lecture 28 Approximation of Set Cover
Presentation transcript:

1 LP Duality Lecture 13: Feb 28

2 Min-Max Theorems In bipartite graph, Maximum matching = Minimum Vertex Cover In every graph, Maximum Flow = Minimum Cut Both these relations can be derived from the combinatorial algorithms. We’ve also seen how to solve these problems by linear programming. Can we also obtain these min-max theorems from linear programming? Yes, LP-duality theorem.

3 Example Is optimal solution <= 30?Yes, consider (2,1,3)

4 NP and co-NP? Upper bound is easy to “prove”, we just need to give a solution. What about lower bounds? This shows that the problem is in NP.

5 Example 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.

6 Strategy What is the strategy we used to prove lower bounds? Take a linear combination of constraints!

7 Strategy Don’t reverse inequalities. What’s the objective?? To maximize the lower bound. Optimal solution = 26

8 Primal Dual Programs Primal Program Dual Program Dual solutions Primal solutions

9 Weak Duality If x and y are feasible primal and dual solutions, then Theorem Proof

10 Maximum bipartite matching To obtain best upper bound. What does the dual program means? Fractional vertex cover! Maximum matching <= maximum fractional matching <= minimum fractional vertex cover <= minimum vertex cover By Konig, equality throughout!

11 Maximum Flow s t What does the dual means? pv = 1 pv = 0 d(i,j)=1 Minimum cut is a feasible solution.

12 Maximum Flow Maximum flow <= maximum fractional flow <= minimum fractional cut <= minimum cut By max-flow-min-cut, equality throughout!

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

14 Strong Duality PROVE:

15 Fundamental Theorem on Linear Inequalities

16 Proof of Fundamental Theorem

17 Farkas Lemma

18 Strong Duality PROVE:

19 Example Objective: max

20 Example Objective: max

21 Geometric Intuition

22 Geometric Intuition Intuition: There exist nonnegative Y1 y2 so that The vector c can be generated by a1, a2. Y = (y1, y2) is the dual optimal solution!

23 Strong Duality Intuition: There exist Y1 y2 so that Y = (y1, y2) is the dual optimal solution! Primal optimal value

24 2 Player Game Row player Column player Row player tries to maximize the payoff, column player tries to minimize Strategy: A probability distribution

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

26 Von Neumann Minimax Theorem Strategy set Which player decides first doesn’t matter! e.g. paper, scissor, rock.

27 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

28 Key Observation similarly

29 Primal Dual Programs duality