Duality Part2
Duality Part2
Primal
Min.. Z = 10x1+15x2
Subject to constraints:
5x1 + 7x2 > 80
6x1 + 11x2 > 100
x1, x2 > 0
Solution
Dual
Max.. Z’ = 80y1+100y2
Subject to constraints:
5y1 + 6y2 < 10
7y1 + 11y2 < 15
y1, y2 > 0
Example
Primal
Max. Z = 12x1+ 4x2
Subject to constraints:
4x1 + 7x2 < 56
2x1 + 5x2 > 20
5x1 + 4x2 = 40
x1, x2 > 0
Solution
The second inequality 2x1 + 5x2 > 20 can be changed to
the less-than-or-equal-to type by multiplying both sides of the
inequality by -1 and reversing the direction of the inequality; that
is,
Subject to constraints:
Subject to constraints:
Primal
Min.. Z = 2x2 + 5x3
Subject to constraints:
x1 + x 2 >2
2x1 + x2 +6x3 < 6
x1 - x2 +3x3 = 4
x1, x2, x3 > 0
Solution
Subject to constraints:
-x1 - x2 < -2
2x1 + x2 +6x3 < 6
x1 - x2 +3x3 < 4
- x1 + x2 - 3x3 < -4
x1, x2, x3 > 0
Cont…
Dual
Min. Z’ = -2y1 + 6y2 + 4y3 – 4y4
Subject to constraints:
3x1 + x2 > 3
4x1 + 3x2 > 6
x1 + x2 < 3
x1, x2 > 0
Cont…
Step I: The first two inequalities are multiplied by –1 to
convert them to < constraints and convert the objective
function into maximization function.
•Initial Basic Solution is Optimal (as the optimality condition is satisfied) but
infeasible.
•Choose the most negative basic variable. Therefore, S2 is the departing
variable.
•Calculate Ratio = |Z row / S2 row| (S2 < 0)
•Choose minimum ratio. Therefore, x2 is the entering variable.
Cont…
Basic Coefficients of: Sol.
Variable Z x1 x2 S1 S2 S3
Z 1 1/3 0 0 2/3 0 4
S1 0 -5/3 0 1 -1/3 0 -1
x2 0 4/3 1 0 -1/3 0 2
S3 0 -1/3 0 0 1/3 1 1
Ratio - 1/5 - - 2 -
Max. Z = -x1 - x2
Subject to constraints:
x1 + x2 < 8
x2 > 3
-x1 + x2 < 2
x 1, x 2 > 0
Cont…
Let S1, S2 , S3 be three slack variables