Post Optimality Analysis
Post Optimality Analysis
Post Optimality Analysis
RESEARCH
O R
ADVANCED TOPICS IN LINEAR PROGRAMMING
ADVANCE TOPICS IN
LINEAR PROGRAMMING
Duality in Linear Programming
Method
Simplex
DUALITY IN LINEAR
PROGRAMMING
It is interesting that every linear programming model
has two forms: The Primal and The Dual.
The original form of a linear programming model is
called the Primal.
DUALITY (Cont)
DUAL OF AN LP PROBLEM:
The dual is derived completely from the primal; for easily getting the dual from the
primal; divide the linear programming problems into two forms:
1. Normal Linear Programming Problem
2. NonNormal Linear Programming Problem
1.
DUALITY (Cont)
DUALITY (Cont)
1) Find the dual of the following problem:
Maximize: Z = 3X1 + 4X2
Subject to:
2X1 + 3X2 16
4X1 + 2X2 16
X1, X2 0
Dual problem in case of normal
problem;
Minimize: Z = 16Y1 + 16Y2
Subject to:
2Y1 + 4Y2 3
3Y1 + 2Y2 4
Y1, Y2 0
LP
DUALITY (Cont)
Step1: If the given LP problem is in nonnormal form then we first convert it into normal form,
for converting the nonnormal LP problem into normal LP problem adopt the following
procedure:
IN CASE OF MAXIMIZATION PROBLEM
1.
2.
3.
4.
Unrestrictedinsign Decision
Variable (Xi)
Procedure
No Change is required
Convert the type inequality into type by multiplying it by 1.
a. Convert the equality into two inequalities in which one having
sign while other having sign.
b. Convert the type inequality into type by multiplying it by
1.
Any unrestricted in sign decision variable can be rewritten Xi as
the difference Xi = Xi/ Xi// of two nonnegative decision variables
Xi/, Xi//.
4.
Unrestrictedinsign Decision
Variable (Xi)
Procedure
Convert the type inequality into type by multiplying it by 1.
No Change is required
a. Convert the equality into two inequalities in which one having
sign while other having sign.
b. Convert the type inequality into type by multiplying it by 1.
Any unrestricted in sign decision variable can be rewritten Xi as the
difference Xi = Xi/ Xi// of two nonnegative decision variables Xi/, Xi//.
DUALITY (Cont)
STEPS FOR PRIMAL PROBLEM TO DUAL PROBLEM
IN CASE OF NONNORMAL LP PROBLEM (Cont):
Step2: Restate the primal problem after taking step1.
Step3: If the primal problem is in a maximization form then the dual problem will be in
minimization form. But if the primal problem is in a minimization form then the dual problem
will be in maximization form.
Step4: The number of decision variables in the dual problem is equal to the number of
constraints in the primal problem.
Step5: The quantities (numerical values) which appear on the right hand side (RHS) of the
constraints of the primal problem become the coefficients of the decision variables in the
objective function of the dual problem.
Step6: The number of constraints in the dual problem is equal to the number of variables
in the primal problem.
Step7: The coefficients of the variables in the constraints of the primal problem which
appear from left to right be placed from top to bottom in the constraints of the dual problem.
Step8: If the primal problem has less than or equal to () type constraints then the dual
problem will have greater than or equal to () type constraints; But if the primal problem has
greater than or equal to () type constraints then the dual problem will have less than or
equal to () type constraints.
Step9: The coefficients of the objective function of the primal problem which appears on
the right hand side (RHS) of the constraints of the dual problem.
Step10: Nonnegativity restriction will also apply to decision variable of dual problem.
9
DUALITY (Cont)
As the given LP problem is in the form of maximum
nonnormal form so we need to convert it into
maximum normal LP problem in which we need all
the constraints in the form of less than or equal to .
So,
Constraint1: 4X1 + 5X2 + 4X3 + 8X4 = 21; Now we convert it into two inequalities that are:
4X1 + 5X2 + 4X3 + 8X4 21
4X1 + 5X2 + 4X3 + 8X4 21
Inequality having sign; convert it into form by multiplying with 1; we get: 4X1 5X2 4X3 8X4 21
Now follow the remaining steps for converting the primal into dual; we will get the dual of the given problem
which is:
Minimize: Z = 21Y/ + 48Y3
Subject to:
4Y/ + 3Y3 6
5Y/ + 7Y3 4
4Y/ + 8Y3 6
8Y/ + 2Y3 1
10
Where Y3 0; Y/ (unrestricted in sign)
DUALITY (Cont)
DUAL:
Minimize: Z = 16Y1 16Y2 + 16Y3 16Y4
Subject to:
2Y1 4Y2 + 2 Y3 2Y4 6
3Y1 2Y2 + Y3 Y4 8
Y1, Y2, Y3, Y4 0
11
DUALITY (Cont)
Find the dual of the following problem:
Maximize: Z = 12X1 + 15X2 + 9X3
Subject to:
8X1 + 16X2 + 12X3 25
4X1 + 8X2 + 10X3 80
7X1 + 9X2 + 8X3 = 105
X1, X2, X3 0
Minimize: Z = 5Y1 + Y2 Y/
Subject to:
Y1 + Y/ 3
Y1 Y/ 1
2Y1 Y2 1
3Y1 + Y2 1
Where, Y1, Y2 0; Y/ (unrestricted in sign)
12
QUESTIONS
13