Professional Documents
Culture Documents
Duality
Every LP has its Dual.
Primal(Ex 4.1-1)
Dual
Primal
Dual
Ex 4.3-2
TOYCO assembles three types of toys: trains, trucks, and cars
using three operations. Available assembly times for the three
operations are 430, 460 and 420 minutes per day, respectively, and
the revenues per toy train, truck, and car are $3, $2 and $5,
respectively. The assembly times per train for the three operations
are 1, 3 and 1 minutes, respectively. The corresponding times per
truck and per car are (2, 0, 4) and (1, 2, 0) minutes (a zero time
indicates that the operations is not used).
Economic Interpretation
Primal
Optimal solution:
z ∗ = $1350
x ∗ = (0, 100, 230).
Economic Interpretation
Dual
Optimal solution:
w ∗ = $1350
y ∗ = (1, 2, 0).
Economic Interpretation
Primal Dual
max z = 3x1 + 2x2 + 5x3 min w = 430y1 + 460y2 + 420y3
s.t. x1 + 2x2 + x3 ≤ 430 s.t. y1 + 3y2 + y3 ≥ 3
3x1 + 2x3 ≤ 460 2y1 + 4y3 ≥ 2
x1 + 4x2 ≤ 420 y1 + 2y2 ≥ 5
x1 , x2 , x3 ≥ 0. y1 , y2 , y3 ≥ 0.
z ∗ = $1350 w ∗ = $1350
x ∗ = (0, 100, 230). y ∗ = (1, 2, 0).
Constructing Dual LP
Constructing Dual LP
Primal Dual
max z = 3x1 + 2x2 + 5x3 min w = 430y1 + 460y2 + 420y3
s.t. x1 + 2x2 + x3 ≤ 430 s.t. y1 + 3y2 + y3 (?) 3
3x1 + 2x3 ≤ 460 2y1 + 4y3 (?) 2
x1 + 4x2 ≤ 420 y1 + 2y2 (?) 5
x1 , x2 , x3 ≥ 0. y1 , y2 , y3 (?) 0.
Constructing Dual LP
Constraints Variables
max min
≥ ⇔ ≤0
≤ ⇔ ≥0
= ⇔ Unrestricted
min max
≥ ⇔ ≥0
≤ ⇔ ≤0
= ⇔ Unrestricted
Constructing Dual LP from standard form
Standard form:
I Constraints: =.
I Variables: ≥ 0.
Dual of standard form:
I Dual variables: unrestricted.
I Dual Constraints:
I ≥ 0 if dual is min.
I ≤ 0 if dual is max.
Constructing Dual LP from standard form
Ex 4.1-1
Dual of Ex 4.1-1
Primal of Ex 4.1-2
Dual of Ex 4.1-2
Primal of Ex 4.1-3
Dual of Ex 4.1-3