BUSS 320 Quantitative Methods 1 1
BUSS 320 Quantitative Methods 1 1
BUSS 320 Quantitative Methods 1 1
BUSS 320
QUANTITATIVE METHODS IN
BUSINESS
NJOROGE CHRISTOPHER
3
COURSE OVERVIEW
I welcome you to the study of Quantitative techniques. In this course we shall study the application of
mathematical models in solving business related problems. The course borrows from economics and
statistics. An understanding of basic economic and statistical concepts is essential. The purpose of this
course is to equip students with quantitative techniques that will enable them to make sound and
competent management decisions.
The topics are arranged in 12 weeks and each week has one or more lectures depending on the topic’s
depth. There are 15 lectures and each lecture has its own objectives that you should achieve. At the end of
every lecture, you will find a series of SAQs that are meant to help you to evaluate your understanding
of the concepts presented. You should attempt all the questions and activities once you have finished
studying the relevant work. A summary of each lecture is also provided at the end with a list of further
resources that you are expected to read and make notes from.
By the end of this course the student should:
1. Understand basic mathematic concepts and appreciate statistical calculations
2. Be in a position to identify specific quantitative techniques that are applicable to particular
organizational problems
3. Apply various quantitative models in solving business problems. Students are encouraged to apply
concepts learnt in class so as to master their use. They are expected to have an analytical mind.
4. Interpretation of results derived from computer solutions arrived at through application of specific
mathematical models
4
COURSE OBJECTIVES
5
REFERENCES & SUPPLEMENTARY MATERIAL
Barry Render, Ralph Stair, Michael Hanna, (2006) Quantitative Analysis for Management,
Prentice Hall Kothari, C. R. (2000), Quantitative Techniques, Vikas Publishing House, New Delhi
Lucey T , Quantitative Techniques (2002), Thomson Learning, London, UK
Saleemi N A (1997), Quantitative Techniques Simplified, N A Saleemi publishers, Nairobi, Kenya
Srivastra U, Shenoy G and Sharma S (1999) Quantitative Techniques for Managerial Decisions,
New Age International
Rendelinghuis A, Julyan F, Steyn B and Benade F (1992), Quantitative Methods for Managerial
Decision making, Butterwrths, Durban
6
SYMBOLS
Objectives
Activity
! Key note
Summary
Self-Assessment Questions
7
Suggested further reading
Coursework:
CATs & Assignments 30%
End of trimester exam 70%
Total 100%
The final score, made up of the coursework and the exam is then graded using a GPA system as
below:
8
B 60-67 3.0
C+ 55-59 2.5
C 50-54 2.0
D+ 45-49 1.5
D 40-44 1.0
E Under 40 0.0
NOTE!
For Distant Learning Students, the coursework is made up of a comprehensive assignment. This
should be submitted in time through the ODLM office so that grading is done in time. There is
revision of the assignment during the tutorial at the end of the trimester, just before the end of
trimester exams.
COURSE OUTLINE
The purpose of this course is to equip students with quantitative techniques that will enable them to
make sound and competent management decisions. The course is covered in 11 lectures over the 12
weeks in the trimester as outlined below:
Week Topics Content
1 Lecture 1 Definition of Quantitative Methods
Introduction to Components of a mathematical model
Quantitative techniques Important models in quantitative analysis
9
Week Topics Content
application of matrix Application of matrix algebra:
algebra o Solving Linear / simultaneous equations:
Inverse method and crammers rule
o Input-output analysis
3 Lecture 4 Terminology in network analysis
Network Analysis Rules for drawing network diagrams
Critical path analysis [CPA]
Advantages of network analysis
Distinction between PERT and CPA
Limitations of PERT and CPA
4 Lecture 5 Introduction
Linear Programming Requirements of linear programming
Assumptions of linear programming
Formulation of linear programming problems
Graphical solution to LP problems
5 Lecture 6 General structure of the problem
Transportation Model Requirements of a transportation problem
Deriving the initial solution using various methods
6 CAT [THERE WILL BE NO MAKE-UP CATS]
7 Lecture 7 Evaluating whether initial transportation solution is
Transportation Model… optimal: Computation of shadow price.
Deriving the optimal solution.
Assignment Model The assignment problem including both maximization
and minimization problem
8 Lecture 8. Differential calculus
Calculus and its Integral calculus
application in business Economic applications of differentiation
decisions Economic application of integration
9 Lecture 9 Assumptions in game theory
Game theory Basic concepts in game theory
Use of pure strategies to solve problems
Dominance
Limitations of games in competition
10 CAT 2 CAT [THERE WILL BE NO MAKE-UP CATS]
11 Lecture 10 Components of a queuing system
Queuing theory Queuing situations
Queue elements
10
Week Topics Content
Classes of queue systems
Simple queue characteristics
Terminologies used in queuing theory
Assumptions of the model
Solutions of problems involving single channel
Poisson arrivals with exponential service rate
12 Lecture 11 The process of simulation
Simulation Importance of simulation to managers
Areas of application of simulation in an organization
Limitations of simulation
13-14 End of trimester exams
Teaching Methodologies
1 Lectures/instructional Notes
2 Assignments / Questions
3 Discussions/Case Studies Analysis
LECTURE 1
INTRODUCTION TO QUANTITATIVE METHODS
Chapter Objectives:
By the end of this topic, students should be able to:
o Understand what quantitative techniques is all about
o Describe the phases of managerial decision process
o Explain the components of a mathematical model for decision making
11
o Relate different quantitative models to problem solving scenario
12
o Machinery
o Money
o Time
In short QM is the range of mathematical and statistical techniques used to analyze data.
Quantitative methods have been widely used by political scientists in a range of contexts,
including, for example, the study of arms races, of political stability, of political violence, and of
the behaviour of legislators, but by far their most prominent application has been in the area of
electoral attitudes and behaviour, where data are easily quantified.
While such methods have enhanced the study of politics, there have been criticisms of quantifying
for the sake of it, of equating results obtained with the results of scientific experiments
(misapplying the methods of the natural sciences to social data), and overemphasizing numbers at
the expense of explanation (the establishment of the existence of a statistically significant
correlation or regression coefficient may say little about its meaning). Such criticisms have led
some to a more restrained and cautious use of quantitative methods.
Levels of managerial decisions
The levels at which management decisions are made are generally categorized into three:
13
corporate vision for the company, decide on mergers and acquisitions, develop budgets and set
long-term goals.
Identify the three levels at which managerial decisions are made. Outline three types of
decisions are made at each level
14
Excellent managerial decision-making accounts for the difference between businesses that grow fast
and businesses that don't. Managers and entrepreneurs who rise to the top and take their
companies with them have usually developed habits and systems for making difficult decisions.
The system of managerial decision-making can be narrowed down to 7 core steps:
3. Analyze Options
Management decision-making in today's world is an established science in its own right. There are
literally hundreds of strategic thinking tools applied by managers to analyze options and make
decisions. However, many of these tools are useless if the core assumptions under-girding the
analysis are wrong or misguided. You must make sure that your managerial decision-making
process includes ways to test assumptions as well as a system for cycling back if assumptions turn
out to be wrong.
15
4. Make a Decision
The point of analysis is for managerial decision-making to be a faster and better process that leads
to the attainment of business goals. However, even with excellent analytical tools, a leader's
personal decision-making style can affect the speed at which decisions are made, and even the
quality of the final decision. Decisive managers accept that bad outcomes can result from good
decision-making procedures and take solace in the quality of their preparation and their process.
5. Take Action
Depending on the size of the organization you lead, the gap between resolution and taking action
can be quite wide and time consuming. A bias for action is the single biggest determinant to
making better and better decisions over the long run. There are just too many details and too
much complexity in the business environment for a manager to attempt to be completely
prescient.
To paraphrase business adviser Dan Kennedy, the best chance you have is to figure out the things
that don't work (and won't work) as quickly and as cheaply as possible. That requires a culture of
rapid decision and action.
6. Review Results
As a consultant, one of the most pervasive phenomena I have encountered in business is that of the
business leader who hates to go back; who hates to review past work. Whether due to personality
or habit, many entrepreneurs find the monitoring and testing of mundane business details to be
distasteful at best.
Constant monitoring is one of the commonalities found in fast growing businesses. Recently, I
spoke with a software manufacturer who found increased sales by monitoring buyer behavior. He
and his team observed that a few web visitors who were abandoning the web site during the
shopping cart process were coming back 2 or 3 days later to make a purchase. When they provided
web shoppers with a "Save shopping cart" feature, purchases increased significantly.
16
7. Implement changes
The point of monitoring and tracking decisions and their results is to make improvements. Not
just improvements in products and processes, but improvements in overall decision making.
Making a habit of systematic change, will help you build a more nimble and profitable
organization.
What do you consider to be the key stages in the decision making process?
Mathematical Models
A mathematical model is a description of a system using mathematical concepts and language. The
process of developing a mathematical model is termed mathematical modeling. Mathematical
models are used not only in the natural but also in the social sciences such as economics,
psychology, sociology, and political science. Models may also help to explain a system and to
study the effects of different components, and to make predictions about behaviour.
Mathematical models can take many forms, including statistical, differential equations, game
theory e.t.c. In many cases, the quality of a scientific field depends on how well the mathematical
models developed on the theoretical side agree with results of repeatable experiments. Such
mathematical models need to be compared with experimental measurements in order to advance
the theories and test their validity.
Components of a Mathematical Model in Solving Business Problems
An objective function – Mathematical statement of what the management wishes to achieve
once the problem is solved optimally
Decision variables - the unknowns to be determined by the solution to the model.
Constraints - the physical limitations of the system, especially applying to resources
The objective of the model is to generate a solution (or optimal solution) to the problem. It involves
identification of a set of the decision variable values which are feasible (i.e. satisfy all the
constraints) and selecting the best which lead to the optimal value of the objective function.
Mathematical models covered
Matrix algebra – This model will be applied in solving linear simultaneous equations and the
input output analysis
17
Network Analysis – This model deals with planning for long-term projects by b
Linear Programming – This model deals with allocation of scarce resources so as to either
maximize / minimize
Transportation and Assignment Models – The transportation model deals with transporting
goods from several sources to given destinations. In the assignment model, personnel are to be
assigned tasks in order to optimize results.
Calculus – This model deals with application of microeconomics in making business decisions. It
applies principles of differential and integral calculus
Game theory – This model deals with strategies to be used by players in a competitive
environment
Queuing theory – This model deals with service delivery so as to balance between service costs
and waiting costs where there are queues
Simulation – This is the representation of the behavior or characteristics of a real system through
the use of a hypothetical system which replicates the real system.
Identify any four mathematical models and explain how each can be applied in
business
LECTURE 2
TYPES OF MATRICES AND COMPUTATION OF THE DETERMINANT
Definition
A matrix is a rectangular array of numbers of the order (size) m x n, where m is the number of
rows and n is the no of columns. E.g.
2 4 3 4 1 12 5 8 6
A= 1 6 B= 17 2 4 -6 C = 3 -4 1
3 10 2 6 3
18
Types of Matrices
Column matrix – A matrix with a single column. The order of the matrix is mx1
8 7
e.g. C = 12 of order 3x1 or D = 4 of order 2x1
9
Row matrix – A matrix with a single row. The matrix is of order 1xn
Square matrix - A matrix where the number of rows is equal to the number of columns i.e. m =
n 5 8 6
e.g. G= 3 4 1 of order 3x3
2 6 3
Null or zero matrix – A matrix in which all the elements are zero
0 0 0 0
H= 0 0 0 0 order 2x4
Diagonal matrix – A square matrix in which all the elements except at least one in the leading
(principal) diagonal are zeros
0 0 0
J = 0 2 0
0 0 6
Transpose of a matrix – Matrix obtained by interchanging rows and columns. E.g., for the square
matrix G, the transpose GT is given as
5 3 2
GT = 8 4 6
19
6 1 3
Identity matrix [I] – A diagonal matrix in which all the elements in the leading diagonal are equal
to 1 while all the other elements are zeros
1 0 0
I= 0 1 0
0 0 1
Symmetric matrix - A matrix in which the elements are ‘reflected’ along the leading diagonal. The
transpose of the matrix is the same as the original matrix. Example:
5 3 9
S= 3 8 4
9 4 7
Sub matrix - A matrix obtained by deleting any number of rows and columns from a given matrix
for example, with respect to matrix S above, sub matrices may be:
5 9
S= 3 4 or 3 8 or 5 9
9 7 9 4 9 7
Eliminating column 2; eliminating R1 & K3; eliminating R2 and K2
Operating With Matrices
Matrices A and B are said to be equal if and only if:
i) they are of the same order
ii) the corresponding elements (ai,j)are equal to (bi,j) for all values of i and j
20
i) A = 1 0 and B = 1 0 0
0 1 0 1 0
0 0 1
ii) A = 6 -9 and B = 6 -9
15 4 15 4
19 5 4 0
Then A + B + C = 6 10 and A – C = -11 10
26 27 4 11
Multiplication of matrices
A matrix of any dimension can be pre-multiplied by a scalar. In this case, each element in the
matrix is multiplied by the constant (scaler). If matric B above is pre-multiplied by a scaler of 4,
then 4B will be given by:
3 -7 12 -28 A scaler can be a fraction e.g. 1/5 or
4 9 10 = 36 40 3/8
6 8 24 32
Matrix multiplication
21
2 matrices are said to be compatible or conformable if and only if the number of columns in the
pre-multiplying matrix are equal to the number of columns in the other matrix, If for example
Matrix A is of the order 3x2 and matrix B is of the order 2x4, then:
A= -7 5 B= 9 10 5
6 8 6 AB = -33-30 -5
Order 1 x 2 2 x 3 1 x 3
22
LECTURE 3
MATRIX INVERSION AND APPLICATION OF MATRIX ALGEBRA
The inverse of a matrix A is denoted as A-1. It is a matrix such that A. A-1 = A-1.A = I (Identity
matrix). An inverse is only defined for a square matrix. The inverse of a matrix is required to
perform ‘division’, which is not possible conventionally
The procedure in getting the inverse of a matrix A is:
i) Determine the determinant of the matrix denoted as A . If the determinant is equal to
zero, then there is no defined inverse, and such a matrix is referred to as a singular
matrix
ii) Get the matrix of minors of matrix A
iii) Get the matrix of cofactors, where the cofactors for each element (ai,j) is given as is Cij
= (-1)i+j(ai,j)
iv) Transpose the matrix of cofactors to get the Adjoint matrix of matrix A, AT
v) A-1 = AT
A
Note:
For a 2x2 matrix A = a b
c d , the determinant is computed as a.d – b.c and the inverse is
computed as:
d -b
A-1 -c a
Example
Matrix B = 4 6
23
2 8 , B = 32 – 12 = 20
Compute the determinant of the matrix: There are alternative methods to this below:
(0 + 0 + 36) = 36 (Sum of the product of ‘other’ diagonal )
4 2 6 4 2
= 2 5 0 2 5
0 3 9 0 3 Sum of the product of 3 leading diagonals
(180 + 0 + 36) = 216
The determinant is the difference between the sums of the ‘leading’ diagonal and the
Sum of the product of the ‘other diagonal: i.e. the determinant = 216 – 30 = 180
Matrix of minors for each element Eij is given as the determinant of the 2x2 matrix resulting
after crossing out the ith row and the jth column. For element E1,1 [4], this is given as 9*5 – 0*3
= 45. The entire matrix of minors is given as:
45 18 6
0 36 12
-30 -12 16
Matrix of cofactors – Each element in the matrix of minors is multiplied by the factor (-
1)i+j
24
45 -18 6
0 36 -12
-30 12 16
45 0 -30 0.25 0 0.167
. E-1 = 1 -18 36 12 = -0.1 0.2 0.067
180 6 -12 16 0.033 -0.067 0.089
25
The inverse method
When this method is used, we simply apply the relationship: AA-1 = I in solving for the unknown
variables. The procedure is:
Put the original equation in matrix form:
A[x] = B, where A is the matrix and [x] represents the unknown variables in form of a
column matrix
Pre-multiply both sides by the inverse A-1. This translates the equation into:
I[x] = A-1B, which defines the values of each of the variables when solved
Example
Solve the equations below using the inverse method:
5 + 8 = 139
3 + 66 = 193
Solution
In matrix format
5 8 x 139
3 6 y = 93
Therefore 1 0 x 15 OR x 15
0 1 y = 8 y = 8
Crammer’s rule
This involves working only with determinants. The steps are:
(i) After putting the equations to be solved in matrix format, determine the determinant of
the matrix A, pre-multiplying the column matrix of the variables.
26
(ii) Make matrices, in each case replacing the column of each unknown variable with the
RHS, and compute the respective determinants
(iii) The solution to each variable is the ratio between the determinant computed when each
variable is replaced and the original determinant
x = 90 /6 = 15: y = 48 /6 = 8
b) Input-Output Analysis
This model was developed by Prof Leontief in 1951.It analyses production within an economy and
the interdependencies between the sectors in an economy. The model recognizes that the output
of one sector may be used as input in another sector as well as input in the sector itself. There are
two models in input-output analysis
A closed model in which the entire production is used entirely within the production
process by the industry itself together with other productive sectors within the economy
The open model, which also recognizes that part of the output, will be used for
consumption, thus representing the final demand.
Terminologies
Intermediate demand – Part of the total output that is used within the productive sectors of the
economy
Final demand – Part of the production [total output] that is consumed or used outside the
productive sectors of the economy
Input-output matrix – This is also referred to as the matrix of technical coefficients. It shows
the interdependencies among the productive sectors. This matrix gives the proportion of output
from a given sector required as input in the production process in a given sector.
27
Input-output analysis may therefore be used to determine the amount of production required in
each industry in order to meet the intermediate demand and the final demand.
28
Leontief matrix
This is the matrix [I – A], where I is the identity matrix. It comes as a result of the following
relationship: X = AX + D, i.e., Total output [X] = intermediate demand [AX] + final demand
[D]. This implies that:
X – AX = D or [I – A] X = D.
Therefore, pre-multiplying both sides by the leontief inverse: [I] X = [I – A] -1 D
In our example, if final demand changes to 800 for Agriculture and 1 800 for manufacturing, then
we can determine the total output and the associated intermediate demand in each sector:
Total output will be:
-1
A 0.6 -0.25 800 1 0.8 0.25 800 2 965.99
M = -0.45 0.8 1 800 = 0.3675 0.45 0.6 1 800 = 3 918.37
29
b) If the external demand was to change to Sh10 billion, Sh 2 billion and Sh. 20 billion from the
current levels respectively for A, B and C, calculate the total output of
sectors P, Q and R. You are given that:
c) What will the intermediate demand for the sectors P, Q and R be in this case
Solution
a) The matrix of technical coefficients is given as:
18/108 30/120 45/180
A = 27/108 30/120 60/180
54/108 40/120 60/180
30
Self-Assessment Questions
Question1
In an economy there are 2 industries, A & B in an economy. Given below are the supply &
demand in millions of shillings.
User
Producer A B Final demand Output
A 15 10 10 35
B 20 30 15 65
Required
a) the matrix of technical coefficients
b) Determine the following:
i)the total output of each industry if the final demand changes to Sh 12 million for A and Sh 18
million for B
ii) the intermediate demand associated with the output in (i) above
Question 2
You are provided with the following input-output matrix in a 3-sector economy represented as X,
Y & Z respectively
31
Required
a) Interpret each of the elements in the first column of the matrix
b) Given that the final demand vector for the 3 respective sectors in millions of shillings is
100; 50 & 60 for sectors X, Y and Z respectively
i) Determine the total output of each sector
ii) The corresponding intermediate demand
c) In a 2 sector economy made up of A and B, you are provided with the following input-output
matrix for the respective sectors
0.25 0.3
0.5 0.4
The final demand for the sectors amount to Sh 150 million and Sh 90 million respectively for A
and B
Required
(i) Interpret the ‘0.25’ and the ‘0.4’ in the input-output matrix
(ii) Compute the total output for each of the sectors [6 marks]
Question 3
An economy consists of 3 sectors P, Q and R. Given below are the are the inputs and outputs
from the 3 sectors. The amounts are in Billions of shillings
32
b) If the external demand was to change to Sh10 billion, Sh 2 billion and Sh. 20 billion from the
current levels respectively for A, B and C, calculate the total output of
sectors P, Q and R. You are given that:
c) What will the intermediate demand for the sectors P, Q and R be in this case
Question 4
An economy consists of three industries A, B and C with each industry producing a
single product. The table below describes the interaction of the use of A, B and C
production over some fixed period of time.
TO A B C consumer demand Total output
FROMA 90 80 35 95 300
B 30 160 70 140 400
C 60 120 140 30 350
Suppose final demand for A, B and C changes to 100, 150 and 25 respectively. Determine the new
total output by various industries so as to satisfy the new final demand.(14 marks)
Question 5
a) A restaurant sells beverages as follows;
2 cups of tea, 3 glasses of red wine and a bottle of soda for shs. 490.
3 cups of tea, 4 glasses of red wine and two bottles of soda for shs. 700
A cup of tea, 2 glasses of red wine and a bottle of soda for shs. 330
Required;
i)Formulate the above information into three simultaneous equations
ii) Determine the price of a cup of tea, a glass of wine and a bottle of soda.
33
iii)Determine the price of 4 cups of tea and two glasses of wine from the restaurant. ( 10 marks)
b) Solve the following system of simultaneous equation using a matrix-based method of your
choice:
6X + 4Y + Z = 162
2X + 6Y + 5Z = 194
X + 3Y + 4Z = 112 [8 marks]
QUESTION 6
a) Briefly explain what you understand by each of the following terms:
i)Identity matrix
ii) Singular matrix
iii)Inverse matrix
iv) Redundant constraint
v) Shadow price
vi) Dummy activity [12 marks]
b) An economy is made up of 2 sectors, P and Q. The total output, intermediate as well as final
demand for each of the sectors is given below. All the values are in millions of shillings
Producing Total Intermediate Demand Final
Sector Output P Q Demand
P 2 500 750 800 950
Q 4 000 1 250 1 600 1 150
Required:
i)The matrix of technical coefficients, A [4 marks]
ii) Determine the total output for each of the sectors and the related intermediate demand if the
final demand for sectors P and Q changes to Shs 800 million and Shs 900 million respectively
[6 marks]
34
Question 7
a) Outline any three models that are frequently used by managers and explain how each of the
models may be of use in solving business problems [6 marks]
b) Solve the following set of equations using a matrix method of your choice:
8X – 3Y = 245
6X + 4Y = 90 [6 marks]
Question 8
a) Explain each of the following terms:
i)Intermediate demand
ii) Infeasibility
iii)Primary inputs
iv) Singular matrix
v) Dummy activity [10 marks]
4X + 6Y + 2Z = 184
2X + 5Y + 2Z = 132
5X + 2Y - Z = 108 [6 marks]
c) An economy consists of 3 interdependent sectors: Agriculture, Mining and Manufacturing. The
flow of inputs between the industries is represented in the table below:
INPUTS (SHS 000) FINAL
DEMAND
OUTPUT (SHS 000] AgricultureMining Manufacturing
Agriculture20 000 32 500 37 500 10 000
Mining 30 000 65 000 37 500 30 000
Manufacturing 40 000 32 500 12 500 40 000
35
Required:
i)The technical coefficients matrix, a [3 marks]
ii) The related Leontief matrix [3 marks]
iii)The change in output for each of the three sectors if the final demand for agriculture increases
by Shs 1 million (i.e., to Shs 11 million), that of mining remains unchanged and the final demand
for manufacturing falls by Shs 500 000
You are given that Leontief inverse is as below:
0.480.240.24
I–A -1 = 1/216 0.390.6 0.33
0.3 0.240.42 [8 marks]
b) An industrial system has the industries with the following input for industry A to produce one
pounds worth output it requires £0.32 of its own products and 0.40 of industry B’s product.
Similarly, industry B requires £0.21 of its own product and £0.40 of industry A’s product to
produce one pound worth product.
E = 50,000
30,000
Determine
i)The technical coefficient matrix for this system.
ii) Using the matrix in (i) above determine the total output to be produced so as to satisfy the
final demand. (10 marks).
36
LECTURE 4
NETWORK ANALYSIS
Introduction
Network analysis is applied in planning and controlling large projects which are made up of
interrelated jobs.
The technique is useful both in ensuring that the ‘jobs’ are done in time and in helping
management to allocate scarce resources.
37
Event – represents a reference point in time where an activity starts / ends. Each event is
represented by a node (circle) in the network diagram. Events in the diagram are interlinked by
activities. Normally, events are numbered sequentially
Dummy activity – an activity appearing in the network diagram so as to maintain logic in the
sequencing of activities and in order not to violate rules of drawing network diagrams. Dummy
activities use no time and no resources. Dummy activities are represented by a dotted arrow. They
become necessary as the network diagram is drawn
Critical path – the set or combination of activities on the network diagram which has the longest
duration. This path gives the shortest completion period. All activities on the critical path are
referred to as critical activities
Earliest start time [EST] – the earliest point in time at which an activity can commence, after
taking into account the preceding activities
Earliest completion time [ECT] – the earliest point in time that an activity can be completed, after
taking into consideration the duration of al the preceding activities
Latest starting time [LST[ - latest point in time at which an activity can be started without
increasing the overall project duration
Latest completion time [LST] – latest point in time that an activity can be completed without
increasing the overall project duration
Float or slack – the time (duration) with which an activity can be delayed or its duration increased
without delaying the completion of the project. Critical activities do not have any float
Crashing / accelerating a project – reducing the duration of a project by decreasing the time it
takes to complete individual activities. This requires that more resources be allocated to the project
Critical path analysis / method [CPA / CPM] - a network analysis in which the duration of each
activity can be established with reasonable certainty
Programme evaluation and review technique [PERT] – a network technique in which the
duration of activities therein cannot be determined with certainty.
Beta distribution – a probability distribution used in PERT to determine the expected duration of
each activity as well as the standard deviation
38
The project has one start point [start event] and one end point [finish event] – with various
activities / events sequentially interlinked in between - no dangling activities / events
The network diagram is drawn from left to right
Each activity has a preceding [tail] event and a succeeding [head] event
Looping activities are not allowed
Two or more activities cannot start in a given tail event and have the same head event
The length of an arrow does not in any way indicate the duration of the activity or the
resources used by the activity
NOTE
1. Activities in a network may be ‘described’, named alphabetically, numerically or with
reference to the tail-head events
2. Dummy become necessary to maintain the ‘flow’ and logic of the network
Critical path analysis [CPA] method
After the network diagram has been constructed, it becomes necessary to determine how long
a project will take to be completed
An analysis of the time required to complete each activity is undertaken so as to determine the
time at which each succeeding activity can commence. The duration required for each activity
is presumed to be known with certainty [deterministic]
The critical path is the longest path in the network and is made up of activities that can not be
delayed.
To determine the critical path, the following steps are necessary:
o Draw the network diagram
o For each event, determine the earliest start time [EST] – earliest time that the next activity
can start after taking into consideration all the preceding activities – done through the
‘forward pass’. The EST of the finish event represents the duration of the project
o Compute the latest start time [LST] for the succeeding activity – Latest time that an activity
should start so as not to delay the project beyond the critical time. Computations are done
using the ‘backward pass’
o The critical path is made up of those activities for which EST=LST. All the activities on
this path should be completed in time if the project is not to be delayed
39
Note:
If management wants to reduce the duration of the project, then ways have to be looked into
of reducing the duration of at least one of the critical activities
Example1
Activity Preceding Duration [Weeks]
A - 3
B A 5
C A 4
D A 4
E B 2
F B 4
G E 6
H F 3
J C,F 8
K D 7
L G,H 4
M J,K,L 5
E[2]
G[6]
40
K[7]
Example 2
Activity Predecessor Duration [weeks]
A - 5
B - 4
C A 1
D B 1
E B 5
F B 5
G C,D 4
H F 3
Required
a) draw a network diagram for the project
b) determine the critical activities and the project duration
Example 3
Activity Predecessor Duration [Months]
A - 3
B - 4
C A 3
D A,B 6
E A 5
F A,B 3
G C,E 3
H D,E 2
J F 4
K G,H,J 3
41
Required
a) Draw a network diagram for the project
b) Determine the project duration and the critical activities
42
These durations are:
o The optimistic [shortest] duration [represented as a]
o The most likely time [represented as m]
o The pessimistic [longest] duration [represented as b]
The expected duration an activity i, is given as:
Ei = [a + 4m +b] /6
Once the expected duration for each activity has been determined, the analysis continues just
as in CPA. An advantage with PERT is that since thee are multiple time estimates, further
analysis can be performed to determine the probability of completing the project within a
given duration.
This is done as follows:
o For each of the critical activities, calculate the standard deviation, using the beta
probability distribution. For activity i, his is given as:
Σi = [b – a] / 6
o Calculate the standard deviation of the critical path. This is given as:
Σe = [Σ(b – a)2/6]1/2, using the normal distribution, calculate the Z-score value for the
scheduled completion date [S} from the expected duration per the critical path [Pe].
i.e., Z = [S – Pe] / Σe
o The normal distribution can be used to determine the confidence interval for the
completion time of the project or determine the probability of completing the
project in a given time
43
F B 0.5 4.5 5.5
G B,C 8 17 20
H E,F 7 14 15
J D 5 8 11
Required
c) Draw a network for the project
d) Compute the expected duration for each activity, determine the critical path and the expected
duration of the project
e) Compute the probability of completing the project within
i. 18 weeks
ii. 25 weeks
44
Sometimes, it may be necessary to crash some activities on different critical paths
simultaneously
Example
The management accountant of Mapeni Ltd. is planning the annual closedown of one of the
departments for maintenance purposes. The shutdown process has 6 phases. You are provided
with the following information about the phases.
Activity / phase Preceding Duration
Normal Crash Normal Crash
A - 8 4 8 000 20 000
B - 6 5 6 000 7 000
C B 2 1 10 000 14 000
D - 4 2 4 000 7 000
E A 3 2 1 000 2 600
F C,E 2 2 16 000 16 000
G B,D 5 3 12 000 16 800
Required
a) A network for the project, the critical activities and the normal cost of the project
b) Determine the duration beyond which the project duration should not be crashed and the total
costs for that duration
c) The management accountant contends that although each week saved in the project would
increase costs, there would be an additional contribution of Sh. 4 800 per week if the
department is not closed. Determine the optimal duration of the closure for the department
Self-Assessment Questions
Question 1
45
a) Kilifi Ltd has won the tender on a major job. Nine activities have been identified by the
engineers as illustrated below. The activity duration is in weeks
Activity Predecessor Duration [weeks]Cost (Shs 000)
A - 5 450
B A 2 270
C A 4 750
D A 7 240
E B 6 150
F D 8 320
G C,E 1 690
H F,G 3 475
Required
i)Draw a network diagram for the project [5 marks]
ii) Determine the expected project duration, the critical activities and project cost[5 marks]
iii)Compute the total float for each of the non-critical activities [4 makes]
Question 2
Mr. Kalidi is a manager of Construction Company. The company is bidding on contract to repair
the road network in a small town. It has identified the following activities.
(Time weeks)
Activity Optimistic Most likely pessimistic
1-2 4 6 10
1-3 3 5 9
2-4 7 12 20
46
2-5 3 5 8
3-4 6 11 15
4-5 4 6 11
4-6 3 9 14
5-6 2 4 8
6-7 3 5 9
Mr. Kalidi has agreed with the client that the project should be completed in the shortest
time possible.
Required:
(i) Draw a network for the project (4 marks)
(ii)Determine the critical path and the expected project completion time. (4 marks)
(iii) Determine the standard deviation of the project completion time. (3 marks)
(iv) Explain any five Limitations of games in competition (10 marks)
Question 3
The following activities relate to a project to be undertaken by a certain organization.
Activity Preceeding activity Duration in weeks
A - 6
B A 9
C A 15
D A 24
E B 18
F C 3
G C 6
H C,D 9
I E,F 21
J G,H 12
K I,J 15
Required:
i) Draw a network for the project. (5marks)
47
ii) Determine the critical path using the diagram (5marks)
iii) Calculate any floats for the activities. (5marks)
Question 4
A project consists of nine jobs (A, B, C, D, E, F, G, H and I with the following preceding
activities and time estimates in days.
Job Preceding Optimistic most likely pessimistic
activity time time time
A _ 4 7 16
B _ 3 6 15
C A, B 7 13 30
D A,B 3 6 9
E B 6 12 18
FD,E 4 7 16
G C,F 4 10 28
H D, E 2 5 8
I G,H 3 6 9
Required:
(i) Determine the expected duration and variance for each job
(ii)Draw a network diagram for the project.
(iii) Identify the critical path
(iv) Calculate the variance and standard deviation of project length
(v) Determine the effect on both project time and the critical path if the expected duration of job D
were to be 10 days
Question 5
Given below are the activities required in a project, the related duration and costs.
Activity Duration (Weeks) Optimistic Most likely Pessimistic
1-2 3 5 7
1-3 2 5 14
48
1-4 5 7 21
2-6 5 8 11
3-4 0 0 0
3-6 2 3 4
4-5 4 6 14
5-6 0 0 0
5-7 3 4 5
6-7 1 3 5
Required:
a) Determine the expected duration in weeks and the variance for each activity [8 marks]
b) Draw a network diagram for the project and use it to determine the critical activities and the
expected duration of the project [10 marks]
c) Explain the nature of activities ‘3-4’ and ‘5-6’ [2 marks]
d) Compute the standard deviation of the expected project duration [6 marks]
e) Outline any four rules used in drawing a network project [4 marks]
QUESTION 6
a) Explain the following terms as used in network analysis:
i.Activity and event
ii. Looping and dangling activities [6 marks]
b) A project is made up of 11 activities, A – K, with the sequencing and time estimates of the
activities as shown below:
Activity Estimated Duration (weeks)
Optimistic Most likelyPessimistic
1-2 4 5 6
2-3 3 5 19
49
2-4 1 3 5
3-4 0 0 0
3-5 1 3 11
5-6 2 3 4
4-5 6 9 18
4-6 2 5 8
Required:
i)Determine the expected duration and variance for each of the activities[7 marks]
ii) Draw a network diagram for the problem [5 marks]
iii)Determine the expected project duration and the critical activities [5 marks]
iv) As the project manager, determine the project duration you would give your
client to be 95% confident of delivering on time [7 marks]
Question 7
a) Briefly explain the following terms:
i)Decision variables
ii) Critical activity
iii)Redundant constraint
iv) Queuing model [8 marks]
b) A project is made up of eight activities as detailed below:
Activity predecessor time estimates in weeks
A - 5
B - 12
C A 14
D B 5
E B 9
F C, D 17
G E, F 5
H E 13
Required:
50
a) Draw a network diagram for the project [6 marks]
b) Determine the critical activities and the expected project duration [7 marks]
c) Determine the float for activities ‘C’ and ‘H’ [4 marks]
LECTURE 5
LINEAR PROGRAMMIMG
Chapter Objectives:
o Determine the solution to linear programming problems using the graphical method
51
o Do sensitivity analysis on linear programming optimal solution
INTRODUCTION
In short-run management decisions, products can be ranked according to contribution per unit
of the scarce resource [if there is a limiting factor].
When there is more than one scarce resource, this becomes ineffective as rankings will differ.
As a result, we resort to the use of linear programming. It’s a mathematical technique used by
management in order to assist in the allocation of scarce resources when there are more than
one limiting factor
Linear programming can be applied by management in evaluating:
Blending
Production planning
Oil refinery management
Distribution
Financial and economic planning
Manpower planning
Blast furnace burdening
Farm planning
Capital rationing (financial management)
Requirements for linear Programming
Variables should be capable of being expressed mathematically.
There should be a linear relationship between the variables i.e. if it requires 3 hours to produce
1 unit of x then 300 units require 900 hours
Different alternative courses of action should be feasible
Negative solutions are unacceptable.
52
2. Setting up an objective function
This is expressed mathematically using decision variables with a basic objective function
3. Constraints
Each resource usage is expressed mathematically and related to two decision variables.
Graphical method
This method can be used if there are two decision variables. The decision variables are plotted
on each axis and the constraints on resource usage are drawn as straight lines.
The feasible region is identified as that which does not contravene any of the constraints (ABC
in diagram)
The optimum solution is determined by either;
Evaluation, the value of the objective fn for the decision variable values at each of the
corners of the feasible region and identifying the highest value as the optimum solution or,
Determine the corner within the feasible region which is the furthest from the origin on
the basis of the ISO-contribution (the objective fn line) as the optimal solution.
Illustration
XYZ Ltd produces two products Alpha and Beta using the same raw material, labour and
machinery. Details of the products are given below:
Alpha Beta
Price per unit 24 000 16 000
Variable costs per unit 21 000 12 000
Contribution per unit 3,000 4,000
53
Resources/Unit Maximum/week
Machine hours 4 2 1000 hours
Labour hours 2 6 1500 hours
The maximum weekly demand of product Beta is 200 units and weekly fixed costs $480 000.
Required
(a) Formulate the above as a LP problem
(b) Determine the optimal level of output of each product per week.
(c) Evaluate the resource constraints in order to establish,
(i) The limiting factors
(ii) The non-scarce resources and the unused amounts of such resources.
Solution
Let a equal the # of units of product alpha produced and sold
Let b equal the # of units of product beta produced and sold
a) Objective fn
Maximise contribution (z) = 3000a + 4000b
A B A B
Machine hour = 4a + 2b < 1000 [2500] [0 500]
Labour hour = 2a + 6b < 1500 [7500] [0 250]
Material Q = a+b< 300 [3000] [0 300]
DD for b = b < 200 [2000] [0 200]
A, b Σ 0
54
For maximisation problems, corner point giving the highest value is the optimal solution. For
minimisation problems, the corner point with the least value gives the optimal solution
Exercise
55
A company produces two products x and y with respective contribution/unit of $40 and $30.
There are 3 resource constraints i.e.
Processing hours
Skilled labour hours
Material a, which is used in the production of x and y
The table below identifies the resource requirements in the production of x and y.
Illustration
XYZ Ltd produces two products Alpha and Beta using the same raw material, labour and
machinery. Details of the products are given below:
Alpha Beta
Price per unit [Sh] 24 000 16 000
Variable costs per unit [Sh] 21 000 12 000
Resources/Unit Maximum/week
Machine hours 4 2 1000 hours
Labour hours 2 6 1500 hours
Material input [Q] 1 1 300 kg
The maximum weekly demand of product B is 200 units and weekly fixed costs Sh480 000.
Required
(a) Formulate the above as a LP problem
56
(b)Determine the optimal level of output of each product per week.
(c) Evaluate the resource constraints in order to establish,
(i) The limiting factors and the respective shadow prices
(ii)The non-scarce resources and the unused amounts of such resources
Question 1
(a) A linear programming problem has three characteristics (parts) in its formulation.
State them (3 marks)
(b)A firm engaged in producing two models X1 and X2 performs only three operations – painting,
assembly and testing. The relevant data are as follows:
Question 2
57
A company manufactures two different kinds of chemicals / products, A and B. There are three
departments / processes through which the chemicals have to pass. You are provided with the
following information.
Product Process 1 (kg) Process 2 (kg) Process 3 (Hrs) Profit/ unit
A [per unit] 0.4 0 0.6 Sh 400/unit
B [per unit] 0.5 0.2 0.3 Sh 300/unit
Max avail / week200kg 50kg 210kg
Required
a) Formulate as a linear programming problem
b) Determine the optimal weekly production mix
c) Which process(es) are a real constraint in the production process? What are the respective
shadow prices
d) The non-binding process constraint(s) and the excess of recourse
Question 3
Maxwell Ltd. produces two products, X and Y. The standard contribution per unit of each
product is computed as below:
Product x Product y
Selling price 110 88
Standard costs
Material (8kg @ $4) 32 (4kg @ 4) 16
Labour (6 hours @ $10) 60 (5 hrs @ 10) 50
v. overheads (4hours @ $1) 4 96 (6 hrs @ 1) 6 102
Contribution/unit 14 16
58
Machine (hours) 2 760
59
c) Determine the optimal weekly output of each product and the maximum profit for the period.
[5 marks]
d) Determine the binding constraints and compute the shadow price of each [6 marks]
e) Outline two requirements for a linear programming model to be applied [2 marks]
Question 5
a) The formulation of a linear programming problem has three distinct parts. Identify each of the
three parts clearly explaining the importance of each [6 marks]
b) Mtwapa Ltd makes 2 products Delta and Gamma. Given below are the details of each of the
products and the constraining resources per week
PRODUCT
Delta Gamma
Profit per unit (Shs) 750 500
Resource requirements per unit Maximum Available
Skilled Labour Hours 2 1.5 1,200
Material (Kilograms) 2 4 2,000
60
LECTURE 6
THE TRANSPORTATION MODEL
This model has been constructed to assist management in allocating resources, just as in linear
programming. The transportation problem deals with distributing a product from a number of
sources to a number of destinations. Typically, each source is supply limited, each destination has
a known demand and the shipping costs between sources and destinations are given. The objective
is to find the cheapest shipping schedule that satisfies demand without violating supply constraints.
61
3. The quantities. The quantities of supply at each source and the demand or requirements at
each destinations are constants.
4. The shipping cost. The per unit costs of transporting the commodity from each source to each
destination are assumed to be constant
5. It is assumed that no shipments are allowed between sources or between destinations.
Allowing such transshipments would require special adjustments in the model.
6. All supply and demand quantities are given in whole numbers.
7. The problem is to determine how many units should be shipped from each source to
each destination so that all demands are satisfied at the minimum total shipping cost.
This is special case of linear programming which deals with distribution of goods from various
sources (production points) to various destinations (consumption or deman points). Each source
has a capacity which it can produce whereas a destination’s demand is known in advance. The
objective is to ship the goods from the various sources to the various destinations so as to
minimize the transportation costs. It can be used to help in the determination of a suitable site for
locating production. It is presumed that the transport cost/unit is known in advance and is
constant from one point to another. If it costs kshs x to transport a unit of goods from A to B,
then it would cost kshs 20x to transport 20 units from A to B.
The iterative process in solving transportation problem may be illustrated as below:
62
TABULATE & ENSURE SUPPY =
BALANCE DEMAND
NO
GENERATE
IMPROVED
SOLUTION
X Y Z Capacity
63
Requires 800 100 3100 4000
X Y Z Capacity
A 500 500
sources B 300 100 800 1200
C 2300 2300
Requirements 800 100 3100 4000
Note: To proceed to the next step one would have to take into account two issues:
o Consider the number of filled cells in the table. This should be equal to m+n-1, where m=
total number of sources and n= total no of destinations. This is referred to as a test for
degeneracy. When the number of filled cells is less than m+n-1, the problem is said to be
degenerate. We tackle how to deal with degeneracy later
o Compute the shadow prices for the unfilled cells. This helps in evaluating whether an
optimal solution has been attained, i.e., whether costs can be reduced further if some units
were allocated to the unfilled cells. Since the procedure for computing shadow prices is the
64
same irrespective of the method used, we first consider other methods of giving an initial
solution and have a look at computation of shadow prices later
Vogel’s Approximation Technique (VAT or VAM)
This technique gives a better initial solution than the northwest corner rule method. The
procedure is as follows:
(i) For each source/destination (read row/ column respectively), determine the 2 least
costs.
(ii) Complete the difference and place it at the end of the centre: row [source] / column
[destination]. A centre refers to a source/destination. This difference represents an
opportunity cost
(iii) Determine the largest opportunity cost. The first initial allocation is made to the
cell which has the least cost on that row/column.
(iv) After this allocation, close out the other cells of the centre [source or destination]
whose allocation has been exhausted.
(v) Recalculate the differences for centers [sources / destinations] not yet exhausted,
using only costs related to unfilled cells and continue as in (iii) above until all
allocations are made. We can then compute shadow prices to determine if an
optimal solution has been obtained.
Just like in the northwest corner rule, tests for degeneracy / optimality of the solution would have
to be made
With VAM our initial allocation would have been:
X Y Z Capacity
A X X 500 500
4
B 800 100 300 1200 2
C X X 2300 2300 3
Requirements 800 100 3100 4000
Opportunity /cost2 1 2
2 3 5
65
Cell cost
AZ 1 000
BX 2 400
BY 500
BZ 2 700
CZ 9 200
15 800
As can be seen, the solution obtained gives less initial cost than the northwest corner rule.
X Y Z Capacity
A X X 500 500
B X 100 1100 1200
C 800 X 1500 2300
Requirements 800 100 3100
i.e. allocate to CX; then AZ; next CZ, BY and last BZ.
The cost would be:
Cell Cost
AZ 1 000
BY 500
BZ 9 900
66
CX 800
CZ 6 000
18 200
It can be seen that this initial solution is somewhere between Vogel’s approximation method and
the northwest corner rule.
Procedure in solving:
The following procedure is then used to solve the problem.
67
Methods of computation of shadow prices
Stepping stone method of computing shadow prices
When this method is used, shadow prices for each unfilled cell are computed by “stepping” on or
using only the filled cells. Reallocations will then have to be made by shifting units from one of
the filled cells to the unfilled cell as in (ii) above.
Let us improve on the solution obtained using the least cost method [which is nearer to the
optimal solution than the northwest corner rule initial allocation] in order to avoid many
iterations. The solution had a cost of Sh. 21 300 and was as in the table below:
X Y Z Capacity
A 500 500
B 100 1100 1200
C 800 1500 2300
Requirements 800 100 3100 4000
Since BX has a shadow price of -3, costs can be reduced [by Sh. 3 per unit] if some units were
allocated to that cell. The maximum no of units that can be allocated to that cell is 800 [the
number of units in the cell with the least no of units (and a negative) in the computation of
shadow prices]. We shall end up with an allocation like below.
X Y Z Capacity
A 500 500
B 800 100 300 1200
68
C 2300 2300
Requirements 800 100 3100 4000
Note:
This is the same as the first or initial solution using Vogel’s approximation technique. We need to
recheck for optimality by computing the shadow prices of unfilled cells.
Cell Shadow Price
AX 16 – 5 = 11
AY 15 – 7 = 8
CX 10 – 7 = 3
CY 17 – 9 = 8
All the shadow prices are positive and therefore the solution is optimal
Let us now use the initial solution obtained using the northwest corner rule, and then set R1 = 0.
The values will be:
R1 + K1 = 7 →K1 = 7
R2 + K1 = 3 →R2 = -4
R2 + K2 = 5 K2 = 9
R2 + K3 = 9 K3 = 13
69
R3 + K3 = 4 R3 = -9
Shadow prices of -3 on cell AY and -11 on cell AZ implies that the solution is not optimal. We
allocate some units to AZ [with least opportunity cost. A maximum of 500 units can be
transferred there. This will actually give us the optimal solution.
Unbalanced problems.
This occurs when source totals [capacity] is not equal to the destination [requirement] totals.
Under such circumstances, we add a source/ destination, referred to as a dummy in order to
equate total capacity to total requirements and proceed as usual. The transportation costs in all the
cells along the dummy source / destination are zero since these represent slack variables as we used
in linear programming
This occurs when we need to allocate personnel to jobs in order to minimize costs, e.g., repairmen
Adam, Brown and Cooper would be allocated jobs of repairing a radio, oven, & coffee table with
the following costs.
RadioOven Table
70
Adams 11 14 6
Brown 8 10 11
Cooper 9 12 7
71
C 2 5 0
Step 2
Total opportunity cost table:
R O T
A 5 6 0
B 0 0 3 not optimal, a minimum of 2 lines to cross C
2 3 0 out the zeroes
Step 3
R O T
A 3 4 0
B 0 0 5 3 lines →
optimal solution
C 0 1 0
To allocate:
Check any row /column with only one zero.
→Row for Adam has only one zero on tables: allocate the tables to Adams
→Column for oven has zero only with Brown allocated: Allocate accordingly
→Thus, allocate the radio to Cooper
The cost will be: Personnel Equipment Cost
Adam Table 6
Brown Oven 10
Cooper Radio 9
25
NB: If the no. of people to be assigned or the item is not enough, we use a dummy row
[personnel] /column [equipment] will be created. The problem is then solved as before. The
personnel allocated a dummy eventually will be redundant or the equipment allocated a dummy
personnel is not to be allocated to any of the existing ‘real’ personnel
72
Sometimes we may want to maximize the pay-off. Under such circumstances we need to convert
the problem into a minimization problem before solving. The following initial step converts the
maximization problem into a minimization problem:
Identify the highest value in the payoff table.
Subtract each pay-off in the table from this value.
Then proceed as before, since the problem will have been converted into a minimization
assignment problem
Example:
The US army at the gulf has 4 types of planes to patrol the Iraq airspace. These planes have
different ratings in covering different sectors classified as I to IV according to locality, height of
flying etc. The ratings are given below,
Planes I II III IV
A 20 60 50 55
B 60 30 80 75
C 80 100 90 80
D 65 80 75 70
Required:
Determine what type of plane should be allocated what sector and the total points scored over the
surveillance.
Solution
Conversion of problem from maximization to minimization to problem
I IIIII IV
A 80 40 50 45
B 40 70 20 25
C 20 0 10 20
D 35 20 25 30
73
Row opportunity costs
I II III IV
A 40 0 10 5
B 20 50 0 5
C 20 0 10 20
D 15 0 5 10
A 25 0 10 0
B 5 50 0 0
C 5 0 10 15
D 0 0 5 5
74
Kennedy 55 80 65 55
Required:
Determine the course allocations to the professors in order to maximize overall teaching ratings,
and what will be the maximum rating.
QUESTION 1
a) Given below is the transportation schedule used by Pagomo Ltd in distributing product jito
from its 3 plants A, B and C to the markets coded as D, E, F & G
D E FG PRODUCTION
A 200 400 200 200 1000
B 400 100 - 100 600
C 100 - 900 200 1200
DEMAND700 500 1100 500 2800
The transshipment costs from each of the plants to each of the market warehouses are summarized
as below:
D E FG
A 2796
B 5438
C 3124
Required:
i)Determine the transportation costs currently incurred by Pagomo [4 marks]
ii) Using the least cost method, generate an initial transportation schedule and determine the costs
associated with your schedule [6 marks]
75
iii)Evaluate whether the table generated in (ii) above is optimal and comment on your evaluation
(you may use any method of your choice in computing shadow costs)
[6 marks]
b) The management of a ZESA, a utility company wants to allocate / assign three service (S1, S2
& S3) teams to three geographical areas (Z1, Z2 and Z3). Due to each team’s familiarity with each
zone, their efficiency varies, a fact that is reflected I the service costs in thousands incurred by each
team per week of service in a given zone as shown below:
Sercice Tean Geographical zone
Z1Z2Z3
S1 20 15 31
S2 17 16 33
S3 18 19 27
Required:
Advise the management of ZESA on which service team to be allocated each of the three regions I
order to minimize weekly costs and the associated weekly cost[9 marks]
QUESTION 2
a) A factory has 3 plants P1, P2 and P3 producing goods for export. These goods are stored in 3
alternative warehouses W1, W2 and W3. The production capacities in each of the plants and the
storage capacity in the warehouses over a one month period are summarized as below:
76
PLANT P2 60 80 40
P3 50 60 90
Required:
Using a method of your choice, determine the cost minimizing transportation schedule
[12 marks]
b) A firm selling computers has four technicians contracted to undertake after sales service to
clients. Three clients have requested for service.
The costs of sending the technician to each of the clients is given as below,
Technician Client
Gotech Ltd Mon Bureau Hotmal Ltd
Sh. Sh. Sh.
Otieno 7,500 5,400 4,200
Beth 11,400 5,100 6,900
Cate 4,500 4,800 9,000
Damaris 7,800 8,400 8,700
The management assigns technicians to clients at the at the minimum cost possible.
Determine;
(i) the technician to be assigned each of the clients
(ii)the minimum cost to be incurred (10 marks)
QUESTION 3
a) The TamuTamu products company ltd is considering an expansion into five new sales districts.
The company has been able to hire four new experienced salespersons. Upon analysing the new
salesperson’s past experience in combination with a personality test which was given to them, the
company assigned a rating to each of the salespersons for each of the districts .These ratings are as
follows:
77
Districts
Salespersons 1 2 3 4 5
A 92 90 94 91 83
B 84 88 96 82 81
C 90 90 93 86 93
D 78 94 89 84 88
The company knows that with four salespersons, only four of the five potential districts can be
covered.
Required:
i)The four districts that the salespersons should be assigned to in order to maximize the total of the
ratings (8marks)
ii) Maximum total rating. (2marks)
b) Three ware houses P, Q and R can supply 900, 400, and 800 items respectively. Three stores at
A, B and C require 300; 1200 and 600 items respectively. What is the minimum cost of allocating
the items from the warehouses to the stores if the unit transportation costs are as shown in the
table below:
Transport costs “Sh /item to strore
A B C Total Available
From Warehouse: P Q
R
10
2
1
20
10
20
5
8
7
78
9
4
8
Total Required 300 1 200 600 2 100
Required:
i.How will the items be transported so as to incur the least cost. (14marks)
QUESTION 4
The Steadman research group has been notified that it has received government research grants to
undertake four major projects. The managing director has to assign resrach officer to each of these
projects. Currently there are five research officers-Adams, Ben, Charlie, Dan and Eliud who are
available to carry out these duties. The amount of time required to complete each of the research
projects is dependent on the experience and ability of the research officer who assigned to the
project. The managing director has been provided with an estimate of the project completion time
(in days) for each officer and each project.
Research Officer Project
1 2 3 4
Adams
Ben
Charlie
Dan
Eliud 80
72
96
79
60
64 120
144
148
108
140 60
48
72
52
60 104
110
120
120
92
96
As the four projects have equal priority, the managing director would like to assign research
officers in a way that would minimize the total time (in days) necessary to comlete all four projects
Required:
a) Determine an optimal assignment of research officers to projects and hence determine the total
number of days allocated to these four projects (12marks)
b) State any further allocations that would result in the same total number of days. If research
officers Brown, Charlie and Dan express a preference for projects 2 or 3, while officers Adams and
Eliud express their preference for projects 1 o 4, which of the optimal allocation seems to be the
most sensible for the managing director to make. (8marks)
Question 5
Mtwapa Ltd produces product sigma at 4 plants- A, B, C and D. These are sold at four sales offices
– P, Q, R and S. the production cost differs from one plant to another so that it is Shs 10, Shs 12,
Shs 8 and Shs 9 at plants A-D respectively. Similarly, the selling prices per unit are Shs 30, Shs 32,
80
Shs 28 and Shs 25 respectively for sales point P-S. Given below are the unit transportation costs
from each of the plants to the respective sales offices.
PQ R S CAPACITY
A 5 8 2 2 400
B 7 6 3 4 750
C 10 50 7 6 520
D 4 8 5 4 330
DEMAND800 250 650 300 2 000
Required
a) Determine the profit matrix for Mtwapa Ltd
b) Determine the optimal allocation so as to maximize profits and the maximum PROFIT
6: CALCULUS
DIFFERENTIAL CALCULUS
The relationship between the independent variable and the dependent variable may be presented
in form of a graph. In some business applications, this relationship may be linear, in which case it
is represented by:
Y=a+bX
Where Y is the dependent variable (plotted on the vertical (Y) axis
X is the independent variable (plotted on the horizontal (X) axis,
‘a’ is a constant, the Y-axis intercept or value of dependent variable when
independent variable is equal to zero (0)
‘b’ is a constant, the slope of the function, representing change in the
dependent variable (Y) as a result of a change in the dependent variable
Sometimes however, the relationship between the independent and dependent variables may not
be linear. For such curvi-linear functions, the slope changes with the level of independent variable.
Differential calculus deals with the determination of the slope of such non-linear functions. The
81
derivative (differential) of a function is given as dy/dx, representing change in Y (dependent
variable) as a result of changes in X, (independent variable).
2. Product rule:
For a function a product function such that Y = U.V, where both U and V are expressed
in form of the dependent variable, then;
Dy/dx = Udv/dx + Vdu/dx
e.g., If Y = (3X2 + 5X) (9X3 - 10X2)
Then U = 3X2 + 5X and du/dx = 6X + 5
V = 9X3 – 10X2 and dv/dx = 27X2 – 20X
dy/dx = Udv/dx + Vdu/dx = (3X2 + 5X) (27X2 – 20X) + (9X3 – 10X2) (6X + 5)
When expanded, this comes into:
dy/dx = 81X4 – 60X2 + 135X3 – 100X2 + 54X4+ 45X3 – 60X3 – 50X2
And when the like terms are brought together, it comes into;
dy/dx =135X4 + 120 X3 - 210 X2
NB:
If the original function was put in its expanded form by opening the brackets and then
differentiating it, we would end up with the same result. The expanded form of the
function will be given by:
Y = 27X5 – 30X4 + 45X4 - 50X3
Y = 27X5 + 15X4 - 50X3
82
3. The chain rule
When Y = (U)n, where U is a function of X, the independent variable, then:
dy/dx = dy/du.du/dx
e.g., If Y = (3X2 + 8X)4, then:
Y = U4 where U = 3X2 + 8X
dy/du = 4U3 and du/dx = 6X + 8
dy/dx = 4U3(6X + 8) = 4(3X2 + 8X)3. 6X + 8
4. Quotient rule
When Y is a quotient function such that Y = U/V, where both U and V are functions of X
the independent variable, then;
dy/dx = (Vdu/dx – Udv/dx) / V2
e.g., If Y = (5X2 + 15X) / (2X – 5), then:
U = 5X2 + 15X and du/dx = 10X + 15
V = 2x – 5 and dv/dx = 2
Therefore dy/dx = [(2X – 5) (10X + 15) – 2 (5X2 + 15X)] / [(2X – 5)]2
Cost applications
83
For a total cost function, the first derivate (dTc/dQ) gives the marginal cost. Costs are minimized
when the marginal cost is equal to zero. The second order condition required for minimization is
that the second derivative d2TC/dQ2 > 0
Revenue applications.
The derivative (differential) of the total revenue, i.e., dTR/dQ is the marginal revenue. Revenue is
maximized when the marginal revenue is equal to zero. The second order condition for
maximization is that the second derivative should be less than zero (0) or negative; i.e.;
d2TR / dQ2 < 0
|ep| = Σ
|ep| > 1
|ep| = 1
|ep| < 1
84
Q* |ep| = 0 Quantity
Note:
Total revenue (TR) is maximized when |ep| = 1, at quantity Q*
If |ep| > 1 prices should be reduced in order to maximize total revenue
If |ep| < 1 prices should be increased in order to maximize total revenue
ILLUSTRATION
Kaloleni Ltd manufactures a single product. The demand curve for the product is given by the
equation:
P = 5 600 – 4Q, where P is the selling price per unit in shillings and Q is the number of units sold
The average cost per month is given by the equation:
AC = 164 000/Q – 700 + 2Q
Required:
a) Determine the marginal revenue function and the marginal cost functions expressed in terms of
the output, Q [5 marks]
b) Determine the quantity that Kaloleni should produce in order to:
i) Maximize revenue and the maximum revenue per month [4 marks]
ii) Minimize the total costs and the minimum cost per month [4 marks]
iii) Maximize the profit and the maximum profit in a month [4 marks]
iv) The selling price per unit, the average cost per unit and the total fixed costs at the quantity
determined in (iii) above [3 marks]
c) Kaloleni is operating at the revenue maximizing level of output determined in (i) above. If the
objective of the company is to maximize profits, explain whether the company should consider
a price increase or decrease, and the change in price per unit you would recommend and its
effect on the profit [5 marks]
Solution:
a) i) Total revenue (TR) = Price x Qty. (P*Q)
TR = (5 600 – 4Q).Q
85
TR = 5 600Q - 4Q2
Total cost is given as: TC = AC*Q
= (164 000/Q – 700 + 2Q)*Q
= 164 000 – 700Q + 2Q2
Marginal cost (MC) is given by = dTC/dQ
= -700 + 4Q
i) To max Total revenue (TR), Marginal revenue (MR) = 0
MR = dTR/dQ = 5600 – 8Q = 0
8Q = 5 600
Q = 700
For second order condition: d2TR/dQ2 = -4; (-ve (less than zero) implies it is a maximum)
TR = 5 600 *700 – 4*(700)2
= 1 960 000
ii) To minimize total costs (TC), marginal cost (MC) = 0
Therefore -700 + 4Q = 0
4Q = 700
Q = 175 units
For second order condition: d2TC/dQ2 = 4; (+ve (more than zero) implies it is a minimum)
Minimum costs by substituting are given by:
TC = 164 000 – 700*175 + 2*(175)2
= 102 750
iii) In order to maximize profits (Σ);
Σ = TR –TC
= 5 600Q – 5Q2 – (164 000 – 700Q + 2Q2)
= 5 600Q – 5Q2 – 164 000 +700Q - 2Q2
= -7Q2 + 6 300Q - 164 000
Profit (Σ) is maximized when dΣ/dQ = 0
= -14Q + 6 300 = 0
14Q = 6 300
Q=450 units
86
D2/dQ2 = -14 (-ve, implies that it is a maximum)
OR ALTERNATIVELY
For profit (Σ) maximization, Marginal cost (MC) = Marginal revenue (MR)
This then implies that: -700 + 4Q = 5600 – 8Q
14Q = 6 300
Q = 450 units
Profit (Σ) = TR -TC
TR = 5 600*450 – 4* (450)2 = 1 710 000
TC = 164 000 – 700*450 + 2* (450)2 = 254 000
Profit (Σ) 1 456 000
87
GAMES THEORY & PROBLEMS
In a competitive environment, the competing parties devise different strategies for success.
Amongst the various possible alternatives of strategies, the selected for the purpose of
making an effective decision. In a business situation where two competitors are involved,
the decision maker has to study the move of the competitor. Therefore, a ‘game’ between
the concerned competitors arises as a result of actions and interactions that are involved.
Business firms competing with other another are of various categories. There are those
firms that try to find the best amongst the various media of advertising such as radio,
newspapers, TV, etc. also, business firms dealing with more or less similar products try to
explore various strategies for capturing each other’s markets and thereby attract customers.
In matters of defence involving Army, Navy and Air force, there can arise various
‘competing strategies’ or games evolving attacks between the forces at war.
88
Preliminary Details:
1) The participants in a game who take decisions are called ‘Players’.
2) A finite number of all the possible outcomes of actions that are open to
a player are called ‘Strategies’.
3) When a player selects one of the strategies from among those available to
him, then a ‘Pay off’.
4) An outcome which is a result of every combination of strategies adopted
by players is called a ‘Pay Off’.
5) When the different games that result from a game are presented in a
tabular form, it is called a ‘Play off Matrix’.
6) The maximum element from amongst the minimum elements pertaining
to each respective row is called ‘Maxmin’.
7) The minimum element from amongst the maximum elements pertaining
to each respective row is called ‘Minimax’.
8) When the maximum value of a player and the minimax value of his
opponent happen to result in an identical element then that element is called ‘Saddle Point’.
9) If two persons play a game and when the algebraic sum of the games of
both the players at the end of the play is zero, then such a game is called ‘Two person-zero-
sum game’. It should be noted that the gain of a player is loss of his opponent. The
following example relates to a payoff matrix of a zero sum two persons’ game.
10) Pure strategy: A player ‘A’ adopts minimax strategy and B adopts
maxmin strategy. Here saddle point is said to be a pure strategy game when there is a saddle
point. Game without a saddle point necessitate the use of mixed strategies. A player’s best
strategy would be to maximize his gain or minimize his loss.
Problem – 1:
Player B
I II
I 28
89
II 89
Find the best strategy for each player and the value of the game.
Solution:
If Player A adopts strategy I and B also adopts strategy I, then the gain to A would be 2 (B
pays A 2 units).
Here, by adopting strategies A finds the minimum gains and tries to obtain the maximum
amongst these minimum gains.
By adopting strategies 1 and II B finds his maximum losses and tries to obtain the minimum
amongst those.
Column Maximum 8 9
Minimax
Minimax = Maxmin = 8
The 8 units represents the element which is called the ‘Saddle Point’ because the Minimax
= Maxmin.
The value of the game is 8 as it represents the game of the player A. The optimal strategies
of players are written as
Player A : (0, 1)
Player B : (0, 1)
90
The optimal value of the game is 8.
Player B
I II
Player A I 68
II 8 9
Solution:
Player B Row minimum
I II
Player A I 6 8 8 Maxmin
II 8 9
Column Maximum 8 9
Minimax
Saddle Point = 8
Value of the game= 8
Problem 3:
Solve the following game.
Player B
I II II IV V
I 12345
II 3 7 5 4 2
91
III 1 5 4 3 7
IV 6 7 5 8 5
V 14352
Solution
Player B Row Minimum
123451
Player A 375422
675851
143251
Column Maximum 6 7 5 8 7
Minimax
Saddle Point is 5.
Optimal strategies for A : (0,0,0,1,0)
Optimal Strategies for B : (0,0,1,0,0)
Value of the game = V = 5
Player B
g11 g12
Player A g21 g22
92
We assume the probability that player B commences with the 1st row to be ‘b’ and that for
commencing with the 2ndrow to be 1-b
If B plays the 1st column then A gains.
g11 g21 (1-a) ………………………… (1)
If B plays the 2nd column, then A gains
g22 - g21
a=
(g11 - g21) + (g22 - g12)
G11 - g12
And 1 - a =
(g11 - g12) + (g22 - g12)
Proceeding in a similar manner, we can find the optimal strategies for B. If A plays the 1st
row then the gain to B would be:
93
g21 b + g22 (1-b) ………………………… (4)
g11 - g12
And 1 - a =
(g11 - g21) + (g22 - g12)
Problem -4:
Find the value of the following game:
Player Y Row Minimum
94 4
Player X 5 6 5 Maxmin
Column Maximum 9 6
94
Minimax
Here Maxmin Minimax
So there is no saddle point.
Therefore the game is a mixed strategy game.
If 9 4 gg
5 6 gg
1 – a = 1- 1 = 5
6 6
Further,
g22 - g21 = . (6 - 4)
b= (9 – 5) + (6 -4)
(g11 - g21) + (g22 - g12)
2 =2
=
6 3
95
1 =2
1-b = 1-
3 3
(9 x 6)-(5 x 4)
=
(9 - 4) + (6 -5)
54 - 20 = 2 = 5 2 Units
=
5+1 6 3
Interpretation
From the above working it follows that the player X can play the first row for (1/6)Th of
the time and the second row for (1/6)TH of the time and the second row for (5/6)TH of
the time. By doing so he can gain at least 5 2/3 units. At the same time Y can play the first
column for (1/3)rds of the time and the second row for (2/3)rds of the time. By doing so,
he can restrict his loss to 5 2/3 units.
Simplified method
The method of solving a mixed strategy problem can be simplified by using an alternative
algebraic as explained below:
96
Column Difference 9 – 5 6-4
Sum = 4 + 2= 6
Ratios = 4/6 2/6
Interchanging
the ratio 2/6 4/6
i.e. 1/3 2/3
Strategy for A is (1/6, 5/6)
Strategy for B is (1/3, 2/3)
Value of the game is
= g11a + g21 (1 – a)
= 9(1/6) + 5(5/6) = 9/6 + 25/6 + 34/6 + 5 ½ Units.
Dominance Method
97
According to this method, if every element of the row is greater than or equal to the
corresponding element of every other row, then such a row is called the dominating row
and the row over which it dominates is called the dominated column.
By elimination of such dominated rows and columns (strategies) in a game, the pay off
matrix in a game gets simplified for arriving at a solution.
This procedure of solving by dominance is explained in the following problems.
Problem -5:
Player Y
I II III
I 9 7 4
Player X II 3 4 1
III 6 8 7
Here every element of the 1st row is greater than the corresponding element of the second
row. Therefore the dominated row is 2nd row. By eliminating this row, we get
Player Y
I II III
I 9 7 4
Player X III 6 8 7
Here every element of the 3rd column is less than the corresponding element of the 2nd
column, we get
Player Y
I II
I 9 7
Player X III 6 8
As there is no saddle point, this game can be solved as a mixed strategy game
98
Player X
III 6 8 8–6=2 2/4 1/2
Sum 4
Difference 9 – 6 = 38 – 7 = 1
Sum of diff. = 3 + 1= 4
Ratios =¾¼
Interchanging
The ratio ¼¾
= 9 (1/2) + 6 (1/2)
= 9/2 + 3 = 7 ½ Units.
(i) it should be assumed that the saddle point does not exist and that the
dominance method is inapplicable.
(ii) The given matrix should be broken into games of 2X2 matrices and each
sub-games should be solved separately.
(iii) We select the sub-game which provides the optimal gain to a player.
The procedure of sub-games method has been explained with the help of problem No. 6v
below.
Problem - 6.
Player B
99
138
Player A
642
This matrix can be arranged to form the following sub-games:-
1 3 38 18
6 4 42 62
(i) (ii) (iii)
Column Maximum 6 4
Minimax
Saddle point exists
The value of the game is 4.
(ii)
3 8
4 2
This sub-game has no saddle point. Therefore we solve it by the mixed strategy method.
Player B Row Diff. Ratios Interchanging Ratios
3 8 -5 5/7 2/7
Player A
4 2 -2 2/7 5/7
Sum -7
Difference 1 6
Sum of diff. = 7 6/7
100
Ratios = 1/7 6/7
Interchanging
The ratio 6/7 1/7
101
Problem – 7:
Player B
32
Player B 1 4
57
This matrix can be arranged to form the following sub games:-
3 2 14 32
1 4 57 57
(i) (ii) (iii)
Column Maximum 3 4
Minimax
Here there is no saddle point.
Difference 2 2
Sum of diff. = 4
Ratios = 2/4 2/4
Interchanging
102
The ratios ½ ½
Column Maximum 5 7
Minimax
32 2
Player A 57 5 Maxmin
Column Maximum 5 7
Minimax
103
From the three strategies that are the available to A, we find that the maximum value of the
game for A is 5. Hence the strategy of the game is decided in terms of the maximum gains
to A, which is 5 units.
QUESTION 1
You are provided with the following pay-off table
PLAYER Y
Y1Y2Y3
X1 3 5 -3
Player X X24 8 6
X3 -1 -4 3
Required
a) Interpret the values ‘5’ and ‘-1’ in the table
b) Using the payoff table, explain the concept of dominance as used in
game theory, clearly indicating whether there is any strategy that is dominated for each of
the players
c) Using the minimax and the maximin rules, establish whether there is a
saddle point for this game
QUESTION 2
Solve the following pure strategy game for players X and Y and determine the game value
PLAYER Y
Y1Y2
X1 6 10
Player X X28 12
X3 5 7
104
QUESTION 3
You are provided with the following pay-off matrix for players X and Y
PLAYER Y
Y1Y2
X1 5 8
Player X
X2 11 6
Required
Solve the game to determine the proportion of the tie each player uses each of his strategies
and determine the game value
QUESTION 4
You are provided with the pay-off table. Use the table to determine the game value and the
optimal strategy for each of the competitors
PLAYER Y Player B
Y1Y2Y3 B1 B2
X1 9 7 4 A1 8 9
Player X X23 4 1 Player A A2 12 8
X3 6 8 7 A3 7 10
QUEUING THEORY
This theory deals with problems that involve queuing or waiting. There are many areas where
queues are experienced in the service industry eg supermarkets banks airports etc. queues form /
arise because resources are limited. The essence of queuing theory is to minimize the queues (the
no of units in the system and the costs associated with the queue.) ie determination of the
optimum service rate so as to minimize the costs associated with the queue. This may be illustrated
graphically as follows.
105
Total costs
Service costs
Costs
Waiting costs
106
NB:
In queuing theory we assume that there is no balking, reneging or jockeying
Servers
Queues can be classified according to the number of service points and how service is organized.
Important queuing systems include
Single server – single queue (single channel facility)
Multiple servers – Multi server (multiple channel facility)
Sequential queues
In this course, we are interested in single channel queuing model
Single channel Queuing model
The conditions required for a single channel facility include:
1. The number of arrivals per unit of time follows a Poisson probability distribution with a mean
arrival rate μ (lambda)
2. The service time has an exponential distribution. The average service rate is given by Σ (mu)
3. Arrivals are from an infinite population
4. Queuing discipline is first in first out.
5. There is only one single server or service station.
6. The mean arrival rate (μ) is less than the means service rate (μ) i.e., μ < μ
7. The waiting space available for customers in the queue is infinite and can therefore take any
number of customers
Question 1
Customers arrive at a sales counter at an average rate of 20 customers per hour. The arrival rate is
random and may be assumed to follow a Poisson distribution. The time required to serve each
customer has an exponential distribution with a mean of 2 minutes.
107
Required:
a) The average waiting time in the queue
b) The average waiting time in the system
c) The average number of customers in the queue
d) The average number of customers in the system
e) Probability that there are no customers in the system
Solution
a) Average waiting time in the queue = μ/ μ (μ -μ)
μ = 20 customers/hr
1 hr = 60 minutes: Σ = 60/2 = 30 customers per hour =
Average waiting time in the queue = 20/30(30-20) = 20/300 hours =
0.067 hrs or 4 minutes = 1/15
The average waiting time in the system (Ws) = 1/ (Σ -μ)
= 1/ (Σ -μ) = 1/(30 -20) = 1/10 = 0.1hours = 6 minutes
b) The average no of customers in the queue (Lq) = μ2/ Σ (Σ-μ)
= (20)2/20(30 – 20)
= 400 / 200
= 2 customers
c) The average no of customers in the queue (Ls) = μ/( μ - μ) = 20/10 = 2 customers
d) Probability that the system is idle;
P(idle) = 1 – (μ/ μ)
= 1 – (20/30) = 1 – 0.6667 = 0.333
Exercises
Question 1
The arrival rate of customers in a barber shop follows a Poisson probability distribution with a
mean of 5 customers per hour. It takes the barber an average of 8 minutes to do a haircut, with the
average time following an exponential distribution.
Required:
108
a) The average number of customers in the system
b) The average waiting time in the system
c) Compute the probability of having 3 customers in the queue
Question 2
Aero planes arrive at Jomo Kenyatta International Airport at an average rate of 20 planes per
hour. The arrival is random and may be assumed to follow a Poisson distribution. The rate at
which the planes are given permission to land depends on the weather, with a mean landing rate of
40 planes per hour in good weather and 25 planes per hour in bad weather.
Required:
Under each of the weather conditions, determine
a) The average number of planes circling the airport
b) The average number of planes in the system: i.e., in the process of landing or circling the
airport
c) The average waiting time in the system
d) The average waiting time in the queue
e) The time a plane spends in the ‘landing’ process itself
9: SIMULATION
The process of simulation
Importance of simulation to managers
Areas of application of simulation in an organization
Limitations of simulation
109
Tusian & Pandey (2008) define simulation as a numerical technique for conducting experiments ….
which involve certain types of mathematical and logical relationships necessary to describe the
behavior and structure of a complex real world system over extended period of time. They see it as
a quantitative model that uses computerized mathematical model to represent actual decision
making under conditions of uncertainty. Alternative courses of action are evaluated on the basis of
facts and assumptions. Repeated experiments are performed to re-create a real world system
representing an observed phenomenon. The model uses probabilistic input variables (at times
together with controllable inputs) to generate the output. This may be illustrated as below.
CONTROLLABLE INPUTS
The values for the probabilistic input variables are generated randomly. The model for generating
these inputs uses random numbers as well as probabilities and is referred to as the Monte Carlo
System. After a series of experiments using the simulation model, the analysis can show the
relationship between the controllable inputs that will provide desired output of the real system.
110
4. Determine the output associated with each combination of probabilistic inputs and
controllable inputs and record the simulated result.
This procedure is iterative in nature and many repeated trials have to be performed before a real
world situation representing the phenomena under analysis is presented. It may be illustrated as
follows:
Define the
controllable variables
Generate probability
table for each
probabilistic inputs
111
Illustration
A small garage was opened along the Mombasa Malindi road. An observation was made of the
number of vehicles that stopped by for refueling. You are provided with the following
information on the statistics for the first 50 days of operation
No of vehicles refueling 5 10 15 20 25 30
No of days: 2 6 8 16 12 6
The number of litres of petrol filled into the cars was observed over the same period and is
summarized below:
Qty of fuel (litres/car) 10 15 20 25 30 35 40
No of days 4 6 16 10 6 6 2
Petrol is sold at a price of Shs 75 per litre, with a variable cost of Shs 48 per litre. The company
incurs variable costs of Shs 50 per vehicle refueling at the station, and the fixed costs per week
amount to Shs 15 000.
Required
Simulate the process over the next one week and determine the profit / loss based on the
following random sequence of numbers for the number of vehicles and then the quantity of fuel
respectively: 1749820645786362965338980432
Solution:
No. of vehicles: 5 10 15 20 25 30
No. of days 2 6 8 16 12 6
Probability: 2/50 = 0.04 012 0.160.320.240.12
Cumulative probability 0.04 0.160.320.640.88 1.00
Random numbers allocated 00 -04 05-15 16-31 32-63 64-87 88-99
112
Cumulative probability 0.08 0.200.520.72 0.84 0.961.00
Random numbers: 00 -09 10-19 20-51 52-71 73-83 84-95 96-99
Exercise
In a Quantitative methods class, lateness has been observed for the last few days. You are provided
with the following data:
No. of late students:0 1 2 3 4 5 6
Probability: 0.1 0.130.18 0.20 0.250.070.04
113
Required
Simulate the lateness of the students for the next 12 days and compute the average number of late
students based on the simulated data
114
(iv) It is always preferable to test in an appropriate manner, a simulation solution prior to its
acceptable as the best solution.
B) Demerits
(i) It should be noted that the process of simulation may not guarantee a perfect optimal solution
to a problem. Obviously its methodology does not ensure optimality.
(ii)It is applicable only if some data is provided. In other words, its basis rests on the assumptions
of a certain system that can be fitted to a given situation.
(iii) The procedure of simulation does not provide mathematically accurate results but only yields
estimates based on certain suppositions.
(iv) In certain problems the process of simulation involves sampling error. This can be avoided
only if the sample size is modified.
(v) Its use in certain problems may not prove to be economical.
(vi) Unless the concerned problems are amenable to random phenomena, it may not be possible to
use to Monte Carlo simulation technique.
(vii) The procedure of simulation aims at finding a solution to a problem. However such a solution
may not be precise so as to be considered as the correct and final solution to a problem
Question 1
Required
115
i)maximize total revenue
iii) to break-even
b) Currently the production of Alpha is 800. The sales director is of the opinion that a reduction in selling
price per unit will lead to an increase the market share. The Managing director is of the opinion that the
price should be increased in order to increase the total revenue. Advice the management on whether to
increase or reduce the price per unit if their objective is to maximize the total revenue
c) The production director recommends that production should be increased to 1 000 units so as to take
advantage of current low material price. Determine the effect on profits if this recommendation is adopted
Question 2
Q=10,000-125P
Where Q equals the average number of riders per hour and p equals the fare in the shillings.
Required:
[a] Determine the fare , which should be charged in order to maximize hourly bus fare revenue.
[c] How many riders per hour are expected under this figure?
Question 3
A major cosmetic and beauty supply firm which specializes in door-to door sales approach, has found that
the response of sales to the allocation of additional sales representation behaves according to the law of
diminishing returns. For one region sales district, the company estimates that annual profit P, stated in
hundred of shillings, is a function of the number of sales representations x assigned to the district. The
function these two variables is
116
P = f (x) = - 12.5x2 + 1,375x – 1,500
a) What number of representations will result in maximum profit for the district?
Question 4
A Company estimates that the demand for its products fluctuates with the price it charges. The demand
function is q = 280,000 – 400p
Where q equals the number of units demanded and p equals the price in dollars. The total cost of producing
q units of the product is estimated by the function.
Required:
a) Determine how many units q should be produced in order to maximize annual profit.
Question 5
The cost accountant of a firm producing colour television has worked out the total cost function for the
firm as TC= 120Q – Q2 + 0.02Q3. A sales manager has provided the sales forecasting function as P= 114 –
0.25Q where P is price and Q the quantity sold Where P = Price in £
Required:
i)Find the level of production that will yield minimum average cost per unit and determine whether this
level of output maximizes profit for the firm.
ii) Determine the price that will maximize profit for the firm.
Question 6
117
A firm analyzed its operating conditions, prices and costs and has developed the following functions:
Revenue = 400Q – 4Q2 and cost = Q2 + 10Q + 30 where Q is the number of units sold. The firm wishes
to maximize profit and wishes to know:
b) At what price?
Question 7
Required:
a) Determine the additional revenue associated with increase in sales from 300 to 400 units
b) Determine the additional costs associated with increase in sales from 300 to 400 units
c) What will be the change in profits when sales are increased from 200 to 300 units
i)Minimize costs
Queuing theory
118
Question 1
Customers arrive at a sales counter at an average rate of 20 customers per hour. The arrival rate is random
and may be assumed to follow a Poisson distribution. The time required to serve each customer has an
exponential distribution with a mean of 2 minutes.
Required:
Exercises
Question 1
The arrival rate of customers in a barber shop follows a Poisson probability distribution with a mean of 5
customers per hour. It takes the barber an average of 8 minutes to do a haircut, with the average time
following an exponential distribution.
Required:
Question 2
Aero planes arrive at Jomo Kenyatta International Airport at an average rate of 20 planes per hour. The
arrival is random and may be assumed to follow a Poisson distribution. The rate at which the planes are
119
given permission to land depends on the weather, with a mean landing rate of 40 planes per hour in good
weather and 25 planes per hour in bad weather.
Required:
b) The average number of planes in the system: i.e., in the process of landing or circling the airport
Simulation
Illustration
A small garage was opened along the Mombasa Malindi road. An observation was made of the number of
vehicles that stopped by for refueling. You are provided with the following information on the statistics for
the first 50 days of operation
No of vehicles refueling 5 10 15 20 25 30
No of days: 2 6 8 16 12 6
The number of litres of petrol filled into the cars was observed over the same period and is summarized
below:
No of days 4 6 16 10 6 6 2
Petrol is sold at a price of Shs 75 per litre, with a variable cost of Shs 48 per litre. The company incurs
variable costs of Shs 50 per vehicle refueling at the station, and the fixed costs per week amount to Shs 15
000.
120
Required
Simulate the process over the next one week and determine the profit / loss based on the following random
sequence of numbers for the number of vehicles and then the quantity of fuel respectively:
1749820645786362965338980432
Exercise
In a Quantitative methods class, lateness has been observed for the last few days. You are provided with the
following data:
Required
Simulate the lateness of the students for the next 12 days and compute the average number of late students
based on the simulated data. Use the following set of random numbers [278145632786940539513771]
121