Operations Research 11
Operations Research 11
By
Rituparna Choudhary
Chapter 01
Linear Programming Problem (LPP)
Definition: -
Linear Programming a technique for determining how to use limited resources
of a business to achieve a specific objective such as maximum revenue,
maximum profit, minimum cost, minimum time.
Some Terminology
140
( 0 , 120 )
120
100 ( 0 , 100)
80
60
40
20 ( 200 , 0 )
(140 , 0)
2x1+ x2 = 80 ------------------------(3)
x1 0 40
x2 80 0
(x1 , x2 ) (0 , 80 ) (40 , 0 )
160
140 (0,140)
120
100
80 (0 , 80)
60
40
20
(40, 0) (50, 0) (60, 0)
(0, 0) 20 40 60 80 100 120 140 160 180 X1
Here points on the feasible region are ( 0 ,0 ) , ( 40 , 0) and ( 0 , 80)
So substituting these points we get
at ( 0 , 0 ) , z = 0
at ( 40 , 0 ) , z = 80 × 40 + 40 × 0 = 3200
at ( 0 , 80 ) , z = 80 × 0 + 40 × 80 = 3200
Here , 3200 is maximum hence solution is
x1 = 40 , x2 = 0
OR
x1 = 0 , x2 = 80
3) Max Z = 10x1+20 x2 subject to constraints
10x1+4 x2 ≤ 40
6x1+8 x2 ≤ 48
x1, x2 ≥ 0
Solution :-
Let us consider lines as
10x1+4 x2 = 40 -----------------------(1)
x1 0 4
x2 10 0
(x1 , x2 ) ( 0 ,10) (4, 0)
6x1+8 x2 = 48 ------------------------(2)
x1 0 8
x2 6 0
(x1 , x2 ) ( 0 , 6) (8 , 0)
Let us draw the lines on the graph paper
X2
10 (0, 10 )
6 (0, 6)
5 16 30
(7 , )
7
4
(8 , 0 )
(4, 0)
(0 , 0) 1 2 3 4 5 6 7 8 9 10 X1
Now let us solve ( 1) and (2).
By (1)× 2 − (2) we get
20x1+8 x2 = 80
-6x1-8 x2 = -48
16
we get , 14 x1 = 32 , hence , x1 =
7
16 16
Now substituting , x1 = in (1) we got 10× + 4 x2 = 40
7 7
160 280−160 120
4 x2 = 40 - = =
7 7 7
30
Hence , x2 =
7
16 30
Here points on the feasible region are ( 0 ,0 ) , ( 4 , 0) , ( , ) and ( 0 , 6)
7 7
So substituting these points we get
at ( 0 , 0 ) , z = 0
at ( 4 , 0 ) , z = 10 × 4 + 20 × 0 = 40
16 30 16 30 160+600 760
at ( , ) , z = 10 × + 20 × = =
7 7 7 7 7 7
at ( 0 , 6 ) , z = 10 × 0 + 20 × 6 = 120
Here , 120 is maximum hence solution is x1 = 0 , x2 = 6.
18
( 0 , 16 )
16
x1 = 4
14
12
10 ( 0 , 8 )
16
8 (4 , 3
)
2 (8,0)
(4 , 0 ) (12 , 0 )
(0 , 0) 2 4 6 8 10 12 14 16 18 20 X1
Lets find intersection of line (2) and (3 )
On (3) x1 = 4 hence 4× 4 + 6 x2 = 48
6 x2 = 48 – 16 = 32
32 16
x2 = =
6 3
16
Here points on the feasible region are ( 0 ,0 ), ( 4 , 0) , (4 , )and ( 0 , 8)
3
So substituting these points we get
at ( 0 , 0 ) , z = 0
at ( 4 , 0 ) , z = 6 × 4 + 12 × 0 = 24
16 16
at (4 , ), z = 6 ×4 + 12 × = 24 + 64 = 𝟖𝟖
3 3
at ( 0 , 6 ) , z = 6 × 0 + 12 × 6 = 72
16
Here , 88 is maximum hence solution is x1 = 4 and x2 =
3
18
( 0 , 15)
16 x=9
14
12
24
(0,9) ( 5
, 9)
10
y=9
8
6 15
(9 , 4
)
4
( 9 , 0) ( 12 , 0)
2
(0 , 0) 2 4 6 8 10 12 14 16 18 20 X
Lets find the points on the feasible region .
The intersection of line ( 1) and (2) gives us x = 9
and 30x +24 y = 360
30 × 9 + 24𝑦 = 360
24 y = 360 – 270 = 90
90 15
y = 24 = 4
The intersection of line ( 1) and (3) gives us y = 9
and 30x +24 y = 360
30 x + 24 × 9 = 360
30x = 360 – 216 = 144
144 24
x = 30 = 5
15 24
Here points on the feasible region are (0 ,0), (9 , 0) , (9 , ) ,( , 9 ) and (0 , 9)
4 5
So substituting these points we get
at ( 0 , 0 ) , z = 0
at ( 9 , 0) , z = 6 × 9 + 9 × 0 = 54
15 15
at (9 , ), z = 6 ×9 + 9× = 54 + 33.75 = 87.75
4 4
at ( 24
5
, 9), z = 6 ×
24
5
+9 × 9 = 28.8 + 81 = 109.8
at ( 0 , 9), z = 6 × 0 + 9 × 6 = 54
Here , 109.8 is maximum hence solution is
x = 245 and y = 9
Y
18
( 16 , 0 ) x = 10
16
14
( 12 , 0 )
12
10
y =8
8
(8,0)
6
( 10 , 4.5 )
4
2
( 10 , 0 ) ( 16 , 0 ) ( 20 , 0 )
(0 , 0) 2 4 6 8 10 12 14 16 18 20 X
The intersection of line ( 1) and (3) gives us x = 10
and 24x +32 y = 384
24 × 10 + 32𝑦 = 384
32 y = 384 – 240 = 144
144
y= = = 4.5
32
Here points on the feasible region are ( 10 , 0) , (16 , 0 ) and ( 10 , 4.5)
So substituting these points we get
at ( 10 , 0) , z = 15 × 10 + 10 × 0 = 150
at (16 , 0 ), z = 15 ×16 + 10× 0 = 240
at ( 10 , 4.5 ), z = 15 ×10 + 10 × 4.5= 150 + 45 = 195
Here , 240 is maximum hence solution is
x = 16 and y = 0
7) Max Z = 100 x + 80 y
subject to constraints
6x +4 y ≤ 7200
2x +4 y ≤ 4000
x,y≥0
Solution :-
Let us consider lines as
6x +4 y = 7200 -----------------------(1)
x 0 1800
y 1200 0
(x , y ) ( 1200 , 0 ) ( 1800 , 0 )
2x +4 y = 4000 ------------------------(2)
x 0 2000
y 1000 0
(x , y ) ( 0 , 1000 ) ( 2000 , 0 )
Let us draw the graph of the given lines
Y
1800
1600
1400
1200 ( 1200 , 0 )
1000 ( 1000, 0 )
800
( 800 , 600 )
600
400
200
( 2000 , 0 )
( 1800 , 0 )
(0 , 0) 200 400 600 800 1000 1200 1400 1600 1800 2000 X
let us solve the line ( 1) and ( 2)
by (1) – (2) we get , 6x +4 y = 7200
- 2x - 4 y = -4000
4x = 3200 , ∴ x = 800
Now substituting x = 800 in ( 2) we get 2 × 800 + 4𝑦 = 4000
4y = 4000- 1600 = 2400
∴ y = 600
Here points on the feasible region are (1800,0),(800,600 ) and (1000,0)
So substituting these points we get
at ( 1800,0) , z = 100 × 1800 + 80 × 0 = 180000
at (800,600 ), z = 100 ×800 + 80× 600 = 80000 +48000 = 128000
at ( 1000 , 0), z = 100 ×1000 + 80 × 0 = 10000
Here , 128000 is maximum hence solution is x = 800 and y = 600
Y
(0, 18 )
18
16
14
12
10 ( 0, 10 )
8
(2,6)
6
( 0, 3 )
4
(4,2)
2
(3,0) ( 12 , 0 )
(5,0)
(0 , 0) 2 4 6 8 10 12 14 16 18 20 X
By solving ( 1) and ( 3 ) we get
(1) × 5 − (3) × 3
360x +60 y = 1080
-120x - 60y = -600
240 x = 480
x=2
substituting x = 2 in (3 ) we get 40× 2 + 20y = 200
20y = 200 – 80 = 120
y=6
By solving (2) and (3) we get (2)× 5 − 6 × (3)
30x +120 y =360
-240x -120y = -1200
- 210 x = - 840
x= 4
substituting x = 4 in (3 ) we get 40× 4 + 20y = 200
20 y = 200 – 160
y=2
Here points on the feasible region are (0,18), (2 ,6), (4,2) and (12, 0)
Z = 40 x + 80 y
So substituting these points we get
at (0,18) , z = 40 × 18+ 80 × 0 = 720
at (2 ,6) , z = 40 ×2 + 80× 6 = 80 + 240 = 320
at (4,2) , z = 40 ×4 + 80 × 2 = 160 + 160 = 320
At , (12, 0) , z = 40 ×12 + 80 × 0 = 480
Here , 320 is maximum hence solution is
either x = 2 and y = 6 OR x = 4 , y = 2
160 x = 20
140
(120, 0 )
120
100
( 20 , 90 )
80
60
40 ( 60 , 30 )
( 20 , 30 ) y = 30
( 0 , 30 )
20
( 20 , 0 ) ( 80 , 0 )
(0 , 0) 20 40 60 80 100 120 140 160 180 200 X
Let us find the point of intersections .
When x = 20 , 15× 20 + 10 𝑦 = 1200
Hence , 10y = 1200 – 300 = 900
y = 90
When y = 30 , 15 x + 10 × 30 = 1200
15x = 1200-300 = 900
x = 60
Here points on the feasible region are (20,30), (60 ,30) and (20, 90) Z = 2 x +
3y
So substituting these points we get
at (20,30), z = 2 × 20 + 3 × 30 = 40 + 90 = 130
at (60 ,30), z = 2 ×60 + 3× 30 = 120 + 90 = 210
at (20, 90) , z = 2 ×20 + 3 × 90 = 40 + 270 = 310
Here , 310 is maximum hence solution is
x = 20 and y = 90
90
80
70
60 (0 , 60 )
20
10
( 20 , 0 ) ( 70 , 0 )
( 60 , 0 )
(0 , 0) 10 20 30 40 50 60 70 80 90 100 X
Let us solve (1) and (3) by (1) – 12 × (3)we get
60x + 20y = 1200
-60x - 84y = - 4200
⟹ -64y = -3000
⟹ y = 46. 875
Hence from ( 3) we get , 5x = 350- 7 × 46.875 = 21.875
⟹ x = 4.375
By solving equation (1) and (2) we get
(1) - 6× (2)
60x + 20y = 1200
-60x - 90y = -3600
- 70y = - 2400
y = 34.285
Now from (2) we get
10x +15× 34.285 = 600
x = 8.57
Here points on the feasible region are (60,0), (70 ,0) , (4.375, 46. 875)
and (8.57 ,34.285 )
Z = 40 x + 30 y
So substituting these points we get
at (60, 0), z = 40 × 60 + 30 × 0 = 240
at (70 ,0) , z = 40 ×70 + 30× 0 = 280
at (4.375, 46. 875), z = 40 ×4.375 + 30 × 46.875 = 1581.25
at (8.57 ,34.285 ) , z = 40 ×8.57 + 30 × 34.285 = 1371.35
Here , 240 is maximum hence solution is
x = 60 and y = 0
45
40
y = 10
35
30
( 0 , 25 )
25
20
( 0 , 20 )
15 (12 , 10 )
(10, 10) x = 10
10 ( 10 ,12.5 )
( 10 , 0 ) (15 , 0 ) ( 20 , 0 )
(0 , 0) 5 10 15 20 25 30 35 40 45 50 X
Let us put x = 10 and y = 10 in equation (3) to get the points on the feasible
region.
25x + 20y = 500
25 × 10 + 20𝑦 = 500
20y = 500 – 250 = 250
y = 12.5
25x + 20× 10 = 500
25x = 500 – 200 = 300
x = 12
Here points on the feasible region are (12 , 10), (10,10) and (10 , 12.5)
Z=4x+5y
At (12 , 10) , Z = 4 × 12 + 5 × 10 = 48 + 50 = 98
At (10,10) , Z = 4 × 10 + 5 × 10 = 40 + 50 = 90
At (10 , 12.5) , Z = Z = 4 × 10 + 5 × 12.5 = 104.5
Here minimum is 90 hence the optimal solution is x = 10 and y = 10
Formulation of LPP
Q1.A company produces two products P1 and P2. One unit of P1 requires 40 machine hours
and 40 labour hours . One unit of P2 requires 20 machine hours and 160 labour hours .
Availability of machine hours is 800 and of labour hours is 1600, Profit per unit of P1 and P2
is Rs 10 and Rs15 respectively, Formulate as LPP and solve by graphical method to find the
optimal solution.
Solution :-
Let us formulate this LPP
Let us suppose x and y number of P1 and P2 be produced.
Profit per unit of P1 and P2 is Rs 10 and Rs15 respectively.
Hence objective function is
Max Z = 10x + 15y subject to the constraints
Product P1 Product P2 (y) Availability
(x)
Machine Hour 40 20 800
Labour Hour 40 160 1600
Hence , we get
40x + 20y ≤ 800
40x + 160y ≤ 1600
x,y≥0
Let us find the points on the line
40x + 20y = 800-------------------------------------( 1 )
x 0 20
y 40 0
(x , y ) ( 0 , 40 ) ( 20 , 0 )
40x + 160y = 1600 --------------------------------( 2 )
x 0 40
y 10 0
(x , y ) ( 0 , 10 ) ( 40 , 0 )
Y
45
( 0 , 40 )
40
35
30
25
20
15
( 0 , 10 )
10 120 40
( , )
7 7
5
( 20 , 0 ) ( 40 , 0 )
(0 , 0) 5 10 15 20 25 30 35 40 45 50 X
175
150 ( 0 , 150 )
125
100 ( 0, 100)
50
25
( 150 , 0 ) ( 250 , 0 )
( 50 , 0 )
(0 , 0) 25 50 75 100 125 150 175 200 225 250 X
3. Two nutrients V1 and V2 are found in two foods A and B. One unit of A
contains 15 units of V1 and 20 units of V2. One unit of B contains 12 units of
V1 and 40 units of V2. Minimum daily requirement of V1 and V2 is 120 and
240 units respectively. Cost per unit of A and B is Rs 4 and Rs 6 respectively.
Formulate as LPP and solve by graphical method to find the optimal solution.
Solution :-
Let us formulate this LPP
Let us suppose x and y number of A and B be purchased.
Cost per unit of A and B is Rs 4 and Rs 6 respectively.
Hence objective function is
Min Z = 4x + 6y subject to the constraints
Food A Food B Minimum
(x) (y) Requirement
V1 15 12 120
V2 20 40 240
Hence , we get
15x + 12y ≥ 120
20x + 40y ≥ 240
x,y≥0
Let us find the points on the line
15x + 12y = 120-------------------------------------( 1 )
x 0 8
y 10 0
(x , y ) ( 0 , 10) (8,0)
16
14
12
10 ( 0 , 10 )
6 (0,6)
4 (5.333, 3.333)
(8,0) ( 12 , 0 )
(0 , 0) 2 4 6 8 10 12 14 16 18 20 X
Let us now solve the equation (1) and (2) to get the point of intersection of these
two lines .
By (1)× 4 − (2) × 3 we get
60x + 48y = 480
-60x - 120y = -720
We get , - 72 y = -240 ⟹ y = 3.333
From ( 2) 20x + 40× 3.333 = 240 ⟹ x = 5.333
Hence points on the feasible region are (0 ,10) ,( 5.33 , 3.33) , (12, 0 ) , Z = 4x +
6y
At ( 0 , 10) , Z = 4× 0 + 6 × 10 = 60
At ( 5.33 , 3.33 ) , Z = 4× 5.33 + 6 × 3.33 = 𝟒𝟏. 𝟑
At ( 12 , 0 ) , Z = 4× 12 + 6 × 0 = 48
Hence , minimum is 41.3 hence optimal solution is x = 5.33 , y = 3.33
4. A company produces two products tables and chairs. Cost per unit per table
and chair is Rs 20 and Rs 30 respectively. One unit of table requires 4 labour
hours and 3 machine hours. One unit of chair requires 5 labour hour and 4
machine hour. At least 200 labour hour and not more than 240 machine hours
should be used. At least 30 tables and 20 chairs should be produced. Formulate
as LPP and solve by graphical method to find the optimal solution.
Solution :- Let us formulate this LPP
Let us suppose x and y number of tables and chairs be produced.
Cost per unit of table and chair is Rs20 and Rs30 respectively.
Hence objective function is
Min Z = 20x + 30y subject to the constraints
Table Chair
(x) (y)
Labour hour 4 5 At least 200
Machine hours 3 4 not more than 240
Hence , we get
4x + 5y ≥ 200
3x + 4y ≤ 240
x,y≥0
Let us find the points on the line
4x + 5y = 200-------------------------------------( 1 )
x 0 50
y 40 0
(x , y ) ( 0 , 40 ) ( 50 , 0)
3x + 4y = 240--------------------------------( 2 )
x 0 80
y 60 0
(x , y ) ( 0 , 60 ) ( 80 , 0 )
Let us plot these points on the graph.
Y
90
80
70
60 ( 0 , 60 )
50
40
( 0 , 40 )
30
20
10
( 80 , 0 )
( 50 , 0 )
(0 , 0) 10 20 30 40 50 60 70 80 90 100 X
Here the lines are not intersecting and the points on the feasible region are (50 ,
0) , (80 , 0) , (0 , 40) and (0 , 60)
Objective function is Min Z = 20x + 30y
At (50 , 0) , Z = 20× 50 + 30 × 0 = 1000
At (80 , 0) , Z = 20× 80 + 30 × 0 = 1600
At (0 , 40) , Z = 20× 0 + 30 × 40 = 𝟏𝟐𝟎𝟎
At (0 , 60) , Z = 20× 0 + 30 × 60 = 1800
As 1200 is minimum hence the optimal solution is x = 0 , y = 40
Solution :-
Let us formulate this LPP
Let us suppose x and y number of P and Q be produced.
Profit per unit of P and Q is Rs 6 and Rs 12 respectively.
Hence objective function is
Max Z = 6x + 12y subject to the constraints
P Q Capacities
(x) (y)
Machine 1 4 2 32
Machine 2 4 6 48
Hence , we get
4x + 2y ≤ 32
4x + 6y ≤ 48
x≤4
x,y≥0
Let us find the points on the line
4x + 2y = 32-------------------------------------( 1 )
x 0 8
y 16 0
(x , y ) ( 0 ,16) (8,0)
4x + 6y = 48--------------------------------( 2 )
x 0 12
y 8 0
(x , y ) (0,8) ( 12 , 0 )
x= 4 ------------------------------------------(3)
Let us plot these points on the graph.
Y
18
( 0 , 16 )
16
14
x=4
12
10
8 (0,8)
6
( 4 , 5.33)
2
(4,0) (8 , 0) ( 12 , 0 )
(0 , 0) 2 4 6 8 10 12 14 16 18 20 X
Q6.ABC Ltd manufacture tables and Chairs. They have just acquired a new
workshop that can operate 48 hours a week. Production of a table will take 2
hours and chair will require 3 hours. Each table will contribute Rs 40 to profit
and a chair will contribute Rs 80 to profit. The marketing department has
determined that maximum of 15 tables and 10 chairs can be sold every week. .
Formulate as LPP and solve by graphical method to find the optimal solution.
Solution :- Let us formulate this LPP
Let us suppose x and y number of tables and chairs be produced.
Each table will contribute Rs 40 to profit and a chair will contribute Rs 80 to
profit.Hence objective function is
Max Z = 40x + 80y subject to the constraints
Table Chair Availability
(x) (y)
Production Time 2 3 48
Hence , we get
2x + 3y ≤ 48
Maximum of 15 tables and 10 chairs can be sold every week
x ≤ 15 , y ≤ 10
x,y≥0
Let us find the points on the line
2x + 3y = 48-------------------------------------( 1 )
x 0 24
y 16 0
(x , y ) ( 0 ,16) ( 24 , 0 )
x = 15 ---------------------------------------------(2)
y = 10 ---------------------------------------------(3)
Let us plot these points on the graph.
Y
27
24
x = 15
21
18
( 0 , 16 )
15
12 ( 9 , 10 )
( 0 , 10 ) y = 10
9
6 ( 15 , 6 )
3
( 24 , 0 )
( 15 , 0 )
(0 , 0) 3 6 9 12 15 18 21 24 27 30 X
To get the point of intersection let us solve (1) and (2) and then (1) and (3)
equations.
When , x = 15 , 2× 15 + 3y = 48 , y = 6
When , y = 10 , 2× 𝑥+ 3× 10 = 48 , y = 9
Hence the points on the feasible region are ( 0 , 0 ) , ( 15 , 0 ) , ( 15 , 6 ) , ( 9 , 10
) and ( 0 ,10 )
The objective function is Z = 40x + 80y
At ( 0 , 0 ) , Z = 40× 0 + 80 × 0 = 0
At ( 15 , 0 ) , Z = 40× 15 + 80 × 0 = 600
At ( 15 , 6 ) , Z = 40× 15 + 80 × 6 = 600 + 480 = 1080
At ( 9 , 10 ) , Z = 40× 9 + 80 × 10 = 360 + 800 = 𝟏𝟏𝟔𝟎
At ( 0 , 10 ) , Z = 40× 0 + 80 × 10 = 800
Hence 1160 is maximum hence optimal solution is x = 9 and y =10
Simplex Method
Working Rules for Simplex :-
(a) If some given variable is missing in the basis then we will take value of that
variable = 0
(b) For maximization optimal solution all the values of
( Cj – Zj ) ≤ 0
(c) The minimum ratio column the lesser value will be selected
as out going variable.
(d) In key column if zero is there below the key element then in new table same
row will be written without any change.
In key column if 1 is there below the key element then that old row is taken and
new key row is subtracted to for the next new table.
Solved Examples
Q1 ) Solve the problem by simplex method :-
Max Z = 10x1 + 20 x2 subject to
10x1 + 4x2 ≤ 40
6x1 + 8 x2 ≤ 48
x1 , x2 ≥ 0
Solution :- The standard form of the given LPP is
Max Z = 10x1 + 20 x2 + 0s1 + 0s2 subject to
10x1 + 4x2 + s1 + 0 s2 = 40
6x1 + 8 x2 + 0 s1 + s2 = 48
x1 , x2 , s1 , s2 ≥ 0
Cj 10 20 0 0 Minimum
Cb X B x1 x2 s1 s2 Ratio
0 s1 40 10 4 1 0 40/4 = 10
0 s2 48 6 8 0 1 48/ 8 = 𝟔 →
Zj 0 0 0 0
Cj - Zj 10 20 0 0
↑
0 s1 16 7 0 1 -1/2
20 x2 6 3/4 1 0 1/8
Zj 15 20 0 5/2
Cj - Zj -5 0 0 -5/2
Here all the values of Cj – Zj is either zero or negative hence the solution is
optimal.
Therefore , x1 = 0 ( as it is not present in the basis )
x2 = 6
and Z = 10 × 0 + 20 × 6 = 120
Calculation of Second Table First Row
(Old First Row ) – 4 × (New Second Row )
40 10 4 1 0
24 3 4 0 -½
16 7 0 1 -1/2
Calculation of Second Table Zj Row
3
First column = 0× 7 + 20 × = 15
4
Second column = 0× 0 + 20 × 1 = 20
Third column = 0× 1 + 20 × 0 = 0
−1 1 5
Fourth column = 0× ( ) + 20 × =
2 8 2
Here all the values of Cj – Zj is either zero or negative hence the solution is
optimal.
Therefore , x1 = 0 ( as it is not present in the basis )
x2 = 8
and Z = 6 × 0 + 12 × 8 = 96
Calculation of Second Table First Row
(Old First Row ) – 2 × (New Second Row )
32 4 2 1 0 0
-16 -4/3 -2 0 - 1/3 0
16 8/3 0 1 -1/3 0
Calculation of Second Table Zj Row
8 2
First column = 0× + 12 × + 0 × 1 = 8
3 3
Second column = 0× 0 + 12 × 1 + 0 × 0 = 12
Third column = 0× 1 + 12 × 0 + 0 × 0 = 0
−1 1
Fourth column = 0× ( ) + 12 × + 0 × 0 = 2
3 6
Fifth column = 0× 0 + 12 × 0 + 0 × 1 = 0
6. A firm manufactures Two products desk chairs and book shelves with help of
machinery M1 and labour. To produce one unit of desk chairs 20 machine hrs
and 50 labour hrs are required. Also to produce 1 unit of book shelves 10
machine hrs and 50 labour hrs are required. Machine hrs and labour hrs can be
utilized maximum 500 hrs and 300 hrs respectively. Let the profit per unit of
chair and shelve be Rs 100 and Rs 40 respectively Formulate the given problem
as LPP and solve it by simplex method.
Solution :-
Let us suppose x and y number of desk chairs and book shelves be
manufactured.
Let the profit per unit of chair and shelve be Rs 100 and Rs 40 respectively ,
hence
Max Z = 100x + 40 y subject to
Desk chairs(x) Book shelves (y) Availibility
Machin Hour 20 10 500
Labour Hour 50 50 300
20 x + 10 y ≤ 500
50x + 50 y ≤ 300
x,y ≥0
The standard form is
Z = 100x + 40 y + 0s1 + 0s2 subject to
20 x + 10 y + 1s1 + 0s2 = 500
50x + 50 y + 0s1 + 1s2 = 300
x , y , s1 , s2 ≥ 0
Cj 100 40 0 0 Minimum
Cb X B x y s1 s2 Ratio
0 s1 500 20 10 1 0 500/20 = 25
0 s2 300 50 50 0 1 300/50 = 6 →
Zj 0 0 0 0
Cj - Zj 100 40 0 0
↑
0 s1 380 0 -10 1 -2/5
100 X 6 1 1 0 1/50
Zj 100 100 0 2
Cj - Zj 0 -60 0 -2
As all elements of (Cj – Zj) ≤ 0 hence we got the optimal solution.
x = 6 , y = 0 and Z = 100× 6 + 40 × 0 = 𝟔𝟎𝟎
Calculation of Second Table First Row
(Old First Row ) – 20 × (New second Row )
500 20 10 1 0
-120 -20 -20 -0 -2/5
380 0 -10 1 -2/5
Calculation of Second Table Zj Row
First column = 0× 0 + 100 × 1 = 100
Second column = 0× (−10) + 100 × 1 = 100
Third column = 0× 1 + 100 × 0 = 0
−2 1
Fourth column = 0× ( ) + 100 × ( ) = 2
5 50
7. Solve the problem by simplex method :-
Max Z = 30x1 + 40x2 + 20x3 subject to
10x1 + 12x2 + 7x3 ≤ 10000
7x1 + 10x2 + 8x3 ≤ 8000
x1 + x2 + x3 ≤ 1000
x1 , x2 , x3 ≥ 0
Solution :-
Standard Form :-
Z = 30x1 + 40x2 + 20x3 + 0 s1 + 0s2 + 0s3 subject to
10x1 + 12x2 + 7x3+ 1 s1 + 0s2 + 0s3 = 10000
7x1 + 10x2 + 8x3 + 0 s1 + 1 s2 + 0s3 = 8000
x1 + x2 + x3 + 0 s1 + 0s2 + 1 s3 = 1000
x1 , x2 , x3 , s1 , s2 , s3 ≥ 0
Cj 30 40 20 0 0 0 Minimum
Cb X B x1 x2 x3 s1 s2 s3 Ratio
0 s1 100 10 12 7 1 0 0 10000/12=833.33
00
0 s2 800 7 10 8 0 1 0 8000/10= 800→
0
0 s3 100 1 1 1 0 0 1 1000/1= 1000
0
Zj 0 0 0 0 0 0
Cj – Zj 30 40 20 0 0 0
↑
0 s1 400 1.6 0 -2.6 1 -1.2 0 400/1.6 = 250→
40 x2 800 0.7 1 0.8 0 0.1 0 800/0.7=1142.85
0 s3 200 0.3 0 0.2 0 -0.1 1 200/ 0.3=666.67
Zj 28 40 32 0 4 0
Cj – Zj 2 0 -12 0 -4 0
↑
30 x1 250 1 0 -1.625 0.625 0.75 0
40 x2 625 0 1 1.9375 -0.4375 -0.425 0
0 s3 125 0 0 0.6875 -0.1875 -0.3225 1
Zj 30 40 28.75 1.25 5.5 0
Cj – Zj 0 0 -8.75 -1.25 -5.5
As all elements of (Cj – Zj) ≤ 0 hence we got the optimal solution.
x1 = 250 , x2 = 625 , x3 = 0 and Z = 30× 𝟐𝟓𝟎 + 𝟒𝟎 × 𝟔𝟐𝟓 + 𝟐𝟎 × 𝟎 =
𝟑𝟐𝟓𝟎𝟎
Here s2 is having positive value 4900 but in the key column there is no positive
term hence no out going variable . Hence the solution is unbounded or infinity.
The value of Z keeps increasing infinitely.
Calculation of Second Table second Row
(Old second Row ) – 100 ×(New first Row )
3 100 1 40 0 1
-2 -100 -0.5 -20 -0.5 0
1 0 0.5 20 -0.5 1
Calculation of Third Table first Row
(Old first Row ) – 0.2 × (New second Row )
0.02 1 0.005 0.2 0.005 0
0.01 0 -0.005 -0.2 0.005 -0.01
0.01 1 0 0 0.01 -0.01
Exercise :
Graphical Method :-
Q1. Solve by graphical method :
Max Z = 40 X1 + 80 X2
Subject to 2X1 + 2X2 ≤ 48
X1 ≤ 15
X2 ≤ 10
X1 , X2 ≥ 0
Q2. Solve by graphical method :
Min Z = 50 X1 + 20 X2
Subject to X1 + X2 ≤ 600
X1 + X2 ≥ 300
6X1 + 2X2 ≥ 1200
X1 , X2 ≥ 0
Q3.A Company produces two products X and Y . 1 unit of product X requires
12 labour hour. 1 unit of product Y requires 10 labour hour . Availability of
labour hours is 120. Minimum market demand for X is 8 and maximum market
demand for Y is 10 units. Profit per unit of X and Y is Rs 4 and Rs 6
respectively. Formulate and solve as graphical method.
Q4. A Company produces two products X and Y . 1 unit of product X requires
4 machine , 10 labour hour and 8 units of material . 1 unit of product Y requires
10 machine hour , 10 labour hour and 2 units of material. . Capacity of machine
hours and labour hours is 1000 and 1500. At least 400 units of material must be
utilized . Profit per unit of X and Y is Rs 20 and Rs 25 respectively. Formulate
and solve as graphical method.
Q5. Vitamin V1 and V2 are found in two foods F1 and F2. One unit of F1
contains 10 units of V1 and 5 units of V2. One unit of F2 contains 5 units of V1
and 15 units of V2.Minimum requirement of V1 and V2 are 200 and 300 units
respectively, Cost per unit of F1 and F2 is Rs 5 and Rs 8 respectively.
Formulate and solve as graphical method.
Simplex Method
Q1. Solve the problem by simplex method :-
Max Z = 30x1 + 30x2 subject to
3x1 + x2 ≤ 30000
x1 ≤ 8000
x2 ≤ 12000
x1 , x2 ≥ 0
Transportation Theory
Full Forms :-
IBFS = Initial Basic feasible solution
NWCR = North West Corner Rule
LCM = Least Cost Method
VAM = Vogel’s Approximate Method
MODI Method = Modified Distribution method
Q1 . What are the methods to find IBFS in a transportation problem ?
Ans :- (a) NWCR (b) LCM (c)VAM
Q2. What do you mean by unbalanced transportation problem ?
Ans :- A transportation problem is unbalanced if total supply is not equal to
total demand.
Q3. What do you mean by unbalanced transportation problem ?
Ans :- A transportation problem is prohibited or restricted when there is a
condition in the problem that transportation is not possible on one or more
routes.
Q4.Which transportation problem is known as maximization problem ?
Ans :- A transportation problem is of maximization type if the objective
function is to maximize total profit.
Q5. Which transportation problem is known as minimization problem ?
Ans :- A transportation problem is of minimization type if the objective function
is to minimization total cost.
Q6. When degeneracy occurs in a transportation problem ?
Ans :- Degeneracy occurs when in a transformation table number of allocations
are less than ( number of rows + number of columns – 1).
Q7. What do you mean by a non-degenerate solution in a transportation
problem ?
Ans :- If in a transportation table the number of allocations are equal to (
number of rows + number of columns – 1) then it is called a non degenerate
solution.
Q10. How the test of optimality is calculated in a transportation problem ?
Ans :- Testing for optimality is done by calculating u , v and Δ. Where
Occupied cell = u + v , Δ = cost – ( u + v).
Q11. How the degeneracy in an transportation problem is removed ?
Ans :- To remove degeneracy we add an imaginary entry called epsilon (𝜖 )
Q12 . Where to place epsilon (𝝐 ) ?
Ans :- Epsilon (𝜖 ) is placed in an independent cell ( a cell which does not form
any loop with other occupied cells ) with least cost .
Q13. What Transportation cost should we put in a prohibited cell ?
Ans :- No quantity can be allocate in a prohibited cell. So transportation cost for
that cell is treated as M ( infinity )
Q14. In case of unbalanced transportation problem what cost should be
given in dummy row / column ?
Ans :- In case of unbalanced transportation problem 0 is allocated as cost in all
cells of dummy row / column .
Q15.What are types of loop can be constructed in MODI method ?
Ans :- (1) Four corner loop (2) six corner loop
Q16. What is the meaning of opportunity cost (𝚫 )?
Ans :- Δ represents the change in cost for an empty cell.
Q17. When loop is constructed in a transportation problem ?
Ans :- If opportunity cost (Δ) in an unoccupied cell is negative then cost
reduction option is possible . In this case a loop is constructed from the negative
value cell.
Q18. What is test of feasibility in a transportation problem ?
Ans :- The total allocations in each row and column in an transportation table
must match with demand and supply of the row and column .
Q19. What is the formula for opportunity cost (𝚫 ) 𝐢𝐧 𝐌𝐎𝐃𝐈 𝐦𝐞𝐭𝐡𝐨𝐝 ?
Ans :- The formula for opportunity of cost = Cost – ( u + v)
Q20. How u and v variables are calculated in MODI method ?
Ans:- The formula for calculating u and v is
Cost of the cell = u + v
Q21. What is alternative optimal solution in a transportation problem ?
Ans :- Alternative optimal solution or multiple optimal solution means there are
two sets of solutions which provide the same optimal cost or optimal profit .
Q22. How to identify alternative optimal solution from a transportation
problem ?
Ans :- If there is a empty cell with zero 𝚫 value then it means that the problem
is having alternative optimal solutions .
Q23 . How to solve maximization transportation problem ?
Ans :- In case of maximization transportation problem the profit table is first
converted into regret table.
Q24. How the total cost for a particular cell in a transportation problem is
calculate ?
Ans :- Total cost in a particular cell = Unit cost × Quantity transported
Solved Example :-
Find the IBSC using (a) NWCR (b)LCM (c)VAM method
Ware Houses W1 W2 W3 W4 Supply
Plants
A 42 32 50 26 11
B 34 36 28 46 13
C 64 54 36 82 19
Demand 6 10 12 15
Solution:- Let us find the IBFS using
NWCR
Ware Houses W1 W2 W3 W4 Supply
Plants
A 42 32 50 26 11
6 5 5
B 34 36 28 46 13
5 8 8
C 64 54 36 82 19
4 15 15
Demand 6 10 5 12 4 15 43
LCM
Ware Houses W1 W2 W3 W4 Supply
Plants
A 42 32 50 26 11
11
B 34 36 28 46 13
1 12 1
C 64 54 36 82 19
5 10 4 9 4
Demand 6 10 12 15 43
5
Total cost = 26×11 + 34×1 +28×12 +64×5+ 54× 10 + 82 × 4 == 1844
VAM Method
Ware Houses W1 W2 W3 W4 Supply Row penalties
Plants
A 42 32 50 26 11 6
11
B 34 36 28 46 13 6 6 8 8
6 3 4 9 3
C 64 54 36 82 19 18 18 18 18
7 12 7
Demand 6 10 12 15 43
7 4
Column 8 4 8 20↑
Penalties 30 18 8 36↑
30↑ 18 8
18↑ 8
Example 2
A company has three plants A , B , C for which capacities 7 , 10 and 18 and its
warehouses P , Q , R and S which demands 5 ,8 ,7 and 15. Find the IBSC using
(a) NWCR (b)LCM (c)VAM method
Ware Houses P Q R S Supply
Plants
A 38 60 100 24 7
B 140 60 80 120 10
C 80 20 120 40 18
Demand 5 8 7 15
Solution :-
Let us find the IBFS using
NWCR
Ware Houses P Q R S Supply
Plants
A 38 60 100 24 7
5 2 2
B 140 60 80 120 10
6 4 4
C 80 20 120 40 18
3 15 15
Demand 5 8 7 15 35
6 3
Total cost = 38×5 + 60×2 +60×6 +80×4+ 120 × 3 + 40 × 15
= 1950
LCM Method
Ware Houses P Q R S Supply
Plants
A 38 60 100 24 7
7
B 140 60 80 120 10
3 7 3
C 80 20 120 40 18
2 8 8 10 2
Demand 5 8 7 15 35
2 8
Total cost = 24×7 + 140×3 +80×7 +80×2+ 20 × 8 + 40 × 8
= 1788
VAM Method
Ware P Q R S Supply Row penalty
Houses
Plants
A 38 60 100 24 7 14 36 76 76
2
5 2
B 140 60 80 120 10 20 20 40 40
3
7 3
C 80 20 120 40 18 20 20 80
8 10 10 ←
Demand 5 8 7 15 35
Column 42↑ 40 20 16
Penalty 40↑ 20 16
20 16
20 96↑
Total cost= 38×5 + 24×2 +80×7 +120×3+ 20 × 8 + 40 × 10
= 1758
Example 3
A company has 3 plants P1 , P2 and P3 . It supplies to 3 ware houses D1 , D2 ,
D3 . Find the optimal solution by VAM and MODI Method
P2 26 36 34 40
P3 28 28 24 60
Demand 20 95 35
Solution :- Let us find the IBFS by VAM method
vj v1 = v2 = v3 =
-10 0 -6
4) For the following transportation problem find the optimal solution using
Modified Distribution Method .
D1 D2 D3 D4 Supply
Plants
P1 10 12 9 6 70
P2 7 3 7 7 60
P3 6 6 9 11 90
Demand 60 40 60 20 220
180
Solution :- VAM Method
F2 6 11 15 12 600
F3 9 15 17 7 1000
Solution :- Here total demand matches with total supply. Hence it is a balanced
transportation problem
VAM Method
Ware W1 W2 W3 W4 Supply Row Penalties
Houses
Plants
F1 12 6 20 25 800 6 8
300 500 300 ← ←
F2 6 11 15 12 600 5 6 6 3
100 500 500 ←
F3 9 15 17 7 1000 2 2 2 10
200 800 200 ←
Demand 400 500 700 800 2400
100 200
Column 3 5 2 5
penalties 3 2 5
3 2 5
2 5
Here the rim condition is = 3 + 4 -1 = 6
As there are 6 allocations hence it is a non degenerate solution.
Modi Method :-
Ware Houses W1 W2 W3 W4 Supply Ui
Plants
F1 - 12 6 20 25 800 u1= 4
300 500 -1 + 14
F2 + 6 11 15 12 600 u2=
100 11 500 - 7 -2
F3 9 15 17 7 1000 u3= 0
1 13 200 800
Demand 400 500 700 800 2400
P2 7 13 6 11 28
P3 4 9 8 10 17
Demand 15 30 11 14 70
Solution :-
VAM method
Warehouses W1 W2 W3 W4 Supply ui
Plants
A - 100 300 140 120 500 u1= 0
𝜖 56 500 -4 +
B 160 + 140 180 20 600 u2=
164 500 144 100 - -104
C 30 174 158 162 400 u3=
200+ 200 - 88 108 -70
Demand 200 700 500 100 1500
8) There are three plants A , B and C with capacities 1200 , 800 and 2000 units.
They supply to four warehouses P , Q , R , S with demands 600 , 500 , 1400 and
500 units. The supply and demand for units with cost of transportation is given
in the table below .Find the optimal transportation cost using VAM and MODI
method.
Warehouses P Q R S
Plants
A 40 50 20 50
B 30 80 40 80
C 70 40 70 40
Solution :-
Let us find the IBFS by VAM Method
Warehouses P Q R S T Supp Row Penalties
Plants ly
A 40 50 20 50 0 1200 20 20
1200 ←
B 30 80 40 80 0 800 30 10 10 10
600 200
C 70 40 70 40 0 2000 40 0 0 30
500 500 1000
Demand 600 500 1400 500 1000 4000
Column 10 10 20 10 0
Penalties 10 10 20 10
40 40↑ 30 40
40 30 40↑
Rim condition = 3 + 5 -1 = 7
As the allocation is only 6 so rim condition is not satisfied. Therefore it is a
degenerate solution .
So let us place the 𝜖 in such a cell which is
(i) independent
(ii) have least cost
MODI Method :-
Warehouses P Q R S T Supply Ui
Plants
A 40 50 + 20 50 0 1200 u1=
30 10 1200 10 𝜖 - 0
B 30 80 - 40 80 0 800 u2
600 20 200 20 -20+ =20
C 70 40 70 40 0 2000 u3 =
60 500 50 500 1000 0
Demand 600 500 1400 500 1000 4000
Vj v1 v2 v3 v4 v5 =
=10 = 40 =20 =40 0
Now considering occupied sells we get
u1 + v3 = 20
u1 + v5 = 0
u2 + v1 = 30
u2 + v3 = 40
u3 + v2 = 40
u3 + v4 = 40
u3 + v5 = 0
let us consider , u1 = 0
Hence we get v3 = 20 , v5 = 0 ,
So , u3 = 0
And , v4 = 40
v2 = 40
u2 = 40 – 20 = 20
v1 = 30 – 20 = 10
Let us calculate cij - (ui + vj) for not occupied sells
AP = 40 – ( 0 + 10) = 30
AQ = 50 – ( 0 + 40 ) = 10
AS = 50 – ( - 20 + 40 ) = 30
BQ = 80 –( 40 + 20 ) = 20
BS = 80 –( 40 + 20 ) = 20
BT = 0 – ( 20 + 0 ) = -20
CP = 70 – ( 0 + 10 ) = 60
CR = 70 – ( 0 + 20 ) = 50
Here in BT cell we have negative hence the solution is not optimal.
S0 let us construct a 4 loop using the cells AR , AT , BR , BT
As epsilon is in one of the negative signed cells hence here we need to simply
shift epsilon from AT cell to BT cell and construct the new table.
Warehouses P Q R S T Supply Ui
Plants
A 40 50 20 50 0 1200 u1=
30 30 1200 30 20 -20
B 30 80 - 40 80 0 800 u2
600 40 200 40 𝜖 =0
C 70 40 70 40 0 2000 u3 =
40 500 30 500 1000 0
Demand 600 500 1400 500 1000 4000
Vj v1 v2 v3 v4 v5 =
=30 = 40 =40 =40 0
Now considering occupied sells we get
u1 + v3 = 20
u2 + v1 = 30
u2 + v5 = 0
u2 + v3 = 40
u3 + v2 = 40
u3 + v4 = 40
u3 + v5 = 0
let us consider , u3 = 0
Hence we get v2 = 40 , v5 = 0 , v4 = 40
So , u2 = 0
And , v3 = 40
u1 = - 40 + 20 = - 20
v1 = 30
Let us calculate cij - (ui + vj) for not occupied sells
AP = 40 – ( -20 + 30) = 30
AQ = 50 – ( -20 + 40 ) = 30
AS = 50 – ( - 20 + 40 ) = 30
AT = 0 – ( -20 + 0 ) = 20
BQ = 80 –( 40 + 0 ) = 40
BS = 80 – ( 0 + 40 ) = 40
CP = 70 – ( 0 + 30 ) = 40
CR = 70 – ( 0 + 40 ) = 30
As all the values of cij - (ui + vj) ≥ 0 then the solution is optimal solution.
Total cost = 20×1200 + 30×600 + 40×200 + 40×500 + 40× 500 + 0× 1000
= 90000
8)There are 4 plants P1 , P2 , P3 and P4 which produce 5000 , 8000 , 7000 and
10000 units. They stored in three storage L1 , L2 , L3 with capacities 7000 ,
9000 and 1800 units. The supply and demand for units with cost of
transportation is given in the table below .Find the optimal transportation cost
using VAM and MODI method.
Storage L1 L2 L3 Supply
Factory
P1 2 7 4 5000
P2 3 3 1 8000
P3 5 4 7 7000
P4 1 6 2 10000
Solution :- Here total supply = 30000 and total demand = 34000. Hence it is an
unbalanced transportation problem. Lets make the problem balanced first
Storage L1 L2 L3 Supply
Factory
P1 2 7 4 5000
P2 3 3 1 8000
P3 5 4 7 7000
P4 1 6 2 10000
P5 0 0 0 4000
VAM Method
Storage L1 L2 L3 Supply Row Penalties
Factory
P1 2 7 4 5000 2 2
5000 ←
P2 3 3 1 8000 2 2 2
8000 ←
P3 5 4 7 7000 1 1 1 1
2000 5000 2000
P4 1 6 2 10000 1 1 1 1
10000
P5 0 0 0 4000 0
4000 𝜖
Demand 7000 9000 18000 34000
2000 5000 10000
Column 1 ↑3 1
Penalties 1 1 1
2 1 1
4 2 ↑5
Here Rim Condition = m + n – 1 = 3 + 5 - 1 = 7
But number of allocation is only 6 . So it is a case of degenerate solutions. Let
us put the 𝜖 in the cell P5L3 as this independent cell is having minimum cost.
MODI Method
Storage L1 L2 L3 Supply Ui
Factory
P1 2 7 4 5000 u1 = 1
5000 6 3
P2 3 3 1 8000 u2 =1
1 2 8000
P3 - 5 + 4 7 7000 u 3= 4
2000 5000 3 2000
P4 1 6 2 10000 u4= 2
-2 4 10000
P5 0 - 0 0 4000 u5 = 0
-1 + 4000 𝜖
Demand 7000 9000 18000 34000
2000 5000 10000
Vj v1= 1 v2= 0 v3= 0
Now considering occupied sells we get
u1 + v1 = 2
u2 + v3 = 1
u3 + v1 = 5
u3 + v2 = 4
u4 + v3 = 2
u5 + v2 = 0
u5 + v3 = 0
let us consider , v3 = 0
Hence we get u2 = 1 , u4 = 2 ,
So , u5 = 0
And , v2 = 0
u3 = 4
v1 = 1
u1 = 1
Let us calculate cij - (ui + vj) for not occupied sells
P1L2 = 7 – ( 1 + 0) = 6
P1L3 = 4 – ( 1 + 0 ) = 3
P2L1 = 3 – ( 1 + 1 ) = 1
P2L2 = 3 - ( 1+ 0 ) = 2
P3L3 = 7 – ( 4 + 0 ) = 3
P4L1 = 1 – ( 2 + 1 ) = -2
P4L2 = 6 – ( 2 + 0 ) = 4
P5L1 = 0 – ( 0 + 1 ) = -1
Here in TWO cells we have negative hence the solution is not optimal. So let us
construct a 4 loop using the cells P3L1 , P3L2 , P5L2 , P5L1. As in two
negative cells we have 4000 and 2000 allocations we will select 2000 and 2000
will be added in positive cell and subtracted from the negative cells and
construct the new table.
Storage L1 L2 L3 Supply Ui
Factory
P1 2 7 4 5000 u1 = 2
5000 5 2
P2 3 3 1 8000 u2 =1
2 2 8000
P3 5 4 7 7000 u3= 4
1 7000 3
P4 + 1 6 - 2 10000 u4= 2
-1 4 10000
P5 - 0 0 0 4000 u5 = 0
2000 2000 𝜖 +
Demand 7000 9000 18000 34000
Q2) A company is transporting its units from three plants P1 , P2, P3 to four destination
centers D1 , D2 , D3 and D4. The supply and demand of units with transportation cost per
unit are given below :
Plants Destination centers Supply in
D1 D2 D3 D4 units
P1 10 11 7 4 25
P2 7 13 6 11 28
P3 4 9 8 10 17
Demand in 15 30 11 14 70
units
Find IBFS by (i) NWCR (ii) LCM and (iii) VAM method.
Q3) A company is transporting its units from three plants P1 , P2, P3 to four
destination centers D1 , D2 , D3 and D4. The supply and demand of units with
transportation cost per unit are given below :
Plants Destination centers Supply in
D1 D2 D3 D4 units
P1 12 6 20 25 400
P2 6 11 15 12 300
P3 9 15 17 7 500
Demand in 200 250 350 400
units
Find IBFS by (i) NWCR (ii) LCM and (iii) VAM method.
F2 3 9 8 3 700
F3 1 4 1 2 800
Q5). A company has three plants A , B , C for which capacities are 7 , 10 and 18
units. It has four warehouses P , Q , R , S for which demands are 5 , 8 , 7 and 15
units. Unit transportation cost is given in Rs.Find the optimal solution using
VAM and MODI method. (15M)
WH W1 W2 W3 W4
Plant
A 38 60 100 24
B 140 60 80 120
C 80 20 120 40
Q7) Supply , Demand & Unit transportation cost data is given. Find the optimal
solution using VAM and MODI method.
To W X Y Supply
From
A 16 24 24 152
B 48 72 48 164
C 24 48 72 154
Demand 144 204 82
Chapter 03
Assignment Problem :-
Definition :-
In assignment problem we allocate resources to activities on one to one
basis. Assignment problem is a special type of linear programming problem and
can be formulated as a LPP
In assignment problem we allocate resources to activities one to one
basis. The most popular and efficient method for solving an assignment problem
is Hungarian Method.
Q1. In a LPP simplex method artificial variables are used in which type of
problem ?
Ans :- In a LPP simplex method artificial variables are used in Minimization
type of problem .
Q2. Which method is used to solve minimization LPP ?
(a) Graphical Method
(b) Dual Simplex Method
(c) Big M simplex method
Q3. What are the signs used for the artificial variable coefficient M in an
LPP Problem objective function ?
Ans :- For maximization the sign of M in objective function is – ( negative)
For minimization the sign is + ( plus ).
Q4. In a LPP simplex method what is the condition for the optimal solution
?
Ans :- In a LPP simplex method the condition for the optimal solution is all Cj
- Zj value of non basic variable is either zero or positive.
Q5.How to identify multiple optimal solution in a simplex method ?
Ans :- In LPP simplex method multiple optimal solution is possible if Cj -Zj
value of non basic variable is zero.
Q6. How to identify unique optimal solution in a simplex method ?
Ans :- In LPP simplex method unique solution is possible if Cj -Zj value of all
non basic variable is non zero.
Examples :-
Four Order Assignment Problem
Q1. In a factory 4 workers are to perform 4 jobs . Cost is given in Rs
thousands. Find optimal assignment of workers and tasks. Is there
alternate optimal solution exists ? If yes show alternate solution also.
Workers Jobs
P Q R S
A 60 50 40 45
B 40 45 55 35
C 55 70 60 50
D 45 45 40 45
Column Minimization
J1 J2 J3 J4 J5
W1 8 2 6 0 5
W2 1 0 2 4 4
W3 0 2 3 5 4
W4 5 4 3 0 0
W5 6 5 0 3 2
Row Minimization :-
Executives Areas
A1 A2 A3 A4
E1 4 20 18 0
E2 24 12 22 0
E3 0 22 6 4
E4 16 0 14 8
Column Minimization :-
Executives Areas
A1 A2 A3 A4
E1 4 20 12 0
E2 24 12 16 0
E3 0 22 0 4
E4 16 0 8 8
Number of lines = 3
Order of Matrix = 4
Hence the solution is not optimal solution.
Minimum uncovered element = 4
Executives Areas
A1 A2 A3 A4
E1 0 16 8 0
E2 20 8 12 0
E3 0 22 0 8
E4 16 0 8 12
Number of lines = 4 = order of matrix
Hence the solution is optimal.
Executives Areas
A1 A2 A3 A4
E1 0 16 8 0
E2 20 8 12 0
E3 0 22 0 8
E4 16 0 8 12
Workers Machines
M1 M2 M3 M4
A 14 12 10 13
B 12 X 8 10
C 22 18 X 20
D 18 15 17 21
E 10 9 6 8
Solution :-
It is an unbalanced problem so we need to add a dummy column
Workers Machines
M1 M2 M3 M4 M5
A 14 12 10 13 0
B 12 M 8 10 0
C 22 18 M 20 0
D 18 15 17 21 0
E 10 9 6 8 0
Column Minimization :-
Workers Machines
M1 M2 M3 M4 M5
A 4 3 4 5 0
B 2 M 2 2 0
C 12 9 M 12 0
D 8 6 11 13 0
E 0 0 0 0 0
Number of lines = 2 , Order of Matrix = 5
Hence the solution is not optimal.
Minimum uncovered element = 2
Workers Machines
M1 M2 M3 M4 M5
A 2 1 2 3 0
B 0 M 0 0 0
C 10 7 M 10 0
D 6 4 9 11 0
E 0 0 0 0 2
Number of lines = 3 , Order of Matrix = 5
Hence the solution is not optimal.
Minimum uncovered element = 1
Workers Machines
M1 M2 M3 M4 M5
A 1 0 1 2 0
B 0 M 0 0 1
C 9 6 M 9 0
D 5 3 8 10 0
E 0 0 0 0 3
Number of lines = 4 , Order of Matrix = 5
Hence the solution is NOT optimal.
Min uncovered element = 3
Workers Machines
M1 M2 M3 M4 M5
A 1 0 1 2 3
B 0 M 0 0 4
C 6 3 M 6 0
D 2 0 5 7 0
E 0 0 0 0 6
Number of lines = 4 , Order of Matrix = 5
Hence the solution is NOT optimal .
Workers Machines
M1 M2 M3 M4 M5
A 0 0 0 1 3
B 0 M 0 0 5
C 5 3 M 5 0
D 3 0 4 6 0
E 0 1 0 0 7
Number of lines = 5 , Order of Matrix = 5
Hence the solution is optimal .
Workers Machines
M1 M2 M3 M4 M5
A 0 0 0 1 3
B 0 M 0 0 5
C 5 3 M 5 0
D 3 0 4 6 0
E 0 1 0 0 7
Hence assignment is as follows :
A → M1 14
B → M3 8
C → M5 0
D → M2 15
E → M4 8
Total = 45
Executives Areas
A1 A2 A3 A4
S1 0 40 100 740
S2 0 0 20 500
S3 0 0 20 500
S4 20 0 0 0
Number of Lines = 3
Order of Matrix = 4
So the solution is not optimal.
Executives Areas
A1 A2 A3 A4
S1 0 40 80 720
S2 0 0 0 480
S3 0 0 0 480
S4 40 20 0 0
Number of Lines = 4
Order of Matrix = 4
So the solution is optimal.
Executives Areas
A1 A2 A3 A4
S1 0 40 80 720
S2 0 0 0 480
S3 0 0 0 480
S4 40 20 0 0
Column Minimization
I II III IV V
A 8 8 0 M 10
B 0 0 3 5 6
C 1 M 0 4 4
D 0 4 2 0 2
E 2 0 M 6 0
Number of Lines = 4
Order of matrix = 5
The solution is not optimal.
I II III IV V
A 7 7 0 M 9
B 0 0 4 5 6
C 0 M 0 3 3
D 0 4 3 0 2
E 2 0 M 6 0
Number of Lines = 5
Order of matrix = 5
The solution is optimal.
I II III IV V
A 7 7 0 M 9
B 0 0 4 5 6
C 0 M 0 3 3
D 0 4 3 0 2
E 2 0 M 6 0
Exercise :-
1) In a plant there are 5 jobs A , B , C , D and E which are to be assigned to
5 employees P , Q , R , S and T. Cost is given in Rs. Find the optimal
assignment of employees and jobs.
Employees Jobs
A B C D E
P 320 260 350 380 400
Q 270 240 260 320 350
R 280 220 310 340 370
S 100 100 160 160 220
T 110 70 140 160 210
(Ans :- Total cost =1140)
2)The municipal corporation of a city has decided to carry out road repairs in
four main areas of the city. The company has invited tenders and 5 contractors
have sent in their bids . One road will be awarded to only one contractor. Find
the optimal assignment. Which contractor will be unsuccessful in his bid ?
Contractors Roads
R1 R2 R3 R4
C1 18 28 38 30
C2 14 34 40 38
C3 18 36 42 36
C4 20 24 36 38
C5 20 30 42 32
(Ans :- Total cost =108)
3)A company wants to appoint 4 salesman in 4 districts . Sales projection in Rs
for each salesman is given in each district. How should the company appoint the
salesman to achieve total sales ?
Salesman Districts
A B C D
C1 420 168 240 70
C2 360 336 1120 210
C3 420 240 336 84
C4 126 168 224 56
(Ans :- Total cost =1836)
4) In the modification of a plant layout of a factory BMS auto parts four new
machines M1 , M2 , M3 and M4 are to be installed in a machine shop. There are
five vacant places A , B , C , D and E which are suitable for the installation.
Because of extra large size M2 can not be placed at C and M3 can not be placed
at A. The cost of installing machines location wise in hundred rupees is as
follows. Find the optimal assignment .
A B C D E
M1 9 11 15 10 11
M2 12 9 X 10 9
M3 X 11 14 11 7
M4 14 8 12 7 8
(Ans :- Total cost = 32)
5) A company has 4 sales executives which need to be appointed on one to one
basis in 3 sales areas. Profit potential for each executive-area is given in Rs
thousands. Find optimal assignment of executives and territories to maximize
total profit. Which sales executive will remain idle ?
Territory T1 T2 T3
Executives
E1 60 67 90
E2 80 83 95
E3 70 72 82
E4 85 95 110
(Ans :- Total cost = 265)
Chapter 4
NETWORK ANALYSIS I
Basic Concepts
1) CRM = Full form is Critical Path Method
1 A 2 B 3
5 6
Types of activities
No event can be numbered until all preceding events have been numbered. For
any activity ( i , j ) , i < j .It means the number of head event is always larger
then number of tail event for every activity.
(1) Number of first event in the project = 1
(2) Delete all arrows leaving the initial node.
(3) Continue the numbering by identifying all nodes which have no incoming
arrows. Assign consecutive numbers to these nodes i.e. 2 , 3, 4 etc.
(4) Repeat step b and c until the last node.
Interdependency :-
Critical Path
Critical path is the longest path in the network diagram. It is the path with
maximum duration .
Critical Path represents the project competition time.
Project competition time = length of critical path.
Sub-Critical Path :-
Sub critical path is second longest path in the network diagram .
Critical Activities :-
Critical activities are the ones which are a part of the critical path.
ij : Activity ij
i is the number of tail event
j is the number of head event
tij is the time required for the activity I j
ESij is the earliest starting time of the activity i j
EFij is the earliest finish time of the activity i j
LSij is the latest starting time of the activity i j
LFij is the latest finishing time of the activity i j
Ei is the earliest occurrence time of the activity i
Li is the latest occurrence time of the activity i
Ej is the earliest occurrence time of the activity j
Lj is the latest occurrence time of the activity j
(1) Earliest starting time of activity is denoted by EST and defined by
EST = ESij = Ei
(2) Earliest finish time of activity is denoted by EFT and defined by
EFT = EFij = ESij + tij
(3) Latest finish time of activity is denoted by LFT and defined by
LFT = LFij = Lj
(4) Latest start time of activity is denoted by LST and defined by LST
= LSij = LFij - tij
Slack of an Event :-
Slack of an event is the amount of time by which an event can be
delayed beyond its earliest occurrence time without affecting total
project competition time .
There are two slack :
Tail Slack = Li – Ei for the tail event i
Head Slack = Lj – Ej for the head event
Float :-
Float means amount of time by which the competition of an activity
can be delayed without delaying the total project competition.
Types of floats :-
Total Floats :-It is the amount of time by which the completion of an
activity can be delayed beyond the earliest possible finishing time
without affecting total project competition time.
TF = LST- EST
Free Float :- It is the amount of time by which the completion of an
activity can be delayed beyond the earliest finishing time without
affecting earliest possible start of a subsequent activity.
FF = TF – Head Slack
Independent Float :- It is the amount of time by which the start of
an activity can be delayed with out affecting the earliest start of a
subsequent activity.
IF= FF -Tail Slack
Interfering Float :- It is that part of total float which reduces the
float of a subsequent activity.
Interfering Float = Head Slack
Advantage of CPM :-
(1) Identification of critical and non-critical activities. This helps in diverting
resources from non-critical to critical activities.
(2) Computation of floats and slacks. This helps in delaying non-critical
activities to the extent of float available.
(3) Increase in overall effectiveness and efficiency in project management.
Limitations of CPM:-
(1) CPM is based on the assumption that the time required for performing
each activity is known with certainty. This may not be true in real life
situations.
(2) CPM does not incorporate statistical analysis in determining time
estimates for activities .
(3) CPM is suitable only for situations which have definitely start and end
point.
SOLVED EXAMPLES :
Example1
A small project consists of following activities. Construct the network diagram
and find the critical path and project competition time.
3 D 5 F
A B 4 2 2
1 2 7
2 C G
3 4 E 6 3
1
Possible Paths Duration
1-2-3-5-7 ( A-B-D-F) 2+4+2+2 =10
1-2-4-6-7 ( A- C-E-G) 2+3+1+3 = 9
As 10 is maximum hence critical path is 1-2-3-5-7 with duration 10
Example 2
A small project consists of following activities. Construct the network diagram
and find the critical path and project competition time
Activities 1-2 2-3 2-4 3-5 4-6 5-7 6-7 7-8
Time 2 3 5 3 6 4 2 1
Solution :-
3 D 5 F
A B 3 4 H
1 2 3 7 8
2 C E G 1
5 4 6 6 2
Example 4
A small project consists of following activities. Construct the network diagram
and find the critical path and project competition time. Also identify sub critical
path.
Activity A B C D E F G
Preceding Activity - - A B B C, D E
Time 4 6 2 8 2 4 5
C
A 3 2 4 F
1 4 D 4 6
B 8 G
6 2 E 5 5
2
Possible Paths Duration
A–C–F 4+ 2 + 4 =10
B–D-F 6 + 8 + 4 = 18
B–E–G 6 + 2 + 5 = 13
As 18 is maximum hence critical path is B – D - F with duration 18
And 13 is the second highest so B – E – G is the sub critical path.
Example 5
A small project consists of following activities. Construct the network diagram
and find the critical path and project competition time. Also identify sub critical
path.
Activity 1-2 1-3 1-4 2-5 3-6 4-7 5-8 6-8 7-8
Time 3 4 6 5 6 5 4 7 4
Find earliest and latest starting and finishing time of each activities.
2 D 5
A 3 8 5 8 13 G
3 4
1 B 3 E 6 H 8
00 4 4 4 6 10 10 7 17 17
C I
6 4 F 7 4
6 8 5 1113
Possible Paths Duration
1–2–5-8 3+ 5 + 4 =12
1–3-6 -8 4 + 6 + 7 = 17
1–4–7-8 6 + 5 + 4 = 15
As 17 is maximum hence critical path is 1 – 3 – 6 - 8 with duration 17
2 E2 = 3 L2 = 8
3 E3 = 4 L3 = 4
4 E4 = 6 L4 = 8
5 E5 = 3 L5 = 13
6 E6 = 10 L6 = 10
7 E7 = 11 L7 = 13
8 E8 = 17 L8 = 17
Example 6
A small project consists of following activities. Construct the network diagram
and find the critical path and project competition time.
Activities Preceding Activities Time
A - 4
B - 5
C - 7
D A 6
E B 7
F C 6
G D 5
H E 8
I F 5
Find earliest and latest starting and finishing time of each activities .
2 D 5
A 4 9 6 10 15 G
4 5
1 B 3 E 6 H 8
00 5 5 5 7 12 12 8 20 20
7 C I
4 F 7 5
7 9 6 13 15
Possible Paths Duration
1 – 2 – 5 - 8 (A- D – G ) 4+ 6 + 5 =15
1–3-6 -8 (B–E–H) 5 + 7 + 8 = 20
1 – 4 – 7 - 8 ( C – F – I) 7 + 6 + 5 = 18
As 20 is maximum hence critical path is 1 – 3 – 6 – 8 ( B – E – H ) with
duration 20
Forward Pass and Backward Pass
Event Number Earliest Latest
Occurrence Occurrence
1 E1 = 0 L1 = 0
2 E2 = 4 L2 = 9
3 E3 = 5 L3 = 5
4 E4 = 7 L4 = 9
5 E5 = 10 L5 = 15
6 E6 = 12 L6 = 12
7 E7 = 13 L7 = 15
8 E8 = 20 L8 = 20
Slack of an Event :-
Slack of an event is the amount of time by which an event can be delayed
beyond its earliest occurrence time without affecting total project competition
time .
There are two slack :
Tail Slack = Li – Ei for the tail event i
Head Slack = Lj – Ej for the head event
Float :-
Float means amount of time by which the competition of an activity can be
delayed without delaying the total project competition.
Types of floats :-
Total Floats :-It is the amount of time by which the completion of an activity
can be delayed beyond the earliest possible finishing time without affecting
total project competition time.
TF = LST- EST
Free Float :- It is the amount of time by which the completion of an activity
can be delayed beyond the earliest finishing time without affecting earliest
possible start of a subsequent activity.
FF = TF – Head Slack
Independent Float :- It is the amount of time by which the start of an activity
can be delayed with out affecting the earliest start of a subsequent activity.
IF= FF -Tail Slack
Interfering Float :- It is that part of total float which reduces the float of a
subsequent activity.
Interfering Float = Head Slack
Example 7
A small project consists of following activities. Construct the network diagram
and find the critical path and project competition time.
Activity 1-2 1-3 1-4 2-5 3-6 3-7 4-6 5-8 6-9 7-8 8-9
Time 2 2 1 4 8 5 3 1 5 4 3
1. Find earliest and latest starting and finishing time of each activities.
2. Calculate , total float , free float , independent float and interfering float
3. Calculate slack of each activity.
2 F 5 H 8
A 2 2 7 4 6 11 1 11 12 K
1 B 3 E 7 I 4 3 9
0 0 2 2 2 5 7 8 1515
1 C 8 F J
4 G 6 5
1 7 3 10 10
Acti EST= EFT LST LFT= Head Tail Total Free Indep Interf
vity Ei Lj Slack Slack Float Float Float= Float=
Lj-Ej Li-Ei = LST-
=TF-HS FF-TS HS
EST
1-2 E1= 0 0+2= 7-2 = L2= 7 L2-E2 L1-E1 5 - 0 = 5 – 5 = 0 – 0 5
(2) 2 5 =5 =0 5 0 =0
1-3 E1= 0 0+2= 2-2 = L3=2 L3-E3 L1-E1 0-0 0-0 0-0 0
(2) 2 0 =0 =0 =0 =0 =0
1-4 E1= 0 0+1= 7 – 1 L4=7 L4-E4 L1-E1 6-0 = 6 – 6 = 0-0 6
(1) 1 =6 =6 =0 6 0 =0
2-5 E2= 2 2+4= 11 – L5= L5-E5 L2-E2 7-2 = 5 – 5 = 0 – 5 5
(4) 6 4 =7 11 =5 =5 5 0 = -5
3-6 E3= 2 2+8= 10-8 L6= L6-E6 L3-E3 2-2 = 0-0 0-0 0
(8) 10 =2 10 =0 =0 0
3-7 E3= 2 2+5= 8-5 L7= 8 L7-E7 L3-E3 3-2 = 1 – 1 = 0-0 1
(5) 7 =3 =1 =0 1 0 =0
4-6 E4= 1 1+3= 10-3 L6= L6-E6 L4-E4 7-1 = 6-0= 6 6-6 = 0
(3) 4 =7 10 =0 =6 6 0
5-8 E5= 6 6+1= 12-1 L8= L8-E8 L5-E5 11-6 = 5-1= 4 4-5 = 1
(1) 7 = 11 12 =1 =5 5 -1
6-9 E6= 10 10+5 15 –5 L9= L9-E9 L6-E6 10-10 0 – 0 = 0 – 0 0
(5) = 15 =10 15 =0 =0 =0 0 =0
7-8 E7= 7 7+4= 12-4 L8= L8-E8 L7-E7 8-7 = 1-1 = 0 0-1 = 1
(4) 11 =8 12 =1 =1 1 -1
8-9 E8= 11 11+3 15-3 L9= L9-E9 L8-E8 12-11 1-0 = 1 1-1 = 0
(3) =14 = 12 15 =0 =1 =1 0
Possible Paths Duration
1 – 2 – 5 - 8 - 9 (A- F- H - K – G ) 2+ 4+ 1 + 3 =10
1–3-7 -8-9 (B–E–I-K) 2+ 5 + 4+ 3 = 13
1–3–6-9(B–F–J) 2 + 8 + 5 = 15
1 – 4 – 6 -9 ( C – G – J ) 2 + 3 + 5 = 10
As 15 is maximum hence critical path is 1 – 3 – 6 - 9 ( B – F – J ) with duration
15.
Example 8
A small project consists of following activities. Construct the network diagram
and find the critical path and project competition time.
Activity A B C D E F G H
Preceding Activity - A A B B,C B D E,F
Time 8 2 4 3 6 3 1 4
1. Find earliest and latest starting and finishing time of each activities.
2. Calculate , total float , free float , independent float and interfering float
3. Calculate slack of each activity.
3 D 5 G
B 1012 3 13 21 1
1 A 2 2 3 F 7
00 8 8 8 C H 2222
4 4 E 6 4
12 12 6 18 18
Possible Paths Duration
1 – 2 – 3 - 5 - 7 (A- B- D – G ) 8+ 2+ 3 + 1 =14
1–2-3 -6-7 (A–B–F-H) 8+ 2 + 3 + 4 = 15
1 – 2 – 4 – 6 - 7 ( A- C – E – H ) 8 + 4 + 6 + 4 = 22
As 22 is maximum hence critical path is 1 – 2 – 4 – 6 - 7 ( A- C – E – H )with
duration 22
Acti EST= EFT LS LFT Head Tail Total Free Indep Interf
vity Ei T =Lj Slack Slack Float Float Float= Float=
Lj-Ej Li-Ei = =TF-HS FF-TS HS
LST-
EST
A E1 = 0 0 + 8 8-8 L2 = L2- L1- 0-0 = 0-0 = 0 0 – 0 00
1-2 =8 =0 8 E2= 0 E1 = 0 =0
(8) 0
B E2 = 8 8 + 2 12- L3= L3- L2- 10-8 = 2-2 = 0 0 – 0 2
2-3 = 10 2= 12 E3= 2 E2= 2 =0
(2) 10 0
C E2 = 8 8+4 12- L4 = L4-E4 L2- 8–8 0–0= 0–0 0
2-4 = 12 4= 12 =0 E2= = 0 0 =0
(4) 8 0
D E3 = 10+3 21- L5 = L5- L3- 18-10 8-8 = 0 0 – 2 8
3-5 10 = 13 3 = 21 E5= 8 E3= = 8 = -2
(3) 18 2
E E4 = 12+6 18- L6 = L6-E6 L4- 12 – 0–0= 0–0 0
4-6 12 = 18 6 = 18 =0 E4 = 12 = 0 0 =0
(6) 12 0
F E3 = 10+3 18- L6 = L6-E6 L3- 15 – 5–0= 5–2 0
3-6 10 = 13 3 = 18 =0 E3= 10 = 5 5 =3
(3) 15 2
G E5 = 13+1 22- L7 = L7-E7 L5- 21-13 8-0 = 8 8–8 0
5-7 13 = 14 1 = 22 =0 E5= =8 =0
(1) 21 8
H E6 = 18+4 22- L7= L7-E7 L6- 18-18 0–0= 0–0 0
6-7 18 = 22 4= 22 =0 E6 = =0 0 =0
(4) 18 0
Example 9
A small project consists of following activities. Construct the network diagram
and find the critical path and project competition time.
Activity A B C D E F
Preceding Activity - - A A,B C,D D
Time 4 2 5 3 1 2
2 C 4
A 4 4 5 9 9 1 E
1 4 3 5
00 2 D F 10 10
B 3 2
2 6
Possible Paths Duration
1 – 2 – 4 - 5 (A - C – E ) 4+ 5+ 1 =10
1-3 -4-5 (B–D-E) 2+3+1=6
1–3–5 (B–F) 2+2=4
Example 10
A small project consists of following activities. Construct the network diagram
and find the critical path and project competition time.
Activity A B C D E F G H
Preceding Activity - - - A B C D,E F
Time 3 2 4 4 2 2 8 5
1. Find earliest and latest starting and finishing time of each activities.
2. Calculate , total float , free float , independent float and interfering float
3. Calculate slack of each activity.
2
A 3 3 3 D
4
1 B 3 E 5 G 7
00 2 2 5 2 7 7 8 1515
C H
4 4 F 6 5
4 8 2 6 10
Exercise :-
Q1. A small project consists of following activities. Construct the network
diagram and find the critical path and project competition time.
Activity 1-2 1-3 2-3 2-4 2-5 3-5 4-6 5-6
Time 3 1 zero 2 5 7 4 3
Find earliest and latest starting and finishing time of each activities.
Calculate , total float , free float , independent float and interfering float
Calculate slack of each activity.
Activity A B C D E F G
Preceding Activity - A A B B,C D, E E
Time 8 2 4 3 6 3 1
Find earliest and latest starting and finishing time of each activities.
Calculate , total float , free float , independent float and interfering float
Calculate slack of each activity.
Time 4 6 4 3 3 1 2
Find earliest and latest starting and finishing time of each activities.
Calculate , total float , free float , independent float and interfering float
Calculate slack of each activity.
Solution :-
Activity Normal Crash Normal Crash Crushable Cost slope Rank
Time Time Cost Cost Limit
1-2 3 1 25 27.5 3-1=2 2.5/2=1.25 3
2-3 4 2 38 44 4-2=2 6/2=3 5
2-4 3 3 29 29 3-3=0 - -
2-5 8 7 36 37 8-7=1 1 2
3-6 4 2 28 30 4-2=2 2/2=1 2
4-6 6 4 22 23 6-4=2 1/2=0.5 1
5-7 5 4 20 24 5-4=1 4 6
6-7 3 1 18 22 3-1=2 4/2=2 4
3 E
A B 4 4
H
1 2 C 4 F 6 7
3
3 3 6
D G
8 5 5
Crashing Paths Path Path Direct cost Indirect Cost Total Cost
1-2-3-6- 1-2- 1-2-5-7
7 4-6-7
Before Crashing 14 15 16 25+38+29+36+28+22+ 1500X 3 = 4500 4500+216=4716
20+18 =216
Example 2
A small project consists of following activities
Activity Normal Crash Normal Crash
Time Time Cost Cost
1-4 10 7 20 30
1-2 8 6 15 20
2-4 5 4 8 14
2-3 6 4 11 15
3-4 Zero zero zero zero
2-5 8 5 9 15
5-6 5 4 5 8
4-6 12 8 3 4
Indirect cost is Rs 2800 per week
Find (a) Normal project completion time and cost.
(b) Optimal project completion time and optimal project cost.
(c) Minimum project completion time and minimum project cost.
Solution :-
A 4
10 C 5 E 0 I 12
1 B 2 D 3 6
8 6 G
D 5
8 5
Crashing Paths Path Path Path Direct cost Indirect Total Cost
Cost
1- 4 -6 1-2-4-6 1-2-3-4-6 1-2-5-6
Before 22 25 26 21 71 2800× 4 11200+71=
Crashing =11200 11271
Crashing 4-6 22- 25-1= 26-1= 25 21 71+ 0.25 = 71.25 11200 11200+71.25=
by 1 Day 1=21 24 11271.25
Crashing 1-2 1500 X 3000+218.25=
by one Day 2=3000 3218.25
Crashing 1-2 1500 X 3000+219.5=3
by one Day 2=3000 219.5
Crashing 5-7 1500 X 3000+224=32
and 4-6 by 2=3000 24
one Day
EXERCISE
Q1. A small project consists of following activities
Activity Normal Time Normal Cost Crash Time Crash Cost
1-2 7 1000 4 1300
1-3 8 1400 7 1440
1-4 6 750 4 900
2-5 9 1200 7 1350
3-6 5 1500 5 1500
4-7 6 1150 5 1220
5-8 4 800 3 850
6-8 4 600 1 840
7-8 4 400 3 450
Indirect cost is Rs 150 per day
Find (a) Normal project completion time and cost.
(b) Optimal project completion time and optimal project cost.
(c) Minimum project completion time and minimum project cost.
Q4) For the data given in the table below draw the network. Crash
systematically the activities and determine the optimal duration and cost.
Indirect costs is Rs 100 per week.
Activities Time Cost
Normal Crash Normal Crash
1-2 3 2 300 450
2-3 3 3 75 75
2-4 5 3 200 300
2-5 4 4 120 120
3-4 4 1 100 190
4-6 3 2 90 130
5-6 3 1 60 110
Q5) For the data given in the table below draw the network. Crash
systematically the activities and determine the optimal duration and cost.
Indirect costs is Rs 70 per day.
Activities Time Cost
Normal Crash Normal Crash
1-2 8 6 100 200
1-3 4 2 150 350
2-4 2 1 50 90
2-5 10 5 100 400
3-4 5 1 100 200
4-5 3 1 80 100
Chapter 4.3
Network Analysis III
PERT (Programme Evaluation and Review Technique)
Optimistic Time ( a )
It is the earliest possible completion time of an activity. Hence it is the shortest
time.
Pessimistic Time ( b )
It is the maximum possible time taken by an activity for completion hence it is
the longest time.
Note :-
1) Duration of the critical path = expected project completion time.
2) Calculate variance of the critical path by adding variance of all critical
activities of all critical activities.
3) SD of critical path = √varience of critical path
𝑏−𝑎
𝜎=
6
4) Z is the value which is the variable need to calculate probability of project
completion for a specific due date.
𝐷𝑢𝑒 𝑑𝑎𝑡𝑒−expected 𝑝𝑟𝑜𝑒𝑐𝑡 𝑐𝑜𝑚𝑝𝑙𝑒𝑡𝑖𝑜𝑛 𝑑𝑎𝑡𝑒
Z=
√𝑝𝑟𝑜𝑗𝑒𝑐𝑡 𝑣𝑎𝑟𝑖𝑒𝑛𝑐𝑒
𝑏−𝑎 2 (𝑏−𝑎)2
5) Variance = [ 𝜎 ]2 = [ ] =
6 36
6) Z is the value which is variable need to calculate probability of project
completion for a specific due date.
𝐷𝑢𝑒 𝐷𝑎𝑡𝑒−𝐸𝑥𝑝𝑒𝑐𝑡𝑒𝑑 𝑃𝑟𝑜𝑗𝑒𝑐𝑡 𝑐𝑜𝑚𝑝𝑙𝑒𝑡𝑖𝑡𝑖𝑜𝑛 𝐷𝑎𝑡𝑒
Z=
√𝑃𝑟𝑜𝑗𝑒𝑐𝑡 𝑉𝑎𝑟𝑖𝑎𝑛𝑐𝑒
7) Three time estimation in PERT are (i) Optimistic time (ii) Pessimistic Time
(iii)Most likely Time
8) Compare PERT And CPM
CPM PERT
In CPM there is only one time given In PERT there are three-time
for each activity estimates. Optimistic time, most
likely time and Pessimistic Time.
After drawing the network we find We draw the network using Expected
critical path which gives us project time and then we find critical path
competition time. which gives us expected project
competition time
There is no Probability information in In PERT Probability is associated
CPM. with project competition time.
There is no standard derivation and We find variance and standard
variance for activities . deviation of critical activities .
Solved Examples
Example1 : -
For a small project the given data is as follows
Activity Preceding Optimistic Activity Most Likely Pessi
Activity Time mistic Time
A - 2 4 12
B - 10 12 26
C A 8 9 10
D A 10 15 20
E A 7 7.5 11
F B, C 9 9 9
G D 3 3.5 7
H E, F, G 5 5 5
From the above information:
(i) Find probability of project completion in 32 weeks.
(ii) Find probability of project completion in 27 weeks.
(iii) Find probability of project not completing in 30 weeks.
(iv) Project completion time for 95% probability.
Solution: -
Activity Preceding Optimistic Most Pessi 𝑎+4𝑚+𝑏 𝑏−𝑎 Variance
te = SD=
6 6
Activity Activity Likely mistic =(𝑆𝐷)2
Time Time
2 + 16 + 12 12 − 2 10 100
A - 2 4 12 =5 =
6 6 6 36
10 + 48 + 26 26 − 10 16 256
B - 10 12 26 = 14 =
6 6 6 36
8 + 36 + 10 10 − 8 2 4
C A 8 9 10 =9 =
6 6 6 36
10 + 60 + 20 20 − 10 10 100
D A 10 15 20 = 15 =
6 6 6 36
7 + 30 + 11 11 − 7 4 16
E A 7 7.5 11 =8 =
6 6 6 36
8 + 36 + 10 9−9 0 0
F B, C 9 9 9 =9 =
6 6 6 36
3 + 14 + 7 7−3 4 16
G D 3 3.5 7 =4 =
6 6 6 36
H E, F, G 5 5 5 5 + 20 + 5 5−5 0 0
=5 =
6 6 6 36
D
2 15 4
A
5 E
C 9 8 4 G 6
1
H
B 5
14
F
3 9 5
Paths Duration
A- D – G – H (1 – 2 – 4 – 5 - 6) 5 + 15 + 4 + 5 = 29
A – E – H (1 – 2 – 4 – 5 - 6) 5 + 8 + 5 = 18
A - C – F – H (1 – 2 – 3 – 5 - 6) 5 + 9 +9 + 5 = 28
B – E – H (1 – 2 – 4 – 5 - 6) 4 + 9 + 5 = 28
32 −29
Z= = 1.224 = 1.22
2.449
0.5
0 1.22
(ii) P( 27 days)
27 −29 2
Z= =− = −0.816
2.449 2.449
0.5
-0.816 0
P ( Z = −0.816) = 0.2939 ( from normal distribution table )
(iii) P (not in 30 days) = 1- P(in 30 days)
P(in 30 days)
30−29 1
Z= = = 0.408
2.449 2.449
0.5
0 0.408
P ( Z = 0.408) = 0.5+ 0.1591 ( from normal distribution table )
= 0.6591
P (not in 30 days) = 1- P(in 30 days)
= 1- 0.6591
= 0.3409
(iv) Projection completion with 95% confidence limit =0.95
So under normal curve = 0.95 – 0.5 = 0.45
For that z = 1.65
𝐷𝑢𝑒 𝐷𝑎𝑡𝑒 − 𝐸𝑥𝑝 𝐷𝑎𝑡𝑒
= 1.65
𝑆𝐷
𝐷𝑢𝑒 𝐷𝑎𝑡𝑒 − 29
= 1.65
2.449
Due date = 1.65 × 2.449 + 29 = 33.04 ≅ 33 days
Example2 : -
For a small project the given data is as follows
Activity Preceding Optimistic Activity Most Likely Pessi
Activity Time mistic Time
A - 2 5 8
B - 2 5 14
C A 4 6 14
D A 5 7 15
E B, C 2 3 10
F D 3 3 3
G E 1 2 3
From the above information find the probability that the project will
complete in
(i) 18 days (ii) 21 days (iii) 16 days
(iv) find 90% assurance of the project competition date.
Solution: -
Activity Preceding Optimistic Most Pessi 𝑎+4𝑚+𝑏 𝑏−𝑎 Variance
te = SD=
6 6
Activity Activity Likely mistic =(𝑆𝐷)2
Time Time
2 + 20 + 8 8−2 6 0
A - 2 5 8 =5 =
6 6 6 36
2 + 20 + 14 14 − 2 12 144
B - 2 5 14 =6 =
6 6 6 36
4 + 24 + 14 14 − 4 10 100
C A 4 6 14 =7 =
6 6 6 36
5 + 28 + 15 15 − 5 10 100
D A 5 7 15 =8 =
6 6 6 36
2 + 12 + 10 10 − 2 4 16
E B, C 2 3 10 =4 =
6 6 6 36
3 + 12 + 3 3−3 0 0
F D 3 3 3 =3 =
6 6 6 36
1+8+3 3−1 4 16
G E 1 2 3 =2 =
6 6 6 36
2 D
4 F
8
A
3
5
C 7 6
1
G
B 2
6 E
3 5
4
Paths Duration
A- D - F 5 + 8 + 3 = 16
A–C–E–G 5+7+4+2 = 18
B–E–G 6 + 4 + 2 = 12
Hence project competition time = 18
SD = √𝑣𝑎𝑟𝑖𝑎𝑛𝑐𝑒 𝑜𝑓 𝑡ℎ𝑒 𝑐𝑟𝑖𝑡𝑖𝑐𝑎𝑙 𝑝𝑎𝑡ℎ
Now variance of the critical path = sum of variance of the critical activities
= variance of A + variance of C + variance of E + variance of G
36+100+64+4
= = 5.67
36
SD = √5.67 = 2.38
18−18
P (18 days) = P (Z = 2.38 ) = 𝑃 (𝑍 = 0) = 0.5
0.5
0.5
-0.84 0
16−18
P (16 days) = P (Z = ) = 𝑃 (𝑍 = −0.84) = 0.2995
2.38
(from normal distribution table)
21−18 3
Z= = = 1.26
2.38 2.38
0.5
0 1.26
21−18
P (21 days) = P (Z = ) = 𝑃 (𝑍 = 1.26)
2.38
= 0.5 + 𝑎𝑟𝑒𝑎 𝑏𝑒𝑡𝑤𝑒𝑒𝑛 𝑍 = 0 to Z = 1.26
= 0.5 + 0.3962
(from normal distribution table)
P ( 90% assurance ) = 0.9
Area under in one part of axis = 0.9 – 0.5 = 0.4
For area 0.4 we get z = 1.28
𝐷𝑢𝑒 𝐷𝑎𝑡𝑒 − 𝐸𝑥𝑝 𝑝𝑟𝑜𝑗𝑒𝑐𝑡 𝐶𝑜𝑚𝑝𝑙𝑒𝑡𝑖𝑡𝑖𝑜𝑛
= 1.28
𝑆𝐷
𝐷𝑢𝑒 𝐷𝑎𝑡𝑒 − 18
= 1.28
2.38
𝐷𝑢𝑒 𝐷𝑎𝑡𝑒 = 1.28 × 2.38 + 18 = 21.046 ≅ 21 days
Example 3 : -
For a small project the given data is as follows
Activity Optimistic Most Pessi
Time Likely mistic
(a) Time(m) Time(b)
1-2 1 2 3
2-3 1 4 9
2-4 1 3 5
2-5 1 2 3
3-6 1 2 9
4-7 1 2 3
5-8 2 4 8
6-7 5 7 9
7-9 3 5 7
8-9 2 3 4
Solution :-
Activity Optimistic Most Pessi 𝑡𝑒 𝑏−𝑎 Variance
SD =
𝑎 + 4𝑚 + 𝑏 6 𝑏−𝑎 2
Time Likely mistic
=( )
(a) Time(m) Time(b) = 6 6
3 E 6
3
H
B 7
3
F I 9
1 A C 7
2 4 2 5
2 3
D 2 J
3
5 G 8
3
Paths Duration
1–2–3–6–7–9 2+3+3+7+5= 20
1–2–4–7–9 2+3+2+5 = 12
1–2–5–8–9 2+2+3+3= 10
Hence the critical activities are 1 – 2 , 2 – 3 , 3 – 6 , 6 – 7 and 7 – 9 .
So the variance of the critical path
= variance (1 – 2) + variance (2 – 3) + variance (3 – 6) + variance (6 – 7) +
variance(7 – 9)
4 64 64 16 16 164
= + + + + = = 4.56
36 36 36 36 36 36
0.5
0 1.87
24−20
P (24 days) = P (Z = ) = 𝑃 (𝑍 = 1.87)
2.135
=0.5 + area between z=0 to z=1.87
= 0.5 + 0.4693 = 0.9693
(from normal distribution table)
19−20
Z= = −0.468
2.135
0.5
-0.468 0
19−20
P (19 days) = P (Z = ) = 𝑃 (𝑍 = −0.468)
2.135
= 0.5 - area between z=0 to z= - 0.468
= 0.5 - 0.1772 = 0.3228
(from normal distribution table)
P( 22 Days )
22−20
Z= = 0.936
2.135
0.5
0 0.936
P ( Z = 0.936) = 0.5+ area between z=0 to z= 0.936
= 0.5+ 0.3264 ( from normal distribution table )
= 0.8264
P (not in 22 days) = 1- P(in 22 days)
= 1- 0.8264
= 0.1736
The project competition with 75% confidence probability = 0.75
Hence area in one part = 0.75- 0.5 = 0.25
In normal distribution table area 0.2552 is for Z = 0.7
𝐷𝑢𝑒 𝐷𝑎𝑡𝑒 − 𝐸𝑥𝑝 𝑝𝑟𝑜𝑗𝑒𝑐𝑡 𝐶𝑜𝑚𝑝𝑙𝑒𝑡𝑖𝑡𝑖𝑜𝑛
= 0.7
𝑆𝐷
𝐷𝑢𝑒 𝐷𝑎𝑡𝑒 − 20
= 0.7
2.135
𝐷𝑢𝑒 𝐷𝑎𝑡𝑒 = 0.7 × 2.135 + 20 = 21.4945 ≅ 22 days
EXERCISE
Q1) For the following project draw PERT network and find expected project
completion time
Activity Preceding Optimistic Most Likely Pessimistic
Activity Time(a) Time(m) Time(b)
A - 2 4 6
B - 3 6 9
C A 1 4 7
D A 2 3 4
E B,C 1 3 5
F D 1 1 1
G E 1 2 3
Answer the following questions :-
1) Find the probability of project completion in 15 days
2) Find the probability of project completion in 12 days
3) Find the project completion time for 80% probability .
Q2) For the following project draw PERT network and find expected project
completion time
Activity Optimistic Most Likely Pessimistic
Time(a) Time(m) Time(b)
1-2 5 5 5
1-3 1 3 5
2-3 00 00 00
2-4 1 2 9
2-5 1 2 3
3-5 3 6 9
4-6 1 1.5 5
5-6 1 3 5
6-7 1 2 3
Answer the following questions :-
1) Find the probability of project completion in 18 days
2) Find the probability of project completion in 15 days
3) Find the project completion time for 90% probability .
4) ) Find the probability of project non completion in 17 days.
Q3) Three time estimates are given for each activity of following project.
(8M)
Activity Optimistic Time Most Likely Pessimistic Time
Time
1-2 1 2 3
1-3 2 3 4
1-4 1 4 7
2-4 4 8 12
2-5 2 3 10
3-6 1 2 9
4-6 4 5 6
5-6 3 3 3
(i)Draw network diagram and find total project completion time
(ii)What will be project completion time for 85% confidence of completion..( at
Z= 1.04 the table value is 0.3508)
Q4) Three time estimates are given for each activity of following project.
Activity Optimistic Time Most Likely Pessimistic Time
Time
1-2 6 6 24
1-3 6 12 18
1-4 12 12 30
2-5 6 6 6
3-5 12 30 48
4-6 12 30 42
5-6 18 30 54
(i)Draw network diagram and find total project completion time
(ii)What will be project completion time for 90% confidence of completion.( at
Z= 1.29 the table value is 0.4015)
Q5) Three time estimates are given for each activity of following project.
(8M)
Activity Optimistic Time Most Likely Pessimistic Time
Time
1-2 2 4 6
1-3 3 6 9
2-3 1 4 7
2-4 2 3 4
3-5 1 3 5
4-6 1 1 1
5-6 1 2 3
(i)Draw network diagram and find total project completion time
(ii)What will be the probability of project completion in 15 days..( at Z= 1.42
the table value is 0.4222).
Chapter 4
Game Theory
Basic Definitions :-
Game theory deals with suc business situation or problems where multiple
parties are involved in conflict through nteraction of their alternative decisions.
Teminology of Game Theory :-
(1) Player :- Various participants or decision makers are called “Players”.
(2) Strategies :- Each player has a finite number of alternatives or course of
actions available to it. These are called strategies.
(3) Play :- A play occures when each layer selects one of its strategies.
(4) Pay-off :- Pay off is the outcome of the interaction of selected strategies of
opponents in the game.
(5) Pay-off Matrix :- The table which represents the outcome of the game for
all possible combinations of interactions of opposing strategies is called Pay-
off table.
Maximim / Minimax Method
(1) Row Minima: For each row select minimum pay off value.
(2) Column Maxima: For each column select maximum pay off value.
(3) Saddle point: The saddle point occurs when in a payoff matrix
Maximin of Row = Minimax of Columns
Types of Game
1) Pure Strategy Game :- If saddle point is available in a game then that game
is called as pure strategy game.
2) Zero Sum Game :- If in a game the gains of the winner are equal to the loss
of all other players then it is called zero sum game.
3) Two person Zero Sum Game :- When there are two players with the gain of
the winner is equal to the loss of other player then it is called two person zero
sum game.
4) n person Game: - If there are more than two player it is called ‘ n person
game’.
5) Non zero Sum Game: - If players are willing to communicate and cooperate
with each other , then the objective is mutual benefit. The focus is on arriving at
right decision which benefits all the player in some way. This is called ‘non
zero sum game ‘ as the sum of gains of all players is not equal to zero.
6) Mixed Strategy Game: - If the saddle point is not available in the game then
the game is called as mixed strategy game.
Example :-
(1) Following pay off matrix refers to a two player game , player A and player
B. Find the Maximim strategy. Find Minimax strategy. What is the value of the
game ?
Player B
1 2 3 4
𝟏 500 260 200 210
𝟐 −50 −100 − 40 240
Player A [ ]
𝟑 200 400 160 −20
𝟒 250 300 100 50
Example 02
Following pay off matrix refers to a two-player game , player P and player Q.
Find the Maximim strategy. Find Minimax strategy. What is the value of the
game ?
Player B
1 2 3
𝟏 130 100 105
Player A 𝟐 [−50 −20 120 ]
3 200 80 −10
Decision Theory
Decision theory is a branch of applied mathematics that deals with the formal representation of
choices under uncertainty. It provides a framework for making decisions when outcomes are
uncertain. Decision problems are often represented using decision trees, payoff matrices, or other
graphical models. Here, I'll provide a simple example of a decision problem and how decision theory
can be applied.
Definitions: -
An event or State of Nature: -
An event or a state of nature is a phenomenon which occurs in the external environment e.g.
demand situation.
States of nature are not under the control of decision marker.
A decision or Strategy: -
A decision or a strategy is a course of action which is available to the decision maker to
encounter certain possible states of nature or events. There fore a decision or a strategy is
under the control of the decision maker.
Risk :-
A situation of Risk means the situation when respective probabilities of various states of
nature are known to the decision maker.
Uncertainty: -
A situation of uncertainty means the situation when no possibilities information is available
about possible states of nature.
Payoff: -
Payoff represents the revenue or profit associated with a particular strategy or course of
action(decision).
Regret: -
Regret represents the opportunity cost or loss associated with a particular strategy or course
of action(decision).
EOL: -
EOL = Sum of ( each probabilities × corresponding Regret )
EVPI: -
It is the maximum amount that should be spent on market research to obtain perfect
information about possible occurrence of states of nature.
Q. Explain the meaning of the concept of perfect information while taking decision
under risk .
Ans: - Perfect information means the decision maker knowns which outcome will arise.
Hence he can take the decision which best suits the outcome that is going to arise.
Solution: -
Now EMV for supply A1
= 50 × 0.15 + 300 × 0.45 − 150 × 0.25 + 50 × 0.15 = 112.5.
EMV for supply A2
=400 × 0.15 + 0 × 0.45 + 100 × 0.25 + 0 × 0.15= 85
EMV for supply A3
=−50 × 0.15 + 200 × 0.45 + 0 × 0.25 + 100 × 0.15 = 97.5.
EMV for supply A4
= 0 × 0.15 + 300 × 0.45 + 300 × 0.25 + 0 × 0.15 = 𝟐𝟏𝟎.
Hence by EMV criterion supply A4 is the optimal decision.
Now let us calculate EVPI and EPPI
EPPI = sum of (Probability × Maximum Pay off)
= 0.15 × 300 + 0.45 × 400 + 0.25 × 200 + 0.15 × 300 = 320
EVP I = EPPI – Max EMV
= 320-210
= 90
Q2. For the following pay off table find the Optimal Decision using EMV techniques.
Construct EOL table and find the optimal decision using EOL techniques.
Product Course of Action
Acceptance Probability Full Partial Minimum
Good 0.2 80 70 50
Fair 0.4 50 45 40
Poor 0.4 -25 -10 0
Solution: -
Now EMV for Full action
= 80 × 0.2 + 50 × 0.4 − 0.4 × 25 = 26.
EMV for Partial action
= 70 × 0.2 + 45 × 0.4 − 0.4 × 10 = 28
EMV for Minimum Action
= 50 × 0.2 + 40 × 0.4 − 0.4 × 0 = 26
Hence by EMV criterion Partial is the optimal decision.
Q3. A company manufactures a vaccine whose cost of production is Rs 200 and selling Price
is Rs 350 . The shelf life of the vaccine is only one month , after which it has to be disposed
off without any selling value. Possible demand situation and their respective probability are
as under :-
Demand 10 20 30 40 50
Probability 0.1 0.2 0.3 0.3 0.1
Construct and payoff table and find the Optimal Decision using EMV techniques and
calculate EPPI and EVPI. Construct EOL table and find the optimal decision using EOL
techniques.
Solution: -
C.P. = 200, S.P. = 350, Profit = 350-200= 150
Hence required payoff table
Demand 10 20 30 40 50
Supply
Probability 0.1 0.2 0.3 0.3 0.1
10 150× 10 = 150× 10 = 150×10=1500 150×10= 1500 150×10
1500 1500 =1500
20 150×10 – 150×20 = 150×20 = 3000 150×20 = 150×20 =
200×10=−500 3000 3000 3000
30 150×10 – 200× 150×20 – 150×30 = 4500 150×30 = 150×30 =
20=−2500 200×10=1000 4500 4500
40 150×10 – 200× 150×20 – 150×30 – 150×40 = 150×40 =
30 =−4500 200×20 = -1000 200×10 = 2500 6000 6000
50 150×10 – 200× 150×20 – 200× 150×30 – 200× 150×40 – 150× 50 =
40 =−6500 30 = -3000 20 = 500 200×10 = 4000 7500
Q4. A shop keeper wants to know how much stock of new product to keep for festival season
so that revenue can be optimal. Projection market demands are 100, 200, 300 or 400 units
with probabilities of 0.2 , 0.3 , 0.3 and 0.2 respectively. Hence the stock level can be 100,
200, 300 or 400 units. variable costs per unit is Rs 20 and selling price is Rs 30. Unsold
quantities can be disposed of at revenue loss of Rs 5 per unit. Construct and payoff table and
find the Optimal Decision using EMV techniques and calculate EPPI and EVPI. Construct
EOL table and find the optimal decision using EOL technique.
Solution: -
Sell price = 30, Cell Price = 20, Profit = 10
Q1. A company has under consideration three variants of new products. The variants are
Super , Excel and Ultra. It can launch only one variant in the market. Find the appropriate
decision for each of the following decision criterion using Maximim , maximax , Laplace
and Minimax regret .
Acceptance Product Variant
Super Excel Ultra
20000 60 50 35
15000 35 40 30
10000 15 25 20
5000 -10 5 10
Solution: -
Acceptance Product Variant
Super Excel Ultra
20000 60 50 35
15000 35 40 30
10000 15 25 20
5000 -10 5 10
Maximum 60 50 35
Minimum -10 5 10
Laplace Criterion
60+35+15−10
For (Super) = = 26.25
4
50+40+25+5
For (Excel) = = 30
4
35+30+20+10
For (Ultra) = = 23.75
4
Hence using Laplace criterion, optimal decision is Excel.
Regret Table
Super Excel Ultra
20000 0 10 25
15000 25 20 30
10000 45 35 40
5000 70 55 50
Maximum 70 55 50
Minimax Regret: -
Minimum of maximums = min {70, 55, 50} = 50.
Hence using minimax regret criterion, optimal decision is ultra
Q2. A company has set up following pay off table for the sales returns of their product. Three
strategies S1, S2 , S3 are identified to deal with three uncertain nature ( N1 , N2 , N3 ) .Find
the appropriate decision for each of the following decision criterion using Maximim ,
maximax , Laplace , Hurwicz ( alpha = 0.7 ) and Minimax regret .
Demand Product Variants
S1 S2 S3
N1 800 500 300
N2 350 300 100
N3 400 550 0
Solution: -
Demand Product Variants
S1 S2 S3
N1 800 500 300
N2 350 300 100
N3 400 550 0
Maximum 800 550 300
Minimum 350 300 0
Maximin = Max {350, 300, 0} = 350
Hence S1 is the optimal decision.
Laplace Criterion
800+350+400
For (S1) = = 𝟓𝟏𝟔. 𝟔𝟔𝟔
3
500+300+550
For (S2) = = 450
3
300+100+0
For (S3) = = 133.33
3
Hence using Laplace criterion, optimal decision is S1.
Q3) A company has three variants of a product and its estimated level of sales is
also given in the following payoff table. Find the appropriate decision for each
of the following decision criterion using Maximim , maximax , Laplace ,
Hurwicz ( alpha = 0.7 ) and Minimax regret .
Product Varient Estimated Sales
15000 10000 5000
V1 30 10 10
V2 40 15 5
V3 55 20 3
Solution:-
Product Estimated Sales Maximum Minimum
Varient 15000 10000 5000
V1 30 10 10 30 10
V2 40 15 5 40 5
V3 55 20 3 55 3
Laplace Criterion
30+10+10
For (V1) = = 𝟏𝟔. 𝟔𝟔
3
40+15+5
For (V2) = = 20
3
55+20+3
For (V3) = = 26
3
Hence using Laplace criterion, optimal decision is product V3.
Regert Table
Product Estimated Sales Maximum
Varient 15000 10000 5000
V1 25 45 45 45
V2 15 40 50 50
V3 0 35 52 52
Backward pass
The evaluation stage in which we calculate EMV at each event node and
selection of optimal decision alternatives at each decision node.
Solution: - S1(0.2)
5 20 20× 0.2
S1(0.2)
8 350 350× 0.2
1 3 S2(0.5) 9 300 300× 0.5 =250
A2
S3(0.3) 10 100 100× 0.3
13 0 0 × 0.3
S3(0.3)
Q2) Draw the Decision Tree for the following Data using EMV and find
optimal decision
Model Acceptance Probability Model Type
X Y Z
Excellent 0.3 120 100 60
Moderate 0.5 80 60 50
Poor 0.3 -30 -20 0
Solution: - Excellent(0.3)
5 120 120× 0.3
Excellent(0.3)
8 100 100× 0.3
1 3 Moder(0.5) 9 60 60× 0.5 = 56
Y
Poor(0.2) 10 -20 -20× 0.2
Z 4 Moder(0.5) 12 50 50 × 0.5 = 43
13 0 0 × 0.2
Poor(0.2)
Exercise
Q1) Following payoff matrix has been constructed by a company for four strategies S1 , S2 ,
S3 and S4 which can be adopted to ensure for possible states of nature N1 , N2 ,N3 and N4
Calculate EPPI ,EVPI and EOL for the given problem.
Pay- Offs
States of Nature N1 N2 N3 N4
Probabilities 0.2 0.1 0.3 0.4
Strategy S1 1200 1200 1200 1200
Strategy S2 1040 1280 1280 1280
Strategy S3 880 1080 1360 1360
Strategy S4 700 840 1080 1440
Q2) Following payoff matrix has been constructed by a company for four strategies A1 , A2 ,
A3 and A4 which can be adopted to ensure for possible states of nature N1 , N2 ,N3 and N4.
Calculate EPPI ,EVPI and EOL for the given problem.
Pay- Offs
States of Nature N1 N2 N3 N4
Probabilities 0.2 0.1 0.3 0.4
Strategy A1 600 600 600 600
Strategy A2 520 640 640 640
Strategy A3 440 540 680 680
Strategy A4 350 4200 540 720
Q3) Following payoff matrix has been constructed by a company for four strategies S1 , S2 ,
S3 and S4 which can be adopted to ensure for possible states of nature N1 , N2 ,N3 and N4.
Calculate EPPI ,EVPI and EOL for the given problem
Pay- Offs
States of N1 N2 N3 N4
Nature
Probabilities 0.1 0.3 0.5 0.1
Strategy S1 5000 5000 5000 5000
Strategy S2 4200 5200 5200 5200
Strategy S3 3400 4400 5400 5400
Strategy S4 2600 3600 4600 5600
Q5) The number of customers and the probability distribution is given for a product. The
selling price is Rs6,000 and cost price is Rs2000. Unsold item is disposed with a scrap value
Rs 1000.
Number of Customers: 100 200 300 400 500
Probability: 0.1 0.1 0.2 0.4 0.2
Construct and payoff table and find the Optimal Decision using EMV techniques and
calculate EPPI and EVPI. Construct EOL table and find the optimal decision using EOL
technique.
Q6) A Consumer goods company has set up following pay off table for the sales returns of
their product. 3 strategies are identified to deal with three uncertain states of nature. . Suggest
best action using (i) Hurwicz with coefficient a =0.7 (ii) Minimax Regrets (Iv) Laplace
Criterion.
Actions States of Nature
E1 E2 E3 E4
A1 26 26 18 22
A2 22 22 22 22
A3 13 34 18 18
A4 22 30 18 18
A5 18 20 20 18
Q7) A Pay off profits of 3 strategies corresponds to 3 states of natures given below. Suggest
best action using (i) Maximin criterion (ii) Maximax Criterion (iii) Minimax Regrets (Iv)
Laplace Criterion.
States of Nature A1 A2 A3
S1 700 500 300
S2 300 450 300
S3 150 0 300
Q8) A Pay off profits of 5 actions corresponds to 4 states of natures given below. Suggest
best action using (i) Maximin criterion (ii) Maximax Criterion (iii) Minimax Regrets (Iv)
Laplace Criterion.
Actions States of Nature
E1 E2 E3 E4
A1 26 26 18 22
A2 22 22 22 22
A3 13 34 18 18
A4 22 30 18 18
A5 18 20 20 18
Q9) In the given payoff table below is given three types of crops and their production
quantity related to amount of rainfall.
Rainfall Types of Crop
Crop 1 Crop 2 Crop 3
Substantial 7000 2500 4000
Moderate 3500 3500 4000
Light 1000 4000 3000
Draw the Decision Tree for the following Data using EMV and find optimal decision.
According to previous years data probability of substantial, moderate, and light rainfall is 0.2,
0.3 and 0.5
Q10) Faced with a new opportunity management evaluates three course of actions against
sales levels in the new market area as follows :
Sales Probability Types of Action
Operate as always Expand Built Capacity
Under 30,000 0.1 20 -20 -40
30,000 to 50,000 0.5 30 -40 0
Over 50,000 0.4 40 60 80
Draw the Decision Tree for the following Data using EMV and find optimal decision.