7 DUALITY Theory Part 1
7 DUALITY Theory Part 1
Duality Theory
• Every linear programming problem has associated with it another linear
programming problem called the Dual. The original problem is called
Primal.
The watch maker’s Problem
Smith Family: Father (F) and Son (S)
How to convince them (Son and Father) to join him (John Blake)?
Comparable wages with respect to before : “at least” as good as before
Hire them at the minimum possible cost: “just enough” to effect the switch over
Min B = 50 y1 + 60 y2
S.t. 2 y1 + 3 y2 ≥ 60
y1 + 4 y2 ≥ 40
4 y1 + 2 y2 ≥ 80
y1, y2 ≥ 0
Solution: y1 = 15, y2 =10, Objective function B = $1350 per week
3
Solution of John Blake Problem
y2
• Obj B is min at
(0,40)
y1 = 15, y2 =10 3
• Objective function
B = $1350 per week
(0,20) 1
(15,10)
(0,10)
(24,4)
2 y1
(20,0) (30,0) (40,0)
4
Will the solution of John Blake help to solve Watch maker’s problem?
From watch maker’s constraint
2 x1 + x2 + 4 x3 ≤ 50 (1)
3 x1 + 4 x2 + 2 x3 ≤ 60 (2)
Dual Problem
m
Max W bi yi Where, yi: price of ith nutrient pill containing one unit of nutrient i
i 1
m
S.t. a
i 1
ij
yi c j , j 1,2,..., n (Competitive pricing w.r.t. foods)
yi 0, i 1,2,..., m 6
How to get Dual (D) from Primal (P)?
Max Z = c1x1 + c2x2 + … + cnxn Dual Variable
P
S.t. a11x1 + a12x2 + … + a1n xn ≤ b1 y1
a21x1 + a22x2 + … + a2n xn ≤ b2 y2 (Optimal Allocation of Resources)
. .
. .
. .
am1x1 + am2x2 + … + amn xn ≤ bm ym
and xj ≥ 0, for j = 1, 2, …, n