Академический Документы
Профессиональный Документы
Культура Документы
Maximize -12Y1+12Y2+9Y3-10Y4+7Y5
Next, because the original problems had four constraints therefore we want the dual
to have four variables. How to do this?
We shall write variables Y2-Y1 as Y6 . For this we have to bring the problem in Y2-Y1
format. For example, objective function has been brought in this format as shown
below:
12Y2-12Y1+9Y3-10Y4+7Y5…………….this is initial form of objective function
12(Y2-Y1)+9Y3-10Y4+7Y5………………this is final form of objective function
12Y6+9Y3-10Y4+7Y5
Similar procedure has to be followed for all the constraints also.
Maximize 12Y6+9Y3-10Y4+7Y5
Subject to
-4Y6-7Y3+8Y4-3Y5 ≥-8
-2Y6-5Y3+5Y4-7Y5 ≥-5
2Y6+5Y3-5Y4+7Y5 ≥5
8Y6+6Y3-4Y4+9Y5 ≥4
Y3, Y4, Y5 ≥0, Y6 is unrestricted in sign
Replacing Y4 by –Y7 such that Y7 ≤ 0, we get:
Maximize: 12Y6+9Y3+10Y7+7Y5
Subject to
-4Y6-7Y3-8Y7-3Y5 ≥-8……………….(i)
-2Y6-5Y3-5Y7-7Y5 ≥-5 ……………….(ii)
2Y6+5Y3+5Y7+7Y5 ≥5 ……………….(iii)
8Y6+6Y3+4Y7+9Y5 ≥4 ……………….(iv)
Y3, Y5 ≥0, Y7 ≤ 0, Y6 is unrestricted in sign
Now, multiply (i) and (ii) by -1 and writing the modified constraints (ii) and (iii) as
equations, we get the dual as:
Maximize: 12Y6+9Y3+10Y7+7Y5
Subject to
4Y6+7Y3+8Y7+3Y5 ≤ 8……………….(i)
2Y6+5Y3+5Y7+7Y5 = 5 ……………….(ii)
8Y6+6Y3+4Y7+9Y5 ≥ 4 ……………….(iv)
Y3, Y5 ≥ 0, Y7 ≤ 0, Y6 is unrestricted in sign
Now, we can use replace Y6, Y3, Y7 and Y5 with Y1, Y2, Y3, Y4 respectively to
get the problem in following form:
Maximize: 12Y1+9Y2+10Y3+7Y4
Subject to
4Y1+7Y2+8Y3+3Y4 ≤ 8
2Y1+5Y2+5Y3+7Y4 = 5
8Y1+6Y2+4Y3+9Y4≥ 4
Y2, Y4 ≥ 0, Y3 ≤ 0, Y1 is unrestricted in sign
Now, this is the dual corresponding to our problem
Summary
Weak Duality Theorem
If the Primal is a maximization problem, then, every feasible solution to the
dual has an objective function value greater than or equal to every feasible
solution to the Primal.
Dual:
Putting values of Y1, Y2 as (3, 3) will give us W=51
Putting values of Y1, Y2 as (1, 2) will give us W = 29 and so on…
We can evaluate any number of feasible solutions to the Primal and to the dual. We
shall see that objective function value of Dual is always be greater than the Primal.
Proof:
Since there exists a basic feasible solution X1, X2 to the Primal
We have, X1+X2 ≤ 5
3X1+2X2 ≤ 12
Substituting in the objective function value of a solution feasible to the dual, we get:
W ≥ (X1+X2)Y1+ (3X1+2X2)Y2
Rearranging the terms, we get:
W ≥ X1 (Y1+3Y2)+ X2(Y1+2Y2)
Since Y1 and Y2 are feasible to the dual, we have :
Y1+3Y2 ≥6
Y1+2Y2 ≥5
Substituting, we get
W ≥ 6X1+5X2
Since, X1 and X2 are feasible to the Primal, Z = 6X1+5X2
Hence, W ≥ Z
Optimality Criterion Theorem
If Primal (P) and Dual (D) have basic feasible solutions such that W = Z, then
these are optimal to P and D respectively.
We see that optimal condition is satisfied but the feasibility condition is not
satisfied.
We have a solution where Primal is infeasible but dual is feasible. This is just
the opposite to what was happening upto now in all the simplex problems we
have discussed
But we can still workout simplex if we can maintain the feasibility of the dual
and slowly make primal feasible than it will become optimal.
So lets do that.
Since Cj-Zj is all negative so we can’t have any entering variable here so first
we have to make Primal feasible which means we need a positive or non
negative value at the RHS.
So, start the procedure
Highest non negative value RHS will leave so -9…hence X4 variable will leave
Now, which variable will enter?
To do that, we compute Ɵ which will now come in the row
How to calculate Ɵ. Divide Cj-Zj by the corresponding element in pivot row
Now, least Ɵ will enter
Now, what happens as a result of this?
Now, we see that there is still -8/7 in RHS. So , this has to go now
To know what will be entering variable, compute Ɵ
Once, again we see that Cj-Zj values are negative so the optimality condition is satisfied
And also RHS is positive so the feasibility condition is also satisfied.
Therefore -123/11 is optimal solution.
So the solution to the primal is X1 = 8/11, X2 = 13/11, Z = 123/11
And optimal solution to the dual will be Y1 = -21/11, Y2 = -2/11, W = 123/11
This algorithm is called Dual Simplex algorithm
This is very much suited for Minimization problems with all positive co efficients in the
objective function and all constraints of the ≥ type with a non negative RHS.
There is no need to add artificial variables, no need to use Big M method
End of Unit-2