Probability: Totalfavourable Events Total Number of Experiments
Probability: Totalfavourable Events Total Number of Experiments
PROBABILITY
Introduction: Events whose outcome cannot be predicted with certainty are called probabilistic
events. Outcome of probabilistic (random) events generally follow a special pattern which can
[Prob. ≡Probability]
Tossing an unbiased coin hundred times and obtaining 49 heads means that the probability of
getting a head equals 49/100 = 0.49 and the prob. of getting a tail is 51/100 = 0.51 (1 – 0.49).
Terms in Probability
(1) Sample Point – Each possible outcome of an experiment is called a sample point. Thus all
Thus a Sample space that is finite or countable infinite is called a discrete sample space while
the non-countable infinite one is called non discrete (continuous) sample space.
3. Event
Universal set. – Contains subsets. In throwing die, a set which contains both sets of even
Thus their joint probability can be expressed as a simple product of their individual probabilities
(probs).
P(B/A) = P(B)
In other words if A and B are independent, then the conditional probability of A, given B is
simply the individual prob. of A alone and vice –versa. This is called SWINE THEOREM
P(A∩B) = O
In other words, the probability of A happening given that B happens is nil since A and B cannot
both happen in the same situation. Likewise the probability of B happening, given that A
happens is also nil. Thus A and B are mutually exclusive if the occurrence of A excludes the
AXIOMS OF PROBABILITY
If sample space, S is discrete, all its subsets correspond to events and conversely. But if S is not
discrete, only special subsets (measurable) correspond to events. To each event A in the Class C
of events a real number P(A) is associated. Then P is called a probability function and P(A) is the
Axiom 3: For any number of mutually exclusive events A1, A2, in the Class C,
Proof
1 – P(A)
P(A)
and the difference between these probabilities is that B occurs and A does not
occur.
Conditional Probabilities
This means that the probability of occurrence of both A and B is equal to the product of
the probability that A occurs and the probability that B occurs subject to the condition
that A has already occurred. Thus P(B/A) is the conditional probability of B given A.
Example (1)
Find the probability that a single toss of dice will result in a number less than 3 (a) if no other
information is given and (b) it is given that the toss resulted in an even number.
Solution: Let B denote the event (less than 3), then the probability of the occurrence of B is
given by
1 1 1
(a) P(B) = P(1) + P(2) = + =
6 6 3
3 1
(b) Let A be the event (even number), then P(A) = =
6 2
1
Also P(A∩ B ¿ = A = {2, 4, 6} B ≡ {1,2}
6
P ( A ∩B) 1 1 1 2 1
Then P(B/A) = = ÷ = x =
P( A) 6 2 6 1 3
1
=
3
Example 2: A mathematics teacher gave her class two tests. 25% of the class passed both tests
and 42% of the class passed the first test. What percentage of those that passed the first test
Solution:
P ( First∧Second)
P(Second/First) =
P( First )
0.25
= = 0.595
0.42
= 0.60 = 60%
Probability Distributions
distributions arise in practice and therefore have advantages in real life usage over discrete
However all principles applicable for discrete distributions are transferable to continuous
distributions by substituting the integral sign for the summation sign. Example of discrete
distribution includes throwing of die (dice), tossing of coin and drawing a card from a pack of
A random variable X and its corresponding distribution are said to be discrete, if X has the
following properties.
(1) The number of values for which X has a probability different from 0, is finite or almost
countable finite.
(2) Each finite interval on the real line contains at most finitely many of those values. If an
interval a≤X≤b does not contain such a value, then P(a<X≤b) = 0, where a and b are the
If X1, X2, X3 are values for which X has positive corresponding probabilities P 1, P2, P3, then the
function
= 0 otherwise
f(x) is the Probability Density Function (PDF) of X and determines the distribution of the random
variable X.
Prob. (x = xj) = Pj means that the distribution of random variable X is given by f(x) which is equal
to Pj for X = Pj
Example: Throwing two dice and adding the scores. Since there are 36 ways (6 2), the probability
1
f(2) = Prob.(2) = P(2) = [(1+1=2)/62]
36
3 1
Similarly f(4) = P(4) = = = [ (1+3 , 3+1 , 2+ 2)/6 2]
36 12
Usually PDF is in the form of table of probabilities associated with the values of the
For continuous distribution, the use of probability density (PDF) in place of probability is
exact value, say 5.00 is zero. There is infinity of possible result and the chance of exactly 5 is
1
= 0. However, it is possible to consider a probability density in the neighborhood of 5 with
∞
If Pd(X) represents the probability density at point X, multiplied by some interval of X to convert
∫ xP ( X ) dx
μ = E(x) = ………(5)
∫ P ( X ) dx
And the variance is given by
∫ ( X −μ ) 2 Pd ( X ) dx
δ2 = ……….(6)
∫ P ( x ) dx
N
x
μ = E(x) = ∑ x P(x) = ∑
1 …………(7)
N
N
δ
∑ ( x−μ )2
1
The variance is a measure of the spread of a distribution from the mean. A small variance
means that the distribution is peaked while a large variance indicates a spread out from the
mean. Standard deviation (SD) is the Square root of the Variance. SD is also a measure of the
spread of a distribution.
A continuous distribution function is so expressed that the area under the probability density
function (PDF) is unity and the cumulative probability is unity in the limit and is given by
Pd(X) = ∫ P ( x ) dx =1 ………(9)
−∞
1 ( 3 ) +3 ( 4 ) +6 ( 5 ) +… .+6 ( 16 )+ 3 ( 17 )+ 1(18)
or μ3 = = 10.5 (for throwing three dice)
216
Example 3
One die is thrown and the player receives twice the face value if odd and one-half the face value
1 1 1 1 1 1 1 1 1
E(X) = 2(1) + (2) + 2(3) + (4) + 2(5) + (6)
6 2 6 6 2 6 6 2 6
= 4
Example 4
The life of a tool in hours before breakage is given by the following data obtained for 50 tools.
Tabulate the frequency distribution of the tool life and find the average tool life and its variance.
Solution
Using the frequency distribution Table 5; the average tool life is given by
4 ( 26,45 ) +2 ( 27.45 ) +2 ( 28.45 ) +…+1 ( 37.45 ) +2(38.45)
μ= (7a)
50
= 31.21hrs
δ2 =
∑ ( x−μ)
1
N −1
= 8.26
changing the area under the function equal to unity. The cumulative probability distribution
Cumulative functions may be used to find the probability for a random variable X lying between
B B A
P(A<x≤B) = ∑ P( Xi) = ∑ P( Xi) - ∑ P( Xi) ……….. (10)
i= A +1 i=0 1=0
Example 5: Find the probability of throwing a 4, 5, 6 or 7 with two dice, (The range is from 3 to 7
inclusive)
Solution
7 3
P(3<X≤ 7) = ∑ P( X ) - ∑ P( X )
0 0
= 0.5833 – 0.0833
= 0.5000
1
Pd(X) = { 0≤ X ≤a
a
{0elsewhere ….11
1
Pd(x) a
↑
→a
Fig.9: Uniform Distribution
Notice that the condition for equation 9 is met.
∞ a
∫ Pd(X)dx = ∫ dx = 1 ….12
−∞ o
1.0
Pc(X)
The rectangular (uniform) distribution can be used to simulate variables from almost any kind of
distribution due to its simplicity.
2. Gamma distribution
3. Weibull distribution
5. Binomial distribution.
Normal Distribution
Normal distribution has a very wide range of applications in statistics, including the testing of
hypothesis. The probability density function is given by
1 (x−μ)
Pd(X) = e– ….. (14)
σ √2 π 2δ
1 Z x−μ
Pd(Z) = e− , Z = ( ¿ …..(15)
√2π 2 δ
The Lognormal distribution is used to analyze data that has been transformed
logarithmically.
Gamma Distribution
Gama distribution can be used to study variables that may have a skewed distribution. It is
commonly used in queuing analysis.
X e−N
Pd(X) = …..(16)
(α)
1
When alpha α = 1, gamma distribution becomes exponential with λ = β
β = beta parameter.
Gamma distribution is also called Erland distribution when alpha is a positive integer.
Weibull Distribution
Weibull distribution is used in reliability analysis such as the calculation of the mean
X
( )α
αX α−1 e −β ¿¿
Pd(X) = βα …..(17)
Poisson Distribution
The Poisson distribution is applicable only when the events occur completely at random and the
number that occurs is small compared to the potential number that could occur. The Poisson
−μ −x
e μ
P( X )=
distribution is given by X| (18)
and μ = Expected or average number of occurrences. The mean and variance of Poisson
Example 8.4 (P175): At 3pm telephone calls arrive at the company switchboard at the rate
of 120/hr. Find the probability that exactly 0, 1, and 2 calls arrive between 3.00 and 3.01 pm.
120
μ= = 2 calls per minute expected
60
eμ
Using equation 18, (i.e. P(X)= ), we have
X!
Pd(X) = {ae-α х X≥ 0
0 X≤ 0 …..(19)
There is a connection between the Poisson distribution and exponential distribution. For
example, in queuing problems if the arrival rate, in arrivals per unit time period, follows a
Poisson distribution with λ average arrivals per period, then by equation 18,
−λ x
e λ
P( X )=
X| …..(22)
It can be shown that the time between arrivals has an exponential distribution with the
Where Ta is the time between arrivals measured in periods T. The cumulative probability
Binomial Distribution
Binomial distribution applies to events that can take on only two values such as the head
or tail for a tossed coin or accept or reject for an object. The binomial distribution is
given by
P(X) =N!Px(I – P)N-X
X!(N – X)! ….(25)
one trial.
In the case of an unbiased coin, P and (I – P) are both 0.5, but in most problems P will not be
0.5. The binomial distribution is symmetrical if and only if P = 0.5. The mean and variance of a
A random variable (stochastic Variable, variate) is a function of X that assigns to each possible
outcome in an experiment a real number. If X may assume any value in some given interval
The requirements for generating random numbers are such that each successive number in a
sequence of random numbers must have equal probability of taking on any one of the possible
values and must be statistically independent of the other number in the sequence. (Willier&
Lieberman, 1970).
An acceptable method of generating random numbers must yield sequences which satisfy the
following conditions:
(a) Uniformly distributed.
(c) Reproducible.
(e) Capable of generating random numbers at high rates of speed and yet requires a minimum
(a) The Congruential Method: Generates random number from the last one obtained, given
This method has 3 variants namely the Mixed, multiplicative and the additive congruential
methods.
(i) The mixed congruential method has the following recurrence relation
If M = 10d, a = 1, 21, 41, 61 …. and c= 1,3,5,7,9 d= Word Size of byte ( Decimal computer)
This is used to generate a four digit number from the middle of the square of the
This method involves the throwing of dice or tossing of coins and recording the outcome.
2. QUEUING THEORY
A queue is a waiting line but queuing is used broadly to cover variety of problems usually
for economic balance and optimization involving waiting and delay in serving people or
servicing machines and equipment. Queuing also covers problems such as the optimum
number of long distance lines required between two cities or optimum number of
repairers and equipment required to keep an assembly line in operation. There is now
strong competition among service industries to gain and retain customers and as such
companies must consider internal queuing for the economic balance of manufacturing
and operational efficiency.
Queuing theory is the mathematical study of waiting lines or queues. In queuing theory
a model is constructed so that queue lengths and waiting times can be predicted.
Generally, queuing theory is a branch of operations research because the results are
used in making business decisions aboutresources required in the provision of services.
Queuing theory takes its origin from the research credited to AgnerKrarupErlang who
created models to describe the Copenhagen telephone exchange. The idea has been
extended to applications such as telecommunication, traffic engineering, computing and
the design of factories, shops, offices and hospitals.
Queue Networks: These are systems in which single queues are connected by a routing
network. The queuing system can be classified with respect to input source, queue and
service facility.
The input source or population is classified as infinite or finite which is chiefly the size of
the population relative to the number in the queue and being serviced. If the
characteristics of the input source are changed by the number of withdrawals, the
population is considered finite and the problem is solved with the changes in the
population taken into account.
The queue itself can be classified as infinite if it is allowed to grow to any size or finite if
it is characterized by a maximum permissible size. Queues can also be classified as single
or multiple. A one-chair barbershop is a good example of a single queue. The multiple-
queue case is exemplified by a work centre having two input queues from different
operations.
In a typical network, the main elements in the system are the input source and the
service system. The latter is characterized by queue discipline and service facility.
A machine needing servicing can follow three possible paths:
i. Return to the population without servicing (balking).
ii. Join the queue but return to population without servicing (renege).
iii. Return to the population after being serviced.
In the queue network, the servers are represented by circles, queues by a series of rectangles
and the routing network by arrows.
Markovian Systems
3. STOCHASTIC PROCESSES
Stochastic Process (Random Process) is the collection of random variables representing the
evolution of some system of random values over time. It is the probabilistic counterpart of a
deterministic process (system). In a stochastic process there is some indeterminacy. There are
several or infinitely many directions in which the process may evolve even if the initial condition
(starting point) is known. Deterministic process can only evolve in one direction or way. For
instance, the solutions to a differential equation follow a definite or particular way (direction).
For discrete time, as opposed to continuous time, a stochastic process involves a sequence of
random variables and the time series associated with these random variables. An example of
this process is the Markov Chain otherwise known as the Discrete -Time Markov Chain (DTMC).
An approach treats stochastic processes as functions of one or several deterministic inputs,
usually time parameters whose values are random variables (outputs usually probabilistic single
quantities associated with certain probability distributions). Random variables corresponding to
various times or points may be completely different. It therefore requires that these different
quantities take values in the same space.
Processes modeled as stochastic time series include stock market and exchange rate
fluctuations, speech, audio and video signals; medical data such as patient’s EKG, EEG, blood
pressure/temperature, and random movement such as Brownian motion or random walks.
Examples of random fields include static images, random terrains (landscapes), wind waves or
composition variations of a heterogeneous material. Stochastic process takes its origin in the
19th century when it was used to aid the understanding of financial market and Brownian
motion. Thorvald N. Thiele was the first person to describe the mathematics behind Brownian
motion in his paper on the method of least squares published in 1880.
Stochastic process can be classified according to its index set (time) and state space as follows:
Discrete time and discrete state space
Continuous time and continuous state space
Discrete time and continuous state space
Continuous time and discrete state space.
4. APPLICATIONS
4.1. Inventory:
This is a stock of physical assets having value, which can be material, money or labour. Material
inventory can be raw material; tools and accessories including spare parts used in production,
unfinished or in-process inventory and finished products. Inventories are maintained at a cost to
gain advantages having monetary value, such as avoiding a shutdown due to a temporary
absence of supplies or permitting uniform production for a reasonable supply or demand.
Inventory models which are usually mathematical (sometimes symbols) may be deterministic,
for which all information and values are treated as being definite or probabilistic (stochastic), for
which uncertainty in some values is recognized and considered. The classes of inventory in the
manufacture of steel are shown in fig. 11.1 while the general inventory system is illustrated in
fig. 11.2.
In the general inventory system, ordinates represent the number of units available in stock
against time in the abscissa. Consider quantity Q units received at the beginning of the period
T1. The use during this period U1 is subtracted from the stock to give a lower stock for the
second period, etc. At the end of the fourth period T 4 the level of inventory reaches the reorder
level R. At that time an order equal to Q unit is placed, which is eventually received at the
beginning of the period. The procurement time or lead time T i is the time required in period to
receive an order after it is placed. During the procurement time the level of stock may go to
zero, creating a shortage for which a penalty can arise. The objective is to minimize the total
cost of the system, which is the minimum cost per period (not per cycle). Some costs are
connected with the cycle, such as placing and receiving an order, whereas other costs are
connected with a period, such as storage costs. Confusion between a period and a cycle is the
most common source of error for a beginner.
Fig. 11.3 illustrates the schematic diagram for economic lot size. Let C 0 be the cost of
placing and receiving an order, Ch the storage or holding cost per item per period, M = Q
the maximum inventory where Q is the lot order, and U the rate of use in items per
period. Consider a time element T units of time from zero time lasting dT units of time.
The inventory at any time is a straight-line function of time and is Q at T = 0 and 0 at T =
N where N is the duration of the cycle. Then
Q
− T +Q
Inventory = N
The number of periods of time N that the lot Q will last is given by
items Q
=
N= items / period U
The inventory at any time is given by
Inventory = -UT + Q
The total cycle cost is given by
N =Q /U
UQ 2 Q
∫ C h (−UT +Q )dT =C 0 +C h (− 2
+Q )
Ccycle = C0 + 0 2U U
2
ChQ
= C0 + 2U
Finally,
2 C0 U
Qopt. = √ Ch
The lead time Ti multiplied by the rate of use per period U gives the reorder level, R. Thus
R = Ti U
C0U
Ct =
C0
U
√ 2 C0 U /C h
+C h
√Ch
= √ 2C h C 0 U
Example: The demand for an item 100/day. The cost of placing and receiving an order is #50
with an infinite delivery rate. The storage cost is #10 per item per year based on the actual
inventory at any time. No shortage is allowed. The reorder level is an 8-day delivery. Find the
optimum stock, the optimum period cost and the reorder level.
Solution:
i.The storage charge per item per day is 10/365 = 0.0274. Thus the optimum stock is
2(50 )(100 )
Qopt. = √ 0.0274
=604
Ct = √ 2(0.0274)(50)(100)=16.55/day
iii. The reorder level is given by
R = 8(100) = 800
Safety Stock: This is added to the inventory to ensure that a shortage in an item does not occur.
The inventory model becomes (fig.11.4)
Inventory = -UT + Q + S (S = Safety Stock)
The cost per cycle (following individual steps established previously)
2
Q Q
C0 +C h ( +S )
Ccycle = 2U U
The cost per period becomes
U Q
+C h +SCh
Ct = C 0 Q 2
The optimum order for minimum cost becomes
2 C0 U
Qopt. = Ch √
The optimum period cost becomes
√ 2C h C 0 U +SCh
Ct = √ 2C h C 0 U ,when ,S=0
Finite Rate Delivery
Finite rate delivery model is associated with manufacturing. The schematic diagram (fig.11.5)
illustrates the model concept. C0 is a setup cost and D item per unit of time is a manufacturing
rate. The use rate in items per unit of time is U. The value for Q is the total number of items
produced and used in the cycle of (T1 + T2) periods. The safety stock is S items and M is the
maximum inventory. In time T1 the inventory builds up by an amount (M – S) at a rate (D – U).
Thus
M – S = T1 (D – U) and Q = T1D (Since Q is made at D rate in timeT1)
Eliminating T1 gives
D−U
M–S=Q D
But Q = UN (Q is used in N period at U rate), then
D−U
M – S = UN D
In this model (M – S) is linear with time on both sides of the maximum inventory. The average
inventory for the total N periods is half (M – S) plus the safety stock.
UN D−U
+S
Average inventory = 2 D
The average inventory is held at a cost Ch per item per period. The cost per period is
UN D−U naira 1 cycle
+S
Ct = [C0 + ( 2 D ) ChN] cycle N period
C0 UN D−U
Ch +C h S
= N + 2 D
Differentiating, we obtain,
dCt C 0 C h U D−U
= 2+ =0
dN N 2 D
2 C0 D
N= √
C h U ( D−U )
Thus the optimum stock is
2C 0 UD
Q =
opt.
√
C h ( D−U ) (Since Q = UN)
And the minimum period cost is
2 C h C0 U (D−U )
Ct = √ D
+C h S
Example: The setup cost for a small operation is #600 and the storage cost is #0.40 per item per
day. Usage is uniform at 300 items per day and the production rate is 500 items per day. A safety
stock of 100 units is required. Find the optimum production lot size that gives minimum cost.
Solution:
i. The optimum lot size is given by
2(600 )(300)(500 )
ii.
Qopt. = √ (0 . 40)(500−300)
The minimum period cost is given by
=1500
iii.
Ct = √ 500
The production time is given by
+0 . 40(100 )=280 /day
Q 1500
= =3 days
Ti = D 500
iv. The cycle time is given by
Q 1500
= =5 days
N = U 300
Solution:
Let a cycle last N days. The lot size will then be Q = 1000N and
C0 =13000+5 (1000 N )0. 5 =13000+158 .11 N 0 .5
The inventory declines linearly from 1000N to zero in N days. The inventory at any time is
Inventory = 1000(N – T), where T is in days.
Integrating, we obtain,
13000 + 158.11N0.5 + N2 + 0.0025N3 = 13000N-1 + 158.11N-0.5 + N + 0.0025N2 = 0
By repeated trails, the minimum occurs at N = 96.4 for which the optimum lot size
Qopt. = 1000N = 96400 items.
Probabilistic Models
Example: (Optimum Stock By Incremental Analysis)
The cumulative probability for the sales of certain item is as shown in the table:
An item costs #3, sells for #4 and is disposed of for #1 if not sold in season. There is no storage
charge. Determine the optimum number to stock at the start of season.
Solution:
The number to stock is such that the last item stocked has an expectation equal to its cost. If
another were stocked, its expectation would be less than the cost.
Recall that Expectation = ∑ (value)(probability)
Let P(X) be the probability of selling the last unit and 1 – P(X) be the probability of not selling
the last unit. The last unit costs #3 and brings in #4 or #1. Thus the mathematical relationship
for break-even is given by
3= 4P(X) + 1[1- P(X)]
P(X) = 0.67
The probability of selling the last unit must be 0.67 and 0.33 for not selling it. By interpolation in
the tabulation or from a plot, a stock of 4300 meets the requirements. If a stock of 4300 is
ordered, the probability of selling the last unit is the probability of selling 4300 or more which is
0.67. Analysts must recognize the two complementary cumulative probabilities in arriving at the
correct reasoning.
Solution:
Poisson distribution with average demand of 4 per week is given by
x −4
4e
P(X) = X !
Thus P(0) = 0.0183, P(1) = 0.0732, P(2) = 0.1464, P(3) = 0.1950, P(4) = 0.1950, P(5) = 0.1560,
P(6) = 0.1040, P(7) = 0.0594, P(8) = 0.0296, P(9) = 0.0132, P(10) = 0.0053, P(11) = 0.0019,
P(12) = 0.0006, P(13) = 0.0002, P(14) = 0.0001, P(15) = 0.0000.
Starting with an initial stock of 6 units, we have the following:
The cost for a time interval Ta will be the sum of the cost for the lost or waiting time for the unit
being serviced plus the cost of operating the service channel for T a time periods which is
Cf
Ta
CwTs + T s
The total cost for one time period Ct is obtained by dividing with Ta which is given by
T s Cf
Cw +
Ct = Ta Ts
Differentiating with respect to Ts and equating to zero, we obtain the minimum cost/period.
dCt C w C f
= − =0
dT s T a T 2
s
Cf T a
T s. opt .=
√ Cw
Cf Cw
Ct . opt .=2
√ Ta
(Putting Ts.opt. in Ct)
Please note that Cf is the cost for one time period for a servicing channel which when working
full time would service one item. If there are L channels or servicing facilities instead of one,
then
T s Cf L
Cw +
Ct = Ta Ts
Cf T a L
T s. opt .=
√ Cw
Cf Cw L
Ct . optt .=2
√ Ta
Example
The arrival rate is constant at three items per hour. The cost of providing and maintaining a
service facility is #25/h and it can service four items per hour working full time. If an item waits
one day it represents a cost of #2400. Find the optimum time to service one item and the
minimum variable cost per item.
Solution
Take one hour as one period, then Cf = 25/4 = 6.25
Ta = 1/3 h between arrivals and Cw = 2400/24 = 100/h/item. Then
6. 25(0 .33)
T s. opt .=
√
100
6 .25(100 )
=0.1443 h( optimum.servicing . time)
Ct . opt .=2
√
0 .33
=86. 60
The total cost for servicing an item is 86.60/3 = 28.87 since three items enter the system per
period.
Example
Assuming that the cost of a service facility is proportional to 0.6 power of its size, redo the
previous example.
Solution
Let S be size of the service station. Then S is inversely proportional to the time required to
service one item, Ts. Thus S = k/Ts.
The cost of the service station per hour is given by
k 0.6 1
K '( ) =K ( )0 .6
Cf =
Ts Ts
But Ts = ¼ and Cf = 25. Thus
k 0. 6 1 0. 6
K '( ) =K ( ) =25 ¿ and ¿=10 .88
Cf =
Ts 0 .25
Cost for a service facility per hour is given by
1
10.88( )0 .6 =10.88T −0.6
Ts s
The cost for waiting plus the cost for the service facility for an item serviced in interval T a is
CwTs + 10.88Ts-0.6Ta
Dividing through by Ta, we obtain cost per hour
Ts
Ct =Cw +10 . 88T −0 .6
Ta s
Example
The cost of waiting per period is #4 and the cost per hour for servicing an item in a service
centre which can handle one item in 1 hour is #2. If the arrival rates follow Poisson distribution,
find the lowest cost policy.
Solution
Ct.opt. = 3Cw = 3(4) = #12 per period
λ’opt. = Cw/Cf = 4/2 = 2 items per period
Cw
4
=4
µ’opt. = 2 C f = 2 2 items per period
Finite Queuing
In practice, the number of items being serviced might have significant effect on the number of
items still in use. The situation becomes one of finite queuing. Analytical solutions for finite
queuing problems can be quite complicated but can be treated by the general methods with
certainty, noting that probabilities will be affected by the number of items requiring servicing.
Example
Five units of a product must be processed at three different stations, A, B and C. The processes
are independent. The process time at each station is as follows;
A (5 days), B (7 days), C (9 days).
The five products must have the same operating sequence. The handling time and cost between
stations are negligible. Stations are all started at zero time and are shut individually when the
fifth unit has gone through the station. Idle time for a product is counted whenever a product
arrives at a station and must wait for entry. Idle time for a station is counted whenever a station
is waiting for work. Find the most economical sequence of work centres for the following
conditions, where Cw is the waiting cost per part per day and Ce is the cost of idle time per
station per day.
Cw Ce
(a) 10 30
(b) 20 20
(c) 30 10
Solution
Summary of Results from Time-Analysis Table is presented as follows:
Table 4.1: Part Waiting and Station Idle Times for the Sequences
Sequence Part Waiting Time (PWT) Station Idle Time (SIT)
ABC 40 17
ACB 40 27
BAC 20 27
BCA 20 39
CAB 0 47
CBA 0 49
Table 4.3: Time-Analysis Tabulation for Example on General Method with Certainty
ACB 1 0 5 5 14 0 5 14 21 0 14
2 5 10 14 23 4 0 23 30 0 2
3 10 15 23 32 8 0 32 39 0 2
4 15 20 32 41 12 0 41 48 0 2
5 20 25 41 50 16 0 50 57 0 2
BAC 1 0 7 7 12 0 7 12 21 0 12
2 7 14 14 19 0 2 21 30 2 0
3 14 21 21 26 0 2 30 39 4 0
4 21 28 28 33 0 2 39 48 6 0
5 28 35 35 40 0 2 48 57 8 0
BCA 1 0 7 7 16 0 7 16 21 0 16
2 7 14 16 25 2 0 25 30 0 4
3 14 21 25 34 4 0 34 39 0 4
4 21 28 34 43 6 0 43 48 0 4
5 28 35 43 52 8 0 52 57 0 4
CAB 1 0 9 9 14 0 9 14 21 0 14
2 9 18 18 23 0 4 23 30 0 2
3 18 27 27 32 0 4 32 39 0 2
4 27 36 36 41 0 4 41 48 0 2
5 36 45 45 50 0 4 50 57 0 2
CBA 1 0 9 9 16 0 9 16 21 0 16
2 9 18 18 25 0 2 25 30 0 4
3 18 27 27 34 0 2 34 39 0 4
4 27 36 36 43 0 2 43 48 0 4
5 36 45 45 52 0 2 52 57 0 4
3. Consider the problem of the repair shop for which the machines are brought
in for repair according to a Poisson process infinite population of machines
assumption) with rate λ = 5 per day. The manager has the option of hiring
a team of mechanics (team 1) in which both mechanics work together to
repair the same machine in serial stages: first mechanic repairs the machine
and then the other one test, and they do not consider another machine before
completely repairing the current one i.e., 2 serial stages) or team 2, where
the two mechanics work independently and in parallel to repair the machines.
Each mechanics has an exponential service time, with a rate μ =3
machines per day.
ii) What are the equivalent queuing models for the two case? Is the
queuing system stable for each of the two cases.
iii) If the cost of the two teams is the same, what is the best option for
the shop manager (best option gives the smallest delay)?
1
K (T )=
R
[ Q+B ( t ) R−S ( t ) Rt ]
And
1
K (T )= [ Q+ ( b 1+ b2 t ) R−Q ( 1−d )t R t ]
R
Where
K(T) = Present value of total cost
B(t) = Time-dependent (increasing) Maintenance cost
S(t) = Salvage value (Deterioration and time dependent)
Q = Cost of machine (constant)
100
R = Discount factor ( r +100 )
r = Rate of return on replacement investment
d= Deterioration rate
As usual, the objective is to find T that will minimize K (T). The time, T that gives minimum present value
of total cost, K (T) corresponds to the replacement date of the machinery. Conversely, the time, T that
produces maximum K(T) corresponds to the refurbishment machinery.
Example
Consider a machine with the following technical details (ASA, 2000)
Name of machine: Front-end Loader
Model: Y
Year of manufacture: 1995
Cost: $60,000.00
Resale Value (Active Market): $40,000.00 (5th year)
Deterioration rate: 25%
Capitalization rate: 40%
Minor maintenance: $2,500.00 annually
Major maintenance: (i) $10,000.00 (2 nd year)
$3,500.00 (3 rd year)
(ii) $6,000.00 (4th year)
(iii) $20,000.00 (5th year)
T 1 2 3 4 5 6 7 8
K(T)L 86533 96533 90033 92533 96136 79111 81234 84606
K(T)M 89437 99298 92888 95353 109158 89435 89435 89435
%Dev. -3.24 -2.78 -3.07 -2.96 -11.93 -11.54 -9.17 -5.40
Fig 4.1: Comparison of the measured and predicted total cost K(T) of the Loader
120000
115000
110000
105000
100000
Total Cost $
95000
Measured Data
90000 Predicted Values
85000
80000
75000
70000
1 2 3 4 5 6 7 8
Years
The result from the tables and graph shows a replacement date of 6th year.
(Repair/Refurbishment in the 2ndand 5thyears).