Professional Documents
Culture Documents
Maximization Minimization
Minimization Maximization
ith variable ith constraint
jth constraint jth variable
xi > 0 Inequality sign of ith Constraint:
≥ if dual is maximization
≤ if dual is minimization
ith variable unrestricted ith constraint with = sign
jth constraint with = sign jth variable unrestricted
RHS of jth constraint Cost coefficient associated with jth
variable in the objective function
Cost coefficient associated with ith RHS of ith constraint
variable in the objective function
Standard form of the Primal
Problem n
max Z c j x j
x j 1
a11 x1 a12 x 2 ... a1n xn b1
a21 x 1 a22 x 2 ... a2 n x n b2
... ... ... ...
... ... ... ...
am1 x1 a m2 x 2 ... amn x n bm
x1 , x 2 ,..., x n 0
Standard form of the Dual
Problem
m
min w bi yi
y i 1
a11 y1 a21 y 2 ... a m1 y m c1
a12 y1 a 22 y 2 ... a m2 ym c 2
... ... ... ...
... ... ... ...
a1n y1 a 2 n y2 ... a mn y m c n
y1 , y 2 ,..., ym 0
Finding Dual of a LP problem:
An example
Primal Dual
Maximize Z 4 x1 3 x 2
Minimize Z ' 6000 y1 2000 y 2 4000 y 3
2
Subject to x1 x 2 6000 Subject to y1 y 2 y3 4
3 2
x1 x 2 2000 y1 y 2 3
3
x1 4000 y1 0
x1 unrestrict ed , y2 0
y3 0
x2 0
Finding Dual of a LP problem:
An example
Minimize Z 2 x1 x 2
Subject to x1 2
3 x1 4 x 2 24
4 x1 3 x 2 12
x1 2 x 2 1
Dual Simplex Method: An Example…contd.
After introducing the slack variables the problem is
reformulated with equality constraints as follows:
Minimize Z 2 x1 x 2
Subject to x1 x3 2
3 x1 4 x 2 x 4 24
4 x1 3 x 2 x5 12
x1 2 x 2 x6 1
Dual Simplex Method: An Example
As all the br are positive, optimum solution is reached.
Thus, the optimal solution is
Z = 5.5 with x1 = 2 and x2 = 1.5
Solution of Dual from Primal Simplex
PRIMAL
Maximize Z 4 x1 x 2 2 x3
Subject to 2 x1 x 2 2 x3 6
x1 4 x 2 2 x3 0
5 x1 2 x 2 2 x3 4
x1 , x 2 , x3 0
1 1/3 1/3
Z’ Z’ Z’
y3
y2
y2 y2 y2 y2 y2 y2 y2 y2 y2 y2 y2 y2 y2 y2 y2 y2 y2 y2 y2 y2 y1
Solution of Dual from Primal Simplex
DUAL
Minimize Z ' 6 y1 0 y 2 4 y 3
Subject to 2 y1 y 2 5 y 3 4
y1 4 y 2 2 y 3 1
2 y1 2 y 2 2 y 3 2
y1 , y 2 , y 3 0
Sensitivity or post optimality analysis
Changes that can affect only Optimality
Change in coefficients of the objective function, C1,C2,…