PERT
PERT
Unit II
Unit III
Unit IV
Unit V
UNIT-I
Linear Programming Problem
Linear programming can be used in a variety of situations.
In most of the business or economical situation, resources will be limited. The
problem there will be to make use of the available resources in such a way that
to maximise the production or to minimize the expenditure. These datas can be
formulated as linear programming models.
Formulation of LPP:
𝑀𝑎𝑥 𝑜𝑟 𝑀𝑖𝑛 𝑧 = 𝑐1 𝑥1 + 𝑐2 𝑥2 + ⋯ + 𝑐𝑛 𝑥𝑛
≤
Subject to, 𝑎11 𝑥1 + 𝑎12 𝑥2 + ⋯ + 𝑎1𝑛 𝑥𝑛 ≥ 𝑏1
=
≤
𝑎21 𝑥1 + 𝑎22 𝑥2 + ⋯ + 𝑎2𝑛 𝑥𝑛 ≥ 𝑏2
=
………….
≤
𝑎𝑚 1 𝑥1 + 𝑎𝑚 2 𝑥2 + ⋯ + 𝑎𝑚𝑛 𝑥𝑛 ≥ 𝑏𝑚 , 𝑥𝑖 ≥ 0, ∀𝑖.
=
3
Here the variables 𝑥𝑖 are called decision variables. The function z is called the
objective function and 𝑐1 , 𝑐2 … 𝑐𝑛 are called the cost variables.
Graphical Method
If the objective function z is a function of two variables then
the problem can be solved by graphical method. The procedure is as follows.
Step 2: Then we draw the lines in the plane corresponding to each equation
obtained in step 1 and non-negative restrictions.
Step 3: Then we find the permissible region(region which is common to all the
equations) for the values of the variables which is the region bounded by the
lines drawn in step 2.
Step 4: Finally we find a point in the permissible region which gives the
optimum value of the objective function.
Note:
Problem:
Find the maximum value of z to the following LPP using graphical method,
𝑀𝑎𝑥 𝑧 = 5𝑥1 + 7𝑥2 , subject to 𝑥1 + 𝑥2 ≤ 4, 3𝑥1 + 8𝑥2 ≤ 24,
Solution:
𝑥1 + 𝑥2 = 4,
10𝑥1 + 7𝑥2 = 35
Consider 𝑥1 + 𝑥2 = 4,
Put 𝑥1 = 0 => 𝑥2 = 4
and 𝑥2 = 0 => 𝑥1 = 4
Exercise:
Simplex Method
The procedure is as follows.
Step 4: Obtain the initial basic feasible solution 𝑋𝐵 = 𝐵−1 𝑏 and form the
starting simplex table.
𝑛
Step 5: Compute the net evaluation 𝑧𝑗 − 𝑐𝑗 (j=1,2,…n), where 𝑧𝑗 = 𝑗 =1 𝐶𝐵𝑖 𝑌𝑖𝑗
(i=1,2..m). If all 𝑧𝑗 − 𝑐𝑗 ≥ 0, then the initial basic feasible soln is an optimum
basic feasible solution.
Step 6: Choose the most negative 𝑧𝑗 − 𝑐𝑗 . Let it be 𝑧𝑟 − 𝑐𝑟 . If all 𝑌𝑖𝑟 < 0 then
there is an indication of unbounded solution.
𝑋 𝐵𝑖
Step 7: Compute the ratio . The (k,r)th element is called leading element or
𝑌𝑖𝑟
pivot element.
Step 8: Divide each element of the kth row by the pivot element and make all
other elements in the rth column to zero by elementary row operation.
Problem:
Solution:
𝑥1 + 𝑥2 + 𝑥3 = 2
5𝑥1 + 2𝑥2 + 𝑥4 = 10
𝐶𝑗 5 3 0 0 0 Ratio
𝐶𝐵 𝑋𝐵 𝑌𝐵 𝑌1 𝑌2 𝑌3 𝑌4 𝑌5 𝑋𝐵𝑖
𝑌𝑖𝑟
0 𝑋3 =2 𝑌3 1 1 1 0 0 2
0 𝑋4 =10 𝑌4 5 2 0 1 0 2
0 𝑋5 =12 𝑌5 2 8 0 0 1 4
𝑛
0 0 0 0 0
𝑧𝑗 = 𝐶𝐵𝑖 𝑌𝑖𝑗
𝑗 =1
𝑧𝑗 − 𝑐𝑗 -5 -3 0 0 0
First Iteration:
𝑜𝑙𝑑 𝑒𝑞𝑢𝑎𝑡𝑖𝑜𝑛
New Pivot equation=
𝑝𝑖𝑣𝑜𝑡 𝑒𝑙𝑒𝑚𝑒𝑛𝑡
𝐶𝑗 5 3 0 0 0
𝐶𝐵 𝑋𝐵 𝑌𝐵 𝑌1 𝑌2 𝑌3 𝑌4 𝑌5
5 𝑋1 =2 𝑌1 1 1 1 0 0
0 𝑋4 =0 𝑌4 0 -3 -5 1 0
0 𝑋5 =6 𝑌5 0 5 -3 0 1
𝑛
5 5 5 0 0
𝑧𝑗 = 𝐶𝐵𝑖 𝑌𝑖𝑗
𝑗 =1
𝑧𝑗 − 𝑐𝑗 0 2 5 0 0
Exercise:
Problem:
Solve the following LPP using Big-M method, 𝑀𝑖𝑛 𝑧 = 12𝑥1 + 20𝑥2 , subject
to 6𝑥1 + 8𝑥2 ≥ 100, 7𝑥1 + 12𝑥2 ≥ 120,𝑎𝑛𝑑 𝑥𝑖 ≥ 0, ∀ 𝑖 = 1,2.
Solution:
𝐶𝐵 𝑋𝐵 𝑌𝐵 𝑌1 𝑌2 𝑌3 𝑌4 𝑌5 𝑌6 𝑋𝐵𝑖
𝑌𝑖𝑟
-M 𝑋5 =100 𝑌5 6 8 -1 0 1 0 12.5
-M 𝑋6 =120 𝑌6 7 12 0 -1 0 1 10
𝑛
-13M -20M M M -M -M
𝑧𝑗 = 𝐶𝐵𝑖 𝑌𝑖𝑗
𝑗 =1
𝑧𝑗 − 𝑐𝑗 -13M+20 - M M 0 0
20M+20
First Iteration:
𝐶𝐵 𝑋𝐵 𝑌𝐵 𝑌1 𝑌2 𝑌3 𝑌4 𝑌5 𝑋𝐵𝑖
𝑌𝑖𝑟
-M 𝑋5 =20 𝑌5 4/3 0 -1 2/3 1 15
-20 𝑋2 =10 𝑌2 7/12 1 0 -1/12 0 120/7
𝑛 -4M/3-35/3 -
-20 M -M
𝑧𝑗 = 𝐶𝐵𝑖 𝑌𝑖𝑗 2M/5+5/3
𝑗 =1
𝑧𝑗 − 𝑐𝑗 -4M/3+1/3 0 M - 0
2M/5+5/3
Second Iteration:
𝐶𝑗 -12 -20 0 0
𝐶𝐵 𝑋𝐵 𝑌𝐵 𝑌1 𝑌2 𝑌3 𝑌4
-12 𝑋1 =15 𝑌1 1 0 -3/4 ½
-20 𝑋2 =5/4 𝑌2 0 1 7/16 -5/12
𝑛
-12 -20 ¼ 7/3
𝑧𝑗 = 𝐶𝐵𝑖 𝑌𝑖𝑗
𝑗 =1
𝑧𝑗 − 𝑐𝑗 0 0 ¼ 7/3
Exercise:
Problem:
Solve the following LPP using Big-M method, 𝑀𝑖𝑛 𝑧 = 60𝑥1 + 80𝑥2 , subject
to 20𝑥1 + 30𝑥2 ≥ 900, 40𝑥1 + 30𝑥2 ≥ 1200,𝑎𝑛𝑑 𝑥𝑖 ≥ 0, ∀ 𝑖 = 1,2.
Solution:
𝐶𝐵 𝑋𝐵 𝑌𝐵 𝑌1 𝑌2 𝑌3 𝑌4 𝑌5 𝑌6 𝑋𝐵𝑖
𝑌𝑖𝑟
-M 𝑋5 =900 𝑌5 20 30 -1 0 1 0 45
-M 𝑋6 =1200 𝑌6 40 30 0 -1 0 1 30
𝑛
-60M -60M M M -M -M
𝑧𝑗 = 𝐶𝐵𝑖 𝑌𝑖𝑗
𝑗 =1
𝑧𝑗 − 𝑐𝑗 -60M+60 - M M 0 0
60M+80
First Iteration:
𝐶𝐵 𝑋𝐵 𝑌𝐵 𝑌1 𝑌2 𝑌3 𝑌4 𝑌5 𝑋𝐵𝑖
𝑌𝑖𝑟
-M 𝑋5 =300 𝑌5 0 15 -1 1/2 1 20
-60 𝑋1 =30 𝑌6 1 ¾ 0 -1/40 0 40
𝑛 - -
-60 M -M
𝑧𝑗 = 𝐶𝐵𝑖 𝑌𝑖𝑗 15M-45 M/2+3/2
𝑗 =1
𝑧𝑗 − 𝑐𝑗 0 - M - 0
15M+35 M/2+3/2
Second Iteration:
𝐶𝑗 -60 -80 0 0
𝐶𝐵 𝑋𝐵 𝑌𝐵 𝑌1 𝑌2 𝑌3 𝑌4
-80 𝑋2 =20 𝑌2 0 1 -1/15 1/30
-60 𝑋1 =15 𝑌1 1 0 1/20 -1/20
𝑛
-60 -80 7/3 1/3
𝑧𝑗 = 𝐶𝐵𝑖 𝑌𝑖𝑗
𝑗 =1
𝑧𝑗 − 𝑐𝑗 0 0 7/3 1/3
Exercise:
1. Solve the following LPP using Big-M method, 𝑀𝑎𝑥 𝑧 = 2𝑥1 + 3𝑥2 ,
subject to 𝑥1 + 𝑥2 + 2𝑥3 ≤ 5, 2𝑥1 + 3𝑥2 + 4𝑥3 = 12𝑎𝑛𝑑 𝑥𝑖 ≥ 0, ∀ 𝑖 =
1,2,3.
2. Solve the following LPP using Big-M method, 𝑀𝑎𝑥 𝑧 = 4𝑥1 + 𝑥2 ,
subject to 3𝑥1 + 𝑥2 = 3, 𝑥1 + 2𝑥2 ≤ 4,4𝑥1 + 3𝑥2 ≥ 6, 𝑎𝑛𝑑 𝑥1 , 𝑥2 ≥ 0.
Duality
Every LPP associated with another LPP is called the dual of the
problem. The given problem is called primal problem. If the optimal solution
of one problem is known then the optimal solution of other is also known.
𝑀𝑎𝑥 𝑧 = 𝑐1 𝑥1 + 𝑐2 𝑥2 + ⋯ + 𝑐𝑛 𝑥𝑛
………….
𝑎𝑚 1 𝑥1 + 𝑎𝑚 2 𝑥2 + ⋯ + 𝑎𝑚𝑛 𝑥𝑛 ≤ 𝑏𝑚 , 𝑥𝑖 ≥ 0, ∀𝑖.
The above problem is called the primal problem and the variables are called
primal variables and the constraints are called primal constraints.
𝑀𝑖𝑛 𝑧 ∗ = 𝑏1 𝑦1 + 𝑏2 𝑦2 + ⋯ + 𝑏𝑚 𝑦𝑚
𝑎12 𝑦1 + 𝑎22 𝑦2 + ⋯ + 𝑎𝑚 2 𝑦𝑚 ≥ 𝑐2
………….
Here the variables are called dual variables and the constraints are called dual
constraints.
Step 3: Introduce any slack variables and obtain the starting equation.
Step 4: After finding out the initial basic feasible solution construct the starting
simplex table. In this table calculate the net evaluation 𝑧𝑗 − 𝑐𝑗 and test the
nature of 𝑧𝑗 − 𝑐𝑗 . Here the following subcases arises.
Case(ii): All 𝑧𝑗 − 𝑐𝑗 ≥ 0 and and one of XBi < 0 we go to the bnext stepo.
Step 5: Determine the leaving variable by selecting the most negative XBi . Then
𝑧 𝑗 −𝑐 𝑗
calculate the replacement ratio max
( , 𝑌𝑘𝑗 < 0) and determine the entering
𝑌𝑘𝑗
variable.
Step 6: The leaving row and the entering column intersect at a point and that
element is called pivot element.
14
Step 7: Now test for optimality and repeat the process until the optimum basic
feasible solution is obtained or there is an indication of no feasible solution.
Problem:
Solve the following LPP using Dual Simplex method, 𝑀𝑖𝑛 𝑧 = 3𝑥1 + 𝑥2 ,
subject to 𝑥1 + 𝑥2 ≥ 1, 2𝑥1 + 3𝑥2 ≥ 2, 𝑥1 , 𝑥2 ≥ 0.
Solution:
−𝑥1 − 𝑥2 + 𝑥3 = −1
−2𝑥1 − 3𝑥2 + 𝑥4 = −2
𝑥𝑖 ≥ 0, ∀ 𝑖 = 1,2,3,4.
𝐶𝑗 -3 -1 0 0
𝐶𝐵 𝑋𝐵 𝑌𝐵 𝑌1 𝑌2 𝑌3 𝑌4
0 𝑋3 =-1 𝑌3 -1 -1 1 0
0 𝑋4 =-2 𝑌4 -2 -3 0 1
𝑛
0 0 0 0
𝑧𝑗 = 𝐶𝐵𝑖 𝑌𝑖𝑗
𝑗 =1
𝑧𝑗 − 𝑐𝑗 3 1 0 0
For calculating the entering variable we find out the replacement ratio
𝑧 𝑗 −𝑐 𝑗
By max
( , 𝑌𝑘𝑗 < 0)=max(-3/2, -1/3, 0/0, 0/1)= -1/3.
𝑌𝑘𝑗
First Iteration:
𝐶𝑗 -3 -1 0 0
𝐶𝐵 𝑋𝐵 𝑌𝐵 𝑌1 𝑌2 𝑌3 𝑌4
15
0 𝑋3 =- 𝑌3 -1/3 0 1 -1/3
1/3
-1 𝑋2 =2/3 𝑌2 2/0 1 0 -1/3
𝑛
-2/3 -1 0 1/3
𝑧𝑗 = 𝐶𝐵𝑖 𝑌𝑖𝑗
𝑗 =1
𝑧𝑗 − 𝑐𝑗 7/3 0 0 1/3
𝑧 𝑗 −𝑐 𝑗
Calculate the ratio max
( , 𝑌𝑘𝑗 < 0)=max(-7, 0/0, 0/1, -1)= -1.
𝑌𝑘𝑗
Second Iteration:
𝐶𝑗 -3 -1 0 0
𝐶𝐵 𝑋𝐵 𝑌𝐵 𝑌1 𝑌2 𝑌3 𝑌4
0 𝑋4 =1 𝑌4 1 0 -3 1
-1 𝑋2 =1 𝑌2 -1/3 1 -1 0
𝑛
1/3 -1 1 0
𝑧𝑗 = 𝐶𝐵𝑖 𝑌𝑖𝑗
𝑗 =1
𝑧𝑗 − 𝑐𝑗 10/3 0 1 0
************************************
16
UNIT-II
Transportation Problems
Transportation problem is one of the subclasses of Linear
Programming problem and can be regarded as the generalization of Assignment
problem. The TP leads with the determination of minimum cost plan for
transporting a single commodity from a number of sources to a number of
destinations.
Mathematical Formulation
Let O1, O2,…,Om be the m origins and D1, D2,…,Dn be the n
destinations. Let ai be the amount of supply at the origin and bj be the demand at
destination. Let Cij be the unit transportation cost.
Subject to 𝑗 𝑥𝑖𝑗 ≤ 𝑎𝑖 ,
𝑗 𝑥𝑖𝑗 ≥ 𝑏𝑗
Step 1: Start with the cell (1,1) at the north-west corner of the transportation
table and allocate it maximum possible amount x11=min(a1,b1) so that either the
capacity of the origin O1 or the requirement for the destination D1 satisfies it or
both.
Step 2: If x11=a1, cross off the first row of the transportation table and decrease
b1 by a1 and go to step 3. If x11=b1, cross off the first column of the
transportation table and decrease a1 by b1 and go to step 3. If x11=a1= b1, cross
off either the first row or the first column(but not both).
Step 3: Repeat steps 1 and 2 for the resulting reduced transportation table until
all the requirements are satisfied.
Note:
Problem:
1 2 3 4 ai
1 10 0 20 11 15
2 12 7 9 20 25
3 0 14 16 18 5
bj 5 15 15 10 45
Solution:
1 2 3 4
ai
1 10 0 20 11 15
2 12 7 9 20 25
3 0 14 16 18 5
bj 5 15 15 1 45
2 3 4
1 0 20 11 10
2 7 9 20 25
3 14 16 18 5
5 15 10
Step 3: Third allocate in (2,2) cell. X22=min(25,5)=5
2 3 4
2 7 9 20 25
3 14 16 18 5
5 15 10
3 4
2 9 20 20
3 16 18 15
15 10
2 20 5
3 18 5
10
4
3 18 5
5
The initialz basic feasible solution is given by 𝑥11 = 5, 𝑥12 = 10, 𝑥22 = 5,
1 2 3 4
1 5 10
10 0 20 11
2 5 15 5
12 7 9 20
3 5
0 14 16 18
Minimum transportation cost=5*10+10*0+5*7+15*9+5*20+5*18=Rs.410.
Exercise:
1. Using North West Corner rule find out the initial basic feasible solution
to the following TP.
1 2 3 4 ai
1 6 4 1 5 14
2 8 9 2 7 16
3 4 3 6 2 5
bj 6 10 15 4 35
20
2. Least-Cost Method
Step 1: Determine the smallest cost in the cost matrix of the transportation table.
Let it be Cij. Allocate xij=min(ai,bj) in the (i,j) cell.
Step 2: If xij=ai cross off ith row of the transportation table and decrease bj by ai.
If xij=bj cross off jth column of the transportation table and decrease ai by bj. If
xij=ai= bj, cross off either the first row or the first column(but not both).
Step 4: Repeat steps 1 and 2 for the resulting table. Reduce transportation table
until all requirements are satisfied.
Problem:
Find an initial basic feasible solution to the following TP using Least Cost
Method.
1 2 3 4
1 10 0 20 11 15
2 12 7 9 20 25
3 0 14 16 18 5
5 15 15 10
Solution:
Step 1: 0 is the minimum element which appears in (1,2) and (3,1) cells. For the
First allocation in x12=min(15,15)=15. Cross out first row or first column.
1 2 3 4
1 10 0 20 11 15
2 12 7 9 20 25
3 0 14 16 18 5
5 15 15 1
21
1 2 3 4
2 12 7 9 20 25
3 0 14 16 18 5
5 0 15 10
2 3 4
2 7 9 20 25
3 14 16 18 0
0 15 10
3 4
2 9 20 25
3 16 18 5
15 10
2 20 10
3 18 0
10
4
2 20 10
10
The initial basic feasible solution is given by 𝑥12 = 15, 𝑥31 = 5, 𝑥22 = 0,
1 2 3 4
1 15
10 0 20 11
2 0 15 10
12 7 9 20
3 5 0
0 14 16 18
Minimum transportation cost=15*9+10*20=Rs.335.
Exercise:
1. Using Least Cost Method find out the initial basic feasible solution to the
following TP.
A1 A2 A3
P1 50 30 220 1
P2 90 45 170 3
P3 250 250 50 4
4 2 2 8
Step 1: For each row of the transportation table find the smallest cost and next
to it. Determine the difference between them for each row. Write them within
brackets along the side of the table.
23
Step 3: Identify the row or column with the largest difference. Let the greatest
difference correspond to pi and let Cij be the smallest cost in the ith row. Allocate
xij=min(ai,bj) in that cell. If xij=ai cross off ith row of the transportation table and
decrease bj by ai. If xij=bj cross off jth column of the transportation table and
decrease ai by bj. If xij=ai= bj, cross off either the first row or the first
column(but not both).
Step 4: Repeat steps 1,2 and 3 for the resulting table. Reduce transportation
table until all requirements are satisfied.
Problem:
1 2 3 4
1 10 0 20 11 15
2 12 7 9 20 25
3 0 14 16 18 5
5 15 15 10
Solution:
1 2 3 4
1 10 0 20 11 15 (10)
2 12 7 9 20 25 (2)
3 0 14 16 18 5 (14)
5 15 15 1
(10) (7) (7) (7)
24
2 3 4
1 0 20 11 15(11)
2 7 9 20 25(2)
3 14 16 18 0 (2)
15 15 10
(7) (7) (7)
3 4
1 20 11 0 (9)
2 9 20 25(11)
3 16 18 0 (2)
15 10
(7) (7)
1 11 0 (11)
2 20 10 (20)
3 18 0 (18)
10
(7)
25
2 20 10(11)
3 18 0 (18)
10
(2)
4
2 20 10(11)
10
(11)
The initial basic feasible solution is given by 𝑥12 = 15, 𝑥23 = 15, 𝑥31 = 5,
1 2 3 4
1 15 0
10 0 20 11
2 15 10
12 7 9 20
3 5 0
0 14 16 18
Minimum transportation cost=15*9+10*20=Rs.335.
Exercise:Using VAM Method find out the initial basic feasible solution to the
following TP.
1 2 3 4
1 3 1 7 4 300
2 2 6 5 9 400
26
3 8 3 3 2 500
Assignment Problems
Assignment problem is a special type of a LPP in which the
objective is to assign a number of origins to the equal number of distinct
destination at a minimum cost to find the optimum allocation of a number of
jobs to an equal number of persons.
Mathematical Formulation of AP
Let there be n machines and n jobs. A job i when processed
by machine j at a cost Cij.
1, 𝑖𝑓 𝑡𝑒 𝑖𝑡 𝑗𝑜𝑏 𝑖𝑠 𝑎𝑠𝑠𝑖𝑔𝑛𝑒𝑑 𝑡𝑜 𝑗𝑡 𝑚𝑎𝑐𝑖𝑛𝑒
𝑥𝑖𝑗 =
0, 𝑜𝑡𝑒𝑟𝑤𝑖𝑠𝑒.
𝑛 𝑛
The total assignment cost is 𝑖=1 𝑗 =1 𝐶𝑖𝑗 𝑋𝑖𝑗
𝑛 𝑛
Subject to the constraints 𝑖=1 𝑋𝑖𝑗 = 𝑗 =1 𝑋𝑖𝑗 =1
Method of Solution
The procedure for the solution of an AP is known as
Hungarian Assignment Method is as follows.
Step 1: Subtract the minimum cost of each row of the cost matrix from all the
elements of the respective row and get the resultant matrix.
Step 2: Subtract the minimum cost of each column of the cost matrix from all
the elements of the respective column and get the resultant matrix. This gives a
new cost matrix.
Step 3: In the new cost matrix draw minimum possible number of horizontal
and vertical lines to cover all the zeroes. Here two cases arises.
27
Step 4: Determine the smallest cost in the new cost matrix not covered by the
lines. Subtract this cost from all the surviving elements(uncovered by lines) of
the new cost matrix and add the same to all those elements of the new cost
matrix that are lying at the intersection of horizontal and vertical lines.
Step 5: Repeat steps 3 and 4 until we get p=n(where p denote the number of
lines and n denote order of the cost matrix).
Step 6: For determining the optimum assignment consider only the zero
elements of the final table. Examine successively the rows(or)columns of the
matrix. To find out one with exactly one zero and encircled this zero and mark a
cross in the remaining zeroes of the row or column.
Maximisation in AP
In the objective function of the given AP is a maximizing time
we converted into minimizing time as in the case of TP by selecting the largest
element among all the elements of the cost matrix and then subtracting it from
all other elements of the cost matrix. This can equivalently be done by
multiplying all the entries of the cost matrix by -1 and then proceeding as in the
case of minimizing the AP.
Problem:
1 2 3 4
1 8 26 17 11
2 13 28 4 26
3 38 19 18 15
28
4 19 26 24 10
Solution:
1 2 3 4
1 8 26 17 11
2 13 28 4 26
3 38 19 18 15
4 19 26 24 10
Step 2: Here the given matrix is a square matrix. Hence the assignment problem
is a balanced problem. Subtracting minimum cost of each row of the cost matrix
1 2 3 4
1 0 18 9 3
2 9 24 0 22
3 23 4 3 0
4 9 16 14 0
Step 3: Subtracting minimum cost of each column of the modified cost matrix
we obtain the following matrix.
1 2 3 4
1 0 14 9 3
2 9 20 0 22
29
3 23 0 3 0
4 9 12 14 0
Step 4: Drawing the minimum possible number of horizontal and vertical lines.
1 2 3 4
1 0 14 9 3
2 9 20 0 22
3 23 0 3 0
4 9 12 14 0
1 2 3 4
1 0
2 0
0
3
0
4
Exercise:
1 2 3 4 5
A 5 11 10 12 4
B 2 4 6 2 5
C 3 12 5 14 6
C 6 14 4 11 7
D 7 9 8 12 5
*************************************
UNIT III
SEQUENCING
Sequencing problem consists of selection of an appropriate order for a
finite number of jobs to be done on a finite number of machines/ service
facilities in some prescribed order so as to minimize the total idle time for the
machines. The problem may have some constraints placed on it, such as due
date for each job, processing order of each variable or variable processing
times.
Assumptions on sequencing problems
The following simplifying assumptions are usually made for sequencing
problems:
1) Each job, once started on a machine, is to be performed up to completion
on that machine.
2) The processing time on each machine is known. Such a time is
independent of the order of the jobs in which they are to be processed.
3) The time taken by each job in changing over from one machine to another
machine is negligible.
4) A job gets started on a machine as soon as the job and the machine are
both idle.
5) No machine may process more than one job simultaneously.
6) The order of completion of job has no significance (i.e) no job is to be
given priority.
31
Problem:
Determine the optimum sequence for the following sequencing problem in
which 5 jobs are done in 2 machines 𝑀1 and 𝑀2 in the order 𝑀1 𝑀2 .
Processing times are given in hours in the following table.
33
𝑀1 𝑀2
𝑱𝟏 10 4
𝑱𝟐 2 12
𝑱𝟑 18 14
𝑱𝟒 6 16
𝑱𝟓 20 6
Solution:
The minimum processing time among all the jobs in the 2 machines 𝑀1 and
𝑀2 is 2 (which is marked in under lined bold face), which correspond to the job
𝐽2 on machine 𝑀1 . Thus the job 𝐽2 is placed (sequenced) in the first position in
the sequence .
𝐽2
We are now left with 4 jobs and their processing times are given below.
Machines 𝑴𝟏 𝑴𝟐
Jobs
𝑱𝟏 10 4
𝑱𝟑 18 14
𝑱𝟒 6 16
𝑱𝟓 20 6
Among those four
jobs the minimum
processing time between the two machines is 4 which corresponds to the job 𝐽1
on machine 𝑀2 . Hence the job 𝐽1 is placed in the last position in the sequence
shown below.
𝐽2 𝐽1
The remaining 3 jobs and their processing times are given below.
Machines 𝑴𝟏 𝑴𝟐
Jobs
𝑱𝟑 18 14
34
𝑱𝟒 6 16
𝑱𝟓 20 6
The minimum processing time among these jobs is 6 which corresponds to the
job 𝐽4 on machine 𝑀1 and job 𝐽5 on machine 𝑀2 . Hence 𝐽4 is placed in the first
available position in the sequence as shown below.
𝐽2 𝐽4 𝐽5 𝐽1
𝐽2 𝐽4 𝐽3 𝐽5 𝐽1
Step 3. If both the inequalities of step 2 are not satisfied this method fails
otherwise go to step 4.
Step 4. Convert the m machines problem into a two machine problem by
introducing two fictious machines H and K such that
𝑡𝐻𝑗 = 𝑡1𝑗 + 𝑡2𝑗 + ⋯ + 𝑡𝑘−1 𝑗 and
Where 𝑡𝐻𝑗 is the processing time of 𝑗𝑡 job in machine H and 𝑡𝐾𝑗 is the
processing time of 𝑗𝑡 job in machine K.
Step 5. Determine the optimal sequence for n jobs and 2 machines sequencing
problem .
Problem :
Find the sequence that minimizes the total elapsed time required to
complete the following six jobs on three machines 𝑀1 , 𝑀2 and 𝑀3 in the order
𝑀1 ⟹ 𝑀2 ⟹ 𝑀3
Jobs⟹ 𝑱𝟏 𝑱𝟐 𝑱𝟑 𝑱𝟒 𝑱𝟓 𝑱𝟔
𝑴𝟏 3 12 5 2 9 11
Machines⟹
𝑴𝟐 8 6 4 6 3 1
𝑴𝟑 13 14 9 12 8 13
36
Solution:
We are given 6 jobs each of which is to be processed in 3 machines
𝑴𝟏 , 𝑴𝟐 , 𝑴𝟑 in the order 𝑴𝟏 𝑴𝟐 𝑴𝟑 . Hence n=6 and m=3. Hence the given
problem becomes 6 jobs in 3 machines problem. For optimum sequence the
required condition is either or both of the following conditions must be true.
𝑴𝟏 𝑴𝟐 𝑴𝟑
Minimum time 2 1 8
Maximum time 12 8 14
𝑀𝑖𝑛 𝑡1𝑗 = 2 and 𝑛 𝑡3𝑗 = 8 ; 𝑀𝑎𝑥 𝑡2𝑗 = 8
Clearly 𝑀𝑖𝑛 𝑡3𝑗 = 𝑀𝑎𝑥 𝑡2𝑗 = 8 . Hence the condition to reduce 3 machines
problem to 2 maxhines problem is satisfied. Hence the given problem can be
converted to an equivalent two machines for six jobs problem.
Let H and K be two fictious machines such that the processing times are
got from the following relations
𝐻𝑖 = 𝑀𝑖1 + 𝑀𝑖2 𝑖. 𝑒. 𝐻𝑖 = 𝑡𝐻𝑗 = 𝑡1𝑗 + 𝑡2𝑗
𝐾𝑖 = 𝑀𝑖2 + 𝑀𝑖3 𝑖. 𝑒. 𝐾𝑖 = 𝑡𝐾𝑗 = 𝑡2𝑗 + 𝑡3𝑗
Where 1 ≤ 𝑖 ≤ 6.
Hence we have the processing table for the two machines H and K.
Jobs⟹ 𝑱𝟏 𝑱𝟐 𝑱𝟑 𝑱𝟒 𝑱𝟓 𝑱𝟔
H 11 18 9 8 12 12
Machines⟹ (𝑴𝟏
+ 𝑴𝟐 )
K 21 20 13 18 11 14
𝑴𝟐 + 𝑴 𝟑 )
37
Now we find the optimum sequence of the 6 jobs in two machines H and K as
usual in the following tables.
𝐽4
𝐽4 𝐽3
𝐽4 𝐽3 𝐽1 𝐽5
𝐽4 𝐽3 𝐽1 𝐽6 𝐽5
𝐽4 𝐽3 𝐽1 𝐽6 𝐽2 𝐽5
Job 1 Sequence: A B C D
Time in Hrs: 2 3 5 2
Job 2 Sequence: D C A B
Time in Hrs: 6 2 3 1
Solution:
The graph representing the data is given below. The rectangular blocks in the
graph are obtained by pairing the same machines. The path from the origin to
the end point, which uses maximum diagonal segments, is shown in the figure.
For other details the figure is self- explanatory.
The minimum total elapsed time = Processing time for Job 1+ idle time for Job
1
=12+3=15 hours (or)
The minimum total elapsed time = Processing time for Job 2+ idle time for Job
2
=12+3=15 hours
Queueing Theory
In every life, it is seen that a number of people arrive at a cinema ticket
window. If the people arrive “too frequently” they will have to wait for getting their
tickets or sometimes do without it. Under such circumstances the only alternative is to
form a queue, called the waiting line, in order to maintain a proper discipline.
Occasionally, it also happens that the person issuing tickets wil have to wait,(i.e,
remains idle), until additional people arrive. Here the arriving people are called the
customers and the person issuing the tickets is called a server.
40
QUEUEING SYSTEM
A queuing system can be completely described by
Queuing System
(a ) The input ( or arrival pattern ). The input describes the way in which the
customers arrive and join the system. Generally, the customers arrive in a more or less
random fashion which is not worth making the prediction. Thus, the arrival patteren
can best be described in terms of probabilities and consequently the probability
distribution for inter – arrival times ( the time between two successive arrivals ) or the
distribution of number customers arriving in unit time must be defined.
(c) The queue discipline. The queue discipline is the rule determining the
formation of the queue, the manner of the customer‟s behavior while waiting, and the
manner in which they are chosen for service. The simplest discipline is “ First come,
first served”, according to which the customers are served in the order of their arrival.
For example, such type of queue discipline is observed at a ration shop, at cinema
ticket windows, at inrailway stations, etc., If the order is reversed we have the “ last
come, first served “ discipline, as in the case of a big go down the items which come
last or taken out first. An extremely difficult queue discipline to handle might be “
service in random order “ or “ might is right “.
Notations:
FIFO ⟹ First In, First Out
(ii) Reneging . This occurs when a waiting customer leaves the queue due to
impatience.
(iii) Priorities. In certain applications some customers are served before others
regardless of their order of arrival. There customers have priority over
others.
(iv) Jockeying. Customers may jockey from one waiting line to another. It may
be seen that this occurs in the supermarket.
A steady state conditions is said to prevail when the behavior of the system
becomes independent of time. Let 𝑃𝑛 (𝑡) denote the probability that there are n units
in the system at time t. In fact, the change of 𝑃𝑛 (𝑡) with respect to t is described by
𝑑𝑃𝑛 𝑡
the derivative 𝑜𝑟𝑃𝑛 ′ (𝑡). Then the queuing system is said to become „state‟
𝑑𝑡
eventually, in the sense that the probability 𝑃𝑛 (𝑡) is independent of time, that is,
remains the same as time passes (𝑡 → ∞) . Mathematically, in steady state
lim 𝑃𝑛 𝑡 = 𝑃𝑛 𝑖𝑛𝑑𝑒𝑝𝑒𝑛𝑑𝑒𝑛𝑡𝑜𝑓𝑡
𝑛→∞
𝑑𝑃𝑛 𝑡 𝑑𝑃𝑛
⟹lim𝑡→∞ =
𝑑𝑡 𝑑𝑡
⟹log 𝑡→∞ 𝑃𝑛 ′ 𝑡 = 0.
In some situations, if the arrival rate of the system is larger than its service rate, a
steady state cannot be reached regardless of the length of the elapsed time. In, fact, in
this case the queue length will increase with time and theoretically it could bulid up to
infinity. Such case is called the “ explosive state".
In this chapter, only the steady state analysis will be considered. We shall not
treat the „ transient‟ and „ explosive‟ states.
A list of symbols
43
Unless otherwise stated, the following symbols and terminology will be used
hence forth in connection with the queueing models. The reader is reminded that a
queueing that a queueing system is defined to include the queue and the service station
both.
𝑃𝑛 (𝑡)= transient state probability that exactly n calling units are in the queueing
system at time t
𝜆𝑛 = mean arrival rate ( expected number of arrivals per unit time) of customers ( when
n units are present in the system)
𝜇𝑛 =mean service rate ( expected number of customers served per unit time when
there are n units in the system )
Queue length= line length ( or queue size) – (number of units being served)
If the arrivals are completely random, then the probability distribution of number of
arrivals in a fixed time – interval follows a Poisson distribution.
Proof: In order to derive the arrival distribution in queue, we make the following three
assumptions
1. Assume that there are n units in the at time t, and the probability that exactly
one arrival will occur during small time interval ∆𝑡 be given by 𝜆∆𝑡 + 𝑜 ∆𝑡 ,
where λ is the arrival rate independent of t and O(∆𝑡) includes the terms of
higher order of ∆𝑡.
2. Further assume that the time ∆𝑡 is so small that the probability of more than
one arrival in time ∆𝑡 is 𝑂(∆𝑡)2 , i.e., almost zero.
3. The number of arrivals in non- overlapping intervals are statistically
independent, i.e., the process has independent increments.
For n>0 ,there may be two mutually exclusive ways of having n units at time
𝑡 + ∆𝑡
45
(i) There are n units in the system at time t and no arrival takes place during
time interval ∆𝑡. Hence , there will be n units at time 𝑡 + ∆𝑡 also.
Therefore, the probability of these two combined events will be = prob. Of n units
at time t x prob. of no arrival during ∆𝑡 = 𝑃𝑛 𝑡 . (1 − 𝜆∆𝑡)
(ii) Alternately, there are (n-1) units in the system at time t, and one arrival
takes place during ∆𝑡. Hence there will remain n units in the system at time
t+∆𝑡.
Therefore, the probability of these two combined events will be = prob.of (n-1)
units at time t x prob.of one arrival in time ∆𝑡
=𝑃𝑛 −1 𝑡 . 𝜆. ∆𝑡
𝑃0 𝑡 + ∆𝑡 = 𝑃0 𝑡 1 − 𝜆∆𝑡
𝑃𝑛 𝑡 + ∆𝑡 − 𝑃𝑛 𝑡
lim = −𝜆𝑃𝑛 𝑡 + 𝑃𝑛 −1 (𝑡)
∆𝑡→0 ∆𝑡
𝑃0 𝑡 + ∆𝑡 − 𝑃0 𝑡
lim = −𝜆𝑃0 𝑡
∆𝑡→0 ∆𝑡
Pn′ t = −𝜆𝑃𝑛 𝑡 + 𝜆𝑃𝑛−1 (𝑡) n>0
P 𝑧, 𝑡 = 𝑃𝑛 (𝑡)𝑧 𝑛
𝑛=0
P′ 𝑧, 𝑡 = 𝑃𝑛 ′(𝑡)𝑧 𝑛
𝑛=0
Multiplying both sides of (A) by 𝑧 𝑛 and taking summation for n=1,2,…..,∞ we get
∞ 𝑛 ∞ 𝑛 ∞ 𝑛
𝑛=0 𝑃𝑛 ′(𝑡)𝑧 =-λ 𝑛=1 𝑃𝑛 (𝑡)𝑧 +λ 𝑛=1 𝑃𝑛−1 (𝑡)𝑧
46
P′ 𝑧, 𝑡
= 𝜆(𝑧 − 1)
P 𝑧, 𝑡
Log P(z,t)=λ(z-1)t+E
Log P(z,0)=𝐸 ′
∞ 𝑛
P(z,0)= 𝑛=0 𝑧 𝑃𝑛 0
=1+0
=1
P(z,t)=𝑒 𝜆 𝑧−1 𝑡
(𝜆𝑡 )𝑛 𝑒 −𝜆𝑡
In general, 𝑃𝑛 𝑡 =
𝑛!
Model II. (General Erlang Model) . Although this model is also represented by
(M|M|I):(∞ 𝐹𝐶𝐹𝑆 , but this is a general queueing model in which the rate of
arrival and service depend on the length n of the line.
Model III this model represented by (M|M|I):(𝑁 𝐹𝐶𝐹𝑆 . In this model capacity of
the system is limited (finite) , say n. Obviously , the number of arrivals will not
exceed the number N in any case .
Model IV. This model is represented by (M|M|S):(∞ 𝐹𝐶𝐹𝑆 , in which the number
of stations is s in parallel .
Since 𝑃0 = 𝑃0
𝜆
𝑃1 = 𝑃
𝜇 0
𝜆
𝑃2 = 𝑃
𝜇 1
𝜆
𝑃𝑛 = 𝑃
𝜇 𝑛 −1
∞
Now using the fact that 𝑛=0 𝑃𝑛 =1
𝜆 𝜆
𝑃0 [1 + + ( )2 ……]=1
𝜇 𝜇
1
𝑃0 =1
1−𝜆 𝜇
=1-p
=𝜌𝑛 (1-𝜌)
Measure of Model I:
∞ 𝜆 𝑛 𝜆
= 𝑛=1 𝑛(𝜇 ) (1- )
𝜇
𝜆 𝜆 ∞ 𝜆 𝑛
= (1- ) 𝑛=1 𝑛(𝜇 ) −1
𝜇 𝜇
𝜆 𝜆 1
=(1- ) [ ]
𝜇 𝜇 1−𝜆 𝜇
𝜆
𝜇
𝜌 𝜆
𝐿𝑠 = = , 𝑤𝑒𝑟𝑒 𝜌 = < 1)
(1 − 𝜆 𝜇) 1−𝜌 𝜇
Since there are (n-1) units in the queue excluding one being serviced,
∞
𝐿𝑞 = (𝑛−1)𝑃𝑛
𝑛 =1
∞ ∞
= 𝑛=1 𝑛𝑃𝑛 - 𝑛=1 𝑃𝑛
∞ ∞
= 𝑛=1 𝑛𝑃𝑛 -[ 𝑛=1 𝑛𝑃𝑛 − 𝑃0 ]
=𝐿𝑠 = [1 − 𝑃0 ]
𝜆 𝜌2 𝜆 𝜌
𝜇
𝐿𝑞 = 𝐿𝑠 − = where 𝐿𝑠 = =
𝜇 1−𝜌 (1−𝜆 𝜇 ) 1−𝜌
𝜆 1 1
𝑊𝑠 = + =
𝜇 𝜇−𝜆 𝜇 𝜇−𝜆
By definition
50
∞ 2 ∞ 2
Var. {n}= 𝑛=1 𝑛 𝑃𝑛 −[ 𝑛=1 𝑛𝑃𝑛 ]
∞ 2 2
= 𝑛=1 𝑛 𝑃𝑛 -[𝐿𝑠 ]
∞ 2 𝜌
= 𝑛=1 𝑛 1 − 𝜌 𝜌𝑛 − [ ]2
1−𝜌
𝜌
= (1 − 𝜌)2
It can be proved under general conditions of arrival, departure, and discipline that the
formulae
𝐿𝑠 = 𝜆𝑊𝑠,
And 𝐿𝑞 = 𝜆𝑊𝑞
Will hold in general. These formulae act As key poits in establishing the strong
relationship between 𝐿𝑠 , 𝐿𝑞 , 𝑊𝑠 , 𝑊𝑞 which can be found as follows
By definition,
𝑊𝑞 = 𝑊𝑠 − 1 𝜇
𝐿𝑞 = 𝐿𝑠 − 𝜆 𝜇
This means that one of the four expected values should immediately yield the
remaining three values.
In this more realistic queueing system the customers arrive in a poission fashion with
mean arrival λ. There are s number of counters arranged in parallel, and a customer
can go tc any of the free counters for his service, where the service time at each
counter is identical and follows the same exponentioal distribution law. The mean
service rate per busy service is 𝜇. Therefore over all service rate, when there are n
units in the system may be obtained in the following two situations.
𝜇𝑛 = 𝑛𝜇, 𝑛 = 0,1,2, … . , 𝑠;
(𝑖𝑖) If 𝑛 ≥ 𝑠, all the servers are busy , maximum number of customers waiting in
queue will be (n-s), then 𝜇𝑛 = 𝑛𝜇
𝜆 𝑓𝑜𝑟 0 ≤ 𝑛 ≤ 𝑁
𝜆𝑛 =
0 𝑓𝑜𝑟 𝑛 > 𝑁
And
𝑛𝜇 𝑓𝑜𝑟 0 ≤ 𝑛 ≤ 𝑠
𝜇𝑛 =
𝑠𝜇 𝑓𝑜𝑟 𝑠 ≤ 𝑛 ≤ 𝑁
Virtually the same relationships hold between 𝑃𝑛 𝑎𝑛𝑑 𝑃0 as in model IV(A) with
infinite capacity. Therefore,
𝑃0
(𝑠𝜌)𝑛 𝑛! 𝑓𝑜𝑟 𝑜 ≤ 𝑛 ≤ 𝑠
𝑃0 = 𝑃0 𝑓𝑜𝑟 𝑠 ≤ 𝑛 ≤ 𝑁
𝑠 𝑛 𝜌𝑛 𝑠!
0 𝑓𝑜𝑟 𝑛 > 𝑁
𝑛 𝑠𝜌 𝑠
𝑠−1 𝑠𝑝 𝜆
[ 𝑛=0 𝑛! + (1 − 𝜌𝑁−𝑠+1) ]−1 , 𝜌 = ≠1
𝑠! 1−𝜌 𝑠𝜇
= 𝑠𝑝 𝑛 𝑠𝜌 𝑠 𝜆
[ 𝑠−1
𝑛=0 𝑛 ! + (𝑁 − 𝑠 + 1)]−1 , 𝜌 = =1
𝑠! 𝑠𝜇
This queueing modrl with limited waiting room is valuable because of its relevance to
many real situations and the fact that changes may be made to its properties by
adjusting the number of servers or the capacity of the waiting room. However, while
poission arrivals are common in practice, negative exponential service times are less
so , and it is the second assumption in the system M|M|s that limits its usefulness.
Example;
52
A supermarket has two girls ringing up stales at the counters. If the service time for
each customer is exponential with mean 4 minutes and if people arrive in a poission
fashion at the counter at the rate of 10 per hour, then calculate.
Solution
=[1+2/3+4/9/2x2/3]-1=1/2
(4 6 )2 .0.5
Thusprob.(W>0)= =1 6
2!(1−1 3 )
(b) The fraction of the time the service remains busy is given by 𝜌 = 𝜆 𝜇𝑠 =1/3
Theefore, the fraction of the time thee service remains idle is= (1-
1/3)=2/3=67%(nearly)
1 1 1 1
(c) (W|W>0) = . = . = 3 𝑚𝑖𝑛𝑢𝑡𝑒𝑠
1−𝜌 𝑠𝜇 1−1 3 2×1 4
**************************************
UNIT- IV
53
Inventory Control
Introduction
(5) Maximum stock : A stock level as the maximum desirable which is used
as an indicator.
(6) Reorder level: The level of stock of which culture replacement order
should be placed. The re-order level 9 independent upon the lead time
and the demand upon the lead time and the demand during the lead time .
Types of Inventory
Models:
There are two types of models can be used for inventory control.
Stochastic model exists where some of all the factors are not known with
costmity and only they are expressed with probabilities.
Inventory level
55
𝐷 1
= cs + C1
𝑄 2
(/D = GQ)
Differenhating w .r. to Q
We get
𝑑 𝐷 1
(CA) = (s + C1
𝑑𝑄 𝑄2 2
𝑑 2 C 𝐴 (𝑄) 2𝐷
= G is always posture
𝑑𝑄 2 𝑄3
𝑑 2𝐷𝐺
= 0 is given by Q2 =
𝑑𝑄 𝐶1
2𝐷𝐺
/Q=
𝐶1
𝑑2
For this value of Q, CA>0
𝑑𝑄 2
“ CA (Q) in minimum
2𝐷𝐺
When Q =
𝐺
2𝐷𝐺
/toQ us Qo =
𝐶1
2𝐷𝐺 1 2𝐷𝐺
CA (Qo) = DG + C1
2𝐷𝐶𝑠 2 𝐶1
1 1
= 2D𝐶1 𝐶𝑠 + 2D𝐶1 𝐶𝑠
2 2
= 2D𝐶1 𝐶𝑠
𝑄𝑜
The optimum time interval between order is given by to= .
𝐷
𝑄𝑜
The optimum number of orders in a year is n to = .
𝐷
Note:-
Worked Example
1. Annual demand for an item is 3200 units. The unit cent is Rs.6 and
inventory carrying changes 25% per annum. If the cost of one
procurement is Rs.150, determine.
(i) Economic order quantity.
(ii) Number of orders per year.
(iii) Time between the two consecutive order.
(iv) The optimal cost.
(v) The optimal cost
Solution:
2𝐷𝐶𝑠 2𝑥3200𝑥150
(i) EOQ is Qo = = = 800 units
𝐶1 150
57
Solution:-
Number of orders = 6
36000
Ordering quantity per order ()
5
1
= 6x25+ x6000x20
2
=150+600=Rs. 750
2𝐷𝐶𝑠 2𝑥3200𝑥150
EOQ= =
𝐶1 0.20
= 3000 units
= 3000x02=600 Rs.
36000
Total ordering cost = x 25
3000
= Rs.300
Model II
In this model we assume that the ordering quaintly is received only over a
period of time. Further is assumed that the production rate is greater than the
demand rate, otherwise there will be no inventory build up and stock only
will occur. These two assumptions are made in addition to the assumption of
model I. Let k be the production rate, r be the demand rate, otherwise there
will be no inventory build up and stock only will occur. There two
assumptions are made in addition to the consumption of model I.
Let k be the production rate, r be the demand rate. Let tbe the length of
production run rate, r be the demand rate. Let t be the length of production
run
𝑄
Total production = Q = kt t=
𝐾
59
The average height is half the height of the triangle and the height in
determined by the rate of replenishment less the demand over the
replimshment.
𝑘𝑡 𝑟𝑡
period= -
2 2
𝑘−𝑟
= G
𝑘
𝑟 𝑄 𝑟
CA(Q) = cs + (1- )G
2 𝐾
𝑑 2𝑟𝐶𝑠
CA = > 0 always
𝑑𝑎 𝑄2
𝑑 𝑟
CA = OQ2=2rCs
𝑑𝑄 𝐾−𝑟
2𝐺𝑟 (𝑘−𝑟)
=
𝐺𝐾
𝑄𝑜
The optimum time interval between orders is to
𝑟
Worked Example
A manufacturer has to supply his customer with 600 units of his product
per year. Shortages are not allowed and storage cost amounts to 60paise per
unit per unit per year. The set up cost associated with ordering 200% higher
than EOQ.
Solution
60
C1 = Rs. 0.60
2𝐷𝐺 2𝑥600𝑥80
(i) EOQ = = = 4000 units.
𝐺 0.60
(ii) The minimum average yearly cost
= QoxC1 = 4000x0.6 = Rs. 240
(iii) The optimum number of per year
D 600
= = 1.5
𝑜 400
𝑜 400 2
(iv) The optimum period of supply = = = year = 8 months.
D 600 3
20
(v) 200% of EOQ = 400 x = 80
100
600 1
= x 80 + x 480 x 0.60
480 2
Increase is cent
= Rs. 4
Assumptions
(1) Annual demand „D‟ is uniform at a rate of r units per unit time.
(2) Production is instantaneous.
(3) Zero lead time
(4) G is the inventory carrying cost per units per year.
(5) Cs is the setup cost
(6) C2 is the shortage cost per unit/yr
61
2𝐷𝐶𝑠 𝐶1 +𝐶2
Q=
𝐶1 𝐶2
𝐶2
Maximum inventory level = x and to =
𝐶1 +𝐶2 𝐷
𝐶2
Minimum cost CA () = 2𝐷𝐶1 𝐶𝑠
𝐶1 +𝐶2
Worked Example
Solution:
2𝑥1000𝑥160
(i) Minimum cost order quantity =
10
(ii) = 219 units.
∗ 219
(iii) Time between orders: f* = = x12
𝐷 1000
= 2.628 months
𝐺
v) Over all annual cent = 1000x100 2𝐷𝐶1 𝐶𝑠
𝐶1 +𝐶2
10
= 100000+ 2𝑥1000𝑥20𝑥160𝑥 = Rs.
30
1,01,306
𝑟
𝑄 ∗ 𝐶1 (1− )
𝑘
S* =
𝐶1 +𝐶2
𝑄∗
t*= , minimum cost in
𝑟
𝑟
2𝑟 𝐶1 𝐶2 𝐶𝑠 (1− )
𝑄
C* =
𝐶1 +𝐶2
Worked Example:-
1. An item is produced at the rate of 50 items per day. The demand occuss at
the rate of 25 items per day. If the setup cost is Rs.100 per set up and
holding cost is Rs. 0.01 per unit of item per day. Find the economics lot
size for one run, assumes that the shortages are not allowed. Also find
the time fo cycle and the minimum total cost of one run.
63
Solution
k = 50 perday
Cs = Rs. 100
C1 = Rs. 0.01
2𝐶𝑠𝑟 𝑘
Qo =
𝐶1 𝑘−𝑟
2𝑥100𝑥25 50
Q* = = 100 units
0.01 50−25
𝑄∗ 1000
t* = = = 40 days
𝑟 25
𝑘
CA (Q*) = 24𝐺𝐶𝑠
𝑘−𝑟
50−25
= 2𝑥25𝑥0.01𝑥100 = Rs.5
50
Model V- Price Breaks Model we consider the case that the unit price
vary with ordering quantity usually some discoints in unit price are offered
to encourage having large purchasing quantity. Above the rates of discoint
may vary depending on the purchasing quantity. These types of inventory
models or prove break models. The general pattern of price breaks is given
in the following table showing the ordering quantity and the price breaks.
0{1<b1 P1
b1{2<b2 P2
b2{3<b3 P3
------------ -----
Bn-1{n<bn Pn
64
Hence P1>P2……..>Pn. The price of item falls as the ordering quantity is b1b2., bn-1
and so these ordering quantity level are called price breaks consider the inventory
model with one price break.
0Q1<b P1
b1Q2<b2 P2
b2Q3 P3
Working rule
1. Calculate Q3* taking the lead unit price P3. If Q3*>b2 then Q3* is the EOQ.
2. If Q3* <b2 there calculate Q2*. Now compare units C(Q2*) and b2 If C(Q2*)
in the EOQ. If (b2) is the minimum then b2 is the EOQ.
3. If Q2*<b1 then, calculate Q1* New compare the costs (Q1*)) and (b1) and
((b2)
Example:
Find the optimal order quantity for a product for which the prince leaks are us
follows.
Solution
2𝑥400𝑥25
Q3 * = = 75 units
0.20𝑥18
100Q2<200
2𝑥20𝑥25
Q1 * = = 75 units
0.20𝑥20
= 400x20+ 2𝐷𝐶1 𝐶2
= 8000+ 2𝑥400𝑥4𝑥25
= 8283 nearly
400 1
CA(100) = 400x18 + x25 x 100 x 3.6
100 2
= 7200 + 100+180
= Rs. 7480
400 1
CA(200) = 400 x 16 + x25x x200x3.2 = Rs. 6770.
100 2
Since total, cost is minimum for 200 units, EO = 200 units.
ABC Analysis
The university of an organization may consist of several items varying with
cents usage, lead time, procurements cents and so on. Here we should pay more
attention on claims with low usage value. So we should be selective to our approach
towards inventory central. This is called relative inventory control and hence we have
ABC analysis (always better control analysis).
Example:
The items kept in inventory by the school management studies at state
university are instead below which claims should be classified as „A‟ claims, „B‟ less
„c‟ claims? What percentage of claims in each land.
Item Annual usages Value per unit
1 200 400.00
2. 100 366.00
3. 2000 0.20
4. 400 20.00
5. 6000 20.00
6. 1200 0.04
7. 120 0.80
8. 2000 100.00
9. 1000 0.70
10. 80 400.00
Solution:
In order to classify the items kept in the A,B,C Class items the first step into
calculate the annual usuage value in the descending order.
Value per Ranking
S.No Annual Usage Annual usage
item Rs.
67
1 200 40 8000 IV
2 100 360.00 36000 I
3 2000 0.20 400 IX
4 400 20.00 8000 V
5 8000 0.04 240 X
6 1200 0.80 960 VIII
7 120 100.00 1200 III
8 2000 0.70 1400 VI
9 1000 1.00 1000 VII
10 80 400.00 32000 II
The table given below classifies the above items under three class A,B,C
Annual
Annual
36000 Usage % of total
Item Rank Usage Class
32000 Value items
Value
ingots
2 I 36000 2 68000𝑥10
A 68000 =206 =68%
10 II 32000 10 10000
7 III 12000
3 68000𝑥10
4 IV 8000 B 28000 =30% =68%
10 100000
1 V 8000
8 VI 1400
9 VII 1000 C 4000 5 4000𝑥10
=50% =68
10 100000
6 VIII 960
= 100
3 IX 400
5 X 240
Iron the table it is clear that 20% of inventory claims belonging to A class,
controller 68% of total annual usage value 30% falls under class B, 50% falls in C.
*********************************
UNIT-V
Network Analysis
Network Analysis is a technique which determines the
various sequences of jobs concerning a project and the project completion
time. Network analysis has been successfully used to a wide range of
significant management problems. Two popular methods of this technique
which are widely used are 1) The Critical Path Method (CPM) and 2) The
Programme Evaluation and Review Technique(PERT).
68
PERT: This was specially developed for planning and controlling the polaris
missile programme. Using this technique the management was able to obtain
the expected project completion time and the bottle neck activities in a
project. In PERT three types of times are used. They are i) Optimistic time
estimate, ii) Pessimistic time estimate, iii) Most likely time estimate. In
PERT, statistical analysis is used in determining the time estimates.
The path that takes the longest duration is called the critical path.
The duration of this path is called the project duration. We introduce the
following definitions.
(1) EST: It is the earlier possible time at which an activity can be started
assuming that all the preceding activities can be started at the earliest start
times.
(2) EFT: The earliest finish time for an activity is the earliest start time plus
the duration of the activity. Ie)EFT=EST+Duration.
(3) LFT: The latest finish time for an activity is the latest possible time at
which an activity can be finished assuming that all the subsequent
activities can also be finished at the latest possible times.
(4) LST: The largest start time of an activity is equal to the latest finish time
minus the duration of the activity.
(5) Total Float(TF): TF= Head event L-Tail event E-Duration
TF=LFT-EFT=LST-EST.
Dummy activity: This is the activity which doesnot consume time or resources.
It is used only to show logical dependencies between activities so as not to
violate the rules for drawing networks. It is represented by a dotted arrow line in
a network diagram.
PERT Network: A PERT network is drawn in the same way as a CPM network.
In PERT network we need only to estimate the duration of each activity. There
are 3 types of time estimates.
Problem 1:
The following table gives the activities in a construction project and other
relevant information.
Solution:
L=20, E=20
L=0, E=0
1 4 5
70
E=46, L=46
E=36, L=36
3
E=30, L=30
Problem 2:
L=7,E=2 5
2 8
1 3 7
71
4 6 9
L=7, E=1 L=10, E=10 L=15, E=15
Problem 3:
(i) Draw the network diagram and determine the critical path.
(ii) Find the project completion time and its variance.
72
Solution:
2 3 5 8
1 4
6 7
Job 𝑇𝐸 𝑇𝑃 − 𝑇𝑂 Variance
𝑇𝐷 + 𝑇𝑝 + 4𝑇𝑚 𝑆𝐷( )
6
=
6
1-2 42/6=7 2
7-8 108/6=18 4 16
2-3 84/6=14 4 16
3-5 66/6=11 2 4
5-8 24/6=4 1 1
6-7 66/6=11 4 16
4-5 42/6=7 2 4
2-4 30/6=5 1 1
1-6 36/6=6 2 4
Duration
1. 1-2-3-5-8 36
2. 1-2-4-5-8 23
3. 1-6-7-8 35
Problem 4:
The following table lists the jobs of a network with their time estimates
Draw the project network and calculate the length and variance of the critical
path.
Solution:
Job 𝑇𝐸 𝑇𝑃 − 𝑇𝑂 Variance
𝑇𝐷 + 𝑇𝑝 + 4𝑇𝑚 𝑆𝐷( )
6
=
6
1-2 42/6=7 12/6=2 4
1-6 36/6=6 12/6=2 4
2-3 84/6=12 24/6=4 16
2-4 30/6=5 6/6=1 1
3-5 66/6=11 12/6=2 4
4-5 42/6=7 12/6=2 4
6-7 66/6=11 24/6=4 16
5-8 24/6=4 6/6=1 1
7-8 108/6=18 24/6=4 16
1 2 4
3 5 8
6 7
74
Duration
1. 1-2-4-5-8 23
2. 1-2-3-5-8 36
3. 1-6-7-8 36
Exercises:
2. Consider the following project whose activities along with PERT time
estimates the optimistic time (a), most likely time (m), and the pessimistic
time (b) are given as follows.
Activity a (days) m (days) b (days)
1-2 12 14 21
1-3 7 10 16
3-5 4 6 10
3-4 36 40 60
4-6 12 15 24
5-6 6 8 12
6-7 9 12 18
75
6-8 6 10 15
7-8 4 5 7
8-9 8 10 14
*******************************