Example 4 (Minimization Problem) Unique and Optimum Solution Refer - OR by J K Sharma Page 123 Ex 4.9
Example 4 (Minimization Problem) Unique and Optimum Solution Refer - OR by J K Sharma Page 123 Ex 4.9
Example 4 (Minimization Problem) Unique and Optimum Solution Refer - OR by J K Sharma Page 123 Ex 4.9
• ABC Printing Company is facing a tight financial squeeze and is attempting to cut costs
wherever possible. At present it has only one printing contact and, luckily, the book is selling
well in both the hardcover and the paperback editions. It has just received a request to print
more copies of this book in either the hardcover or the paperback form. The printing cost for
the hardcover books is Rs. 600 per 100 books while that for paperback is only Rs. 500 per
100.
• Although the company is attempting to economize, it does not wish to lay off any employee.
Therefore, it feels obliged to run its two printing presses – I and II, at least 80 and 60 hours
per week, respectively. Press I can produce 100 hardcover books in 2 hours or 100
paperback books in 1 hour. Press II can produce 100 hardcover books in 1 hour or 100
paperbacks books in 2 hours. Determine how many books of each type should be printed in
order to minimize costs. (Use Big-M Method)
• Ans. X = 100/3 batches of hardcover books and y = 40/3 batches of paperback books at a
total minimum cost, Z = Rs.80, 000/3 (Unique and Optimum solution)
Solution:
Subject to
2x + y ≥ 80 (Press I )
x + 2y ≥ 60 (Press II)
x, y ≥ 0
Step 1: RHS of the constraints should be positive, in our case they are positive so we can proceed
X + 2y - S2 + A2 = 60
Where
A1 and A2 are artificial variables which are introduced to make our solution non-negative and the
coefficient in the objective function is M, which called as a penalty with a very high value associated
with it so that it helps in dragging out the artificial variable out of the solution.
A1 = 80
A2 = 60
Z = 140M
Cj 600 500 0 0 M M Ө
Basis x y S1 S2 A1 A2 bj Min Ratio
A1 M 2 1 -1 0 1 0 80
A2 M 1 2 0 -1 0 1 60
Zj 3M 3M -M -M M M Z = 140M
Net Evaluation Δj=cj- Zj 600-3M 500-3M M M 0 0
Row
y- IV A2-OV, skip this column in further calculations
600-3*1000 = -2400
500-3*1000 = -2500
Z1 = 0*2 + 0*4 = 0
a) If any of Δj≥0 then the solution is non-optimum, move to step 6 for the improvement
b) If all Δj<0 then we have reached the optimum condition hence stop iterating and write
down the optimum solution
In our case since two Δj<0 hence the solution is non-optimum, move to step 6 for the
improvement in the solution.
a) Identify the most negative Δj, the corresponding variable heading the row is called as
incoming variable (IV)
b) Calculate minimum positive ratio column denoted by Ө, and choose minimum positive ratio
as outgoing variable
c) Convert key element unity (1) and other elements of the key column zero
Now Convert the key element to unity (1) and other elements of the key column zero (0) using
row transformation
x y S1 S2 A1 A2 bj
2 1 -1 0 1 0 80
1 2 0 -1 0 1 60
R2 - > R2/2
x y S1 S2 A1 A2 bj
2 1 -1 0 1 0 80
½ 1 0 -1/2 0 ½ 30
R1 - > R1 – R2
x y S1 S2 A1 A2 bj
3/2 0 -1 ½ 1 -1/2 50
½ 1 0 -1/2 0 ½ 30
Step 7: Construct Second Simplex Table (A2 was outgoing, it is skipped in this table)
Cj 600 500 0 0 M Ө
CSV CB x y S1 S2 A1 bj Min Ratio
A1 M 3/2 0 -1 ½ 1 50 50/ (3/2) =
100/3=33.33
y 500 ½ 1 0 -1/2 0 30 30/(1/2) = 60
Zj (3/2) M + 250 500 -M M/2 - 250 M Z = 50 M +
15000
Net Δj=cj- Zj 600-250-3/2M = 0 M 250-M/2 0
Evaluati 350-3/2M
on Row
M = 1000 350 – 3/2(1000) = 350-1500 = -1150 250-1000/2 = 250-500 = 250
Cj 600 500 0 0 M Ө
CSV CB x y S1 S2 A1 bj Min Ratio
A1 M 3/2 0 -1 ½ 1 50 100/3 = 33.33
y 500 ½ 1 0 -1/2 0 30 60
Zj 250+3M/2 500 -M -250 + M/2 M Z = 50M+15000
Δj 350-3M/2 0 M 250-M/2 0
Since one Δj < 0, given solution is non-optimum, improve it further by going to step 6 again
Now Convert the key element to unity (1) and other elements of the key column zero (0) using row
transformation
x y S1 S2 A1 bj
3/2 0 -1 ½ 1 50
½ 1 0 -1/2 0 30
To make key element unity the row transformation is R1-> (2 /3)*R1
x y S1 S2 A1 bj
1 0 -2/3 1/3 2/3 100/3
½ 1 0 -1/2 0 30
To make other element if the key column zero the row transformation is R2 - > R2 – (1/2)*R1
x y S1 S2 A1 bj
1 0 -2/3 1/3 2/3 100/3
0 1 1/3 -2/3 -1/3 40/3
Third Simplex table (A1 was outgoing var. skip it in this table)
Cj 600 500 0 0
CSV CB x y S1 S2 bj
x 600 1 0 -2/3 1/3 100/3
y 500 0 1 1/3 -2/3 40/3
Zj 600 500 -700/3 -400/3 Z = 80000/3
Δj 0 0 700/3 400/3 Δj ≥ 0, opt sol.
Since all Δj ≥ 0 we have reached an optimum solution, unique solution
Multiple Opt condition – if in Δj row, at least one of the values corresponding to S1 and S2 is zero
then the solution is multiple optimum , else if both are positive then the solution is unique.
This indicates that Press I and II they utilized for 80 and 60 hrs respectively
Special Cases
Unique
Multiple
Unbounded
Infeasible
Maximize Z = 3x1 + 5x2 Max Z = 3x1 + 5x2 + 0S1 + 0S2 +0S3 – MA1
x1 ≤ 10 x1 + S2 = 10
x2 ≥ 1 x2 -S3 + A1 = 1
x1, x2 ≥ 0
Solution:
x1 + S2 = 10
Here S1 and S2 are slack variables (whatever unutilized capacity is there will be stored in S1 for
1st constraint and in S2 for the second)
Note: Since the objective function is maximization, we have taken -M as the coefficient of A1 in
the objective function.
Put x1 = 0, x2 = 0, S3 = 0
S1 = 6
S2 = 10
A1 = 1
Z = -M
Step 4: Construct Initial Simplex Table
Cj 3 5 0 0 0 -M Ө
CSV CB X1 X2 S1 S2 S3 A1 bj Min
Ratio
S1 0 1 -2 1 0 0 0 6 -ve
S2 0 1 0 0 1 0 0 10 ∞
A1 -M 0 1* 0 0 -1 1 1 1
Zj 0 -M 0 0 M -M Z = -M, Z = -1000
Net evaluation row Δj = cj-Zj 3 5+M 0 0 -M 0 Since Δ>0, non-
opt
Calculate Zj = ƩCbXj
1. If all Δj ≤ 0 then the optimum condition is reached, and we will stop iterating and write
down the solution
2. If any Δj > 0 then the solution is non-optimum, so move to step 6 for the improvement in
the solution
a) Choose the most positive Δj and corresponding variable heading the column would be
incoming variable (IV)
b) Calculate minimum ratio column (Ө) as the ratio of RHS and key column elements and
choose the minimum positive ratio as outgoing variable
c) Now convert the key element unity and rest elements of the key column zero using row
transformation
X1 X2 S1 S2 S3 A1 bj
1 -2 1 0 0 0 6
1 0 0 1 0 0 10
0 1 0 0 -1 1 1
R1-> R1+2R3
X1 X2 S1 S2 S3 A1 bj
1 0 1 0 -2 2 8
1 0 0 1 0 0 10
0 1 0 0 -1 1 1
Step 7: Construct Second Simplex Table (Since A1 was chosen as outgoing variable it will be
omitted in further simplex tables)
Cj 3 5 0 0 0 Ө
CSV CB X1 X2 S1 S2 S3 bj Min Ratio
S1 0 1 0 1 0 -2 8 8/ (-2) = -4
S2 0 1 0 0 1 0 10 10/0 = ∞
X2 5 0 1 0 0 -1 1 1/ (-1) = -1
Zj 0 5 0 0 -5 Z =5
Net evaluation row Δj = 3 0 0 0 5 Δj>0, Non-opt
cj-Zj
Step 8: Perform optimality test
1. If all Δj ≤ 0 then the optimum condition is reached, and we will stop iterating and write
down the solution
2. If any Δj > 0 then the solution is non-optimum, so move to step 6 for the improvement in
the solution
a) Choose the most positive Δj and corresponding variable heading the column would be
incoming variable (IV)
b) Calculate minimum ratio column (Ө) as the ratio of RHS and key column elements and
choose the minimum positive ratio as outgoing variable
c) Since in the minimum column ratio there is no positive ratio, the values are either negative
or infinity, we cannot choose any variable as outgoing hence the given solution cannot be
solved further.
In such a case, while choosing outgoing variable, the Ө column consists of negative or
infinity values the solution to such an LPP is called UNBOUNDED.
• Ans.: Since all minimum ratios values are either negative or infinity, s3 value can be
increased indefinitely without violating any of the constraints. Further, since s3 is associated
with x2 in the third constraint, x2 will also be increased infinitely because it can be expressed
as x2 =1+s3 – A1. hence, the solution to the given problem is unbounded.