Title: LP Duality
1LP Duality
2Min-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. Weve 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.
3Example
Is optimal solution lt 30?
Yes, consider (2,1,3)
4NP and co-NP?
Upper bound is easy to prove, we just need to
give a solution.
This shows that the problem is in NP.
What about lower bounds?
5Example
Is optimal solution gt 5?
Yes, because x3 gt 1.
Is optimal solution gt 6?
Yes, because 5x1 x2 gt 6.
Is optimal solution gt 16?
Yes, because 6x1 x2 2x3 gt 16.
6Strategy
What is the strategy we used to prove lower
bounds?
Take a linear combination of constraints!
7Strategy
Dont reverse inequalities.
Whats the objective??
To maximize the lower bound.
Optimal solution 26
8Primal Dual Programs
Dual Program
Primal Program
Primal solutions
Dual solutions
9Weak Duality
Theorem
If x and y are feasible primal and dual
solutions, then
Proof
10Maximum bipartite matching
To obtain best upper bound.
What does the dual program means?
Fractional vertex cover!
Maximum matching lt maximum fractional matching
lt minimum fractional vertex cover lt minimum
vertex cover
By Konig, equality throughout!
11Maximum Flow
d(i,j)1
t
s
What does the dual means?
pv 1
pv 0
Minimum cut is a feasible solution.
12Maximum Flow
Maximum flow lt maximum fractional flow lt
minimum fractional cut lt minimum cut
By max-flow-min-cut, equality throughout!
13Primal Dual Programs
Dual Program
Primal Program
Primal solutions
Dual solutions
Primal optimal Dual optimal
Von Neumann 1947
Dual solutions
Primal solutions
14Strong Duality
PROVE
15Fundamental Theorem on Linear Inequalities
16Proof of Fundamental Theorem
17Farkas Lemma
18Strong Duality
PROVE
19Example
Objective max
2
1
-1
1
-2
2
20Example
Objective max
2
1
-1
1
-2
2
21Geometric Intuition
2
1
-1
1
-2
2
22Geometric 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!
23Strong Duality
Intuition There exist Y1 y2 so that
Primal optimal value
Y (y1, y2) is the dual optimal solution!
242 Player Game
Column player
-1
1
0
Strategy A probability distribution
Row player
0
-1
1
1
0
-1
Row player tries to maximize the payoff, column
player tries to minimize
252 Player Game
Column player
Strategy A probability distribution
Row player
A(i,j)
You have to decide your strategy first.
Is it fair??
26Von Neumann Minimax Theorem
Strategy set
Which player decides first doesnt matter!
e.g. paper, scissor, rock.
27Key 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
28Key Observation
similarly
29Primal Dual Programs
duality