Operations Research Module
Operations Research Module
OPERATIONS RESEARCH
COURSE MODULE
Decision-making in today‘s social and business environment has become a complex task. The
uncertainty of the future and the nature of competition and social interaction greatly increase the
difficulty of managerial decision-making. Knowledge and technology are changing rapidly, new
problems with little or no precedents continually arise. Hence, in order to effectively address this
problem and provide leadership in the advancing global age, decision-makers cannot afford to
make decision by simply applying their prior experiences, guess work or intuition. To this effect,
operations research as one of the quantitative decision making tool offers the decision-maker a
method of evaluating every possible alternative by using various techniques to know the
potential outcomes.
This course covers the basic quantitative models that can be used to describe and solve certain
kinds of problems such as product mix, investment, transportation, work assignment, capacity
planning, Project Management and other business related problems that confront managers.
The course has six units. To help you in studying the course material, this course is classified in
to two modules. The first module covers linear programming and its applications. It has two
units: Unit one deals with Introduction to operations research and unit two discusses about the
linear programming (LP).
The second module deals with applications of operations research and has four units:
Transportation and Assignment problems, Decision theory, Project Management, and
Introduction to Game Theory. Each unit is further subdivided into sections including summaries
and self-check exercises.
The time allotted for this course is equivalent to a course with four credit hours per week in a
conventional class room study. On average, one contact hour of conventional classroom is
considered to be equivalent to three study hours in distance learning. Therefore, you are expected
to devote at least 192 hours to successfully accomplish your work on this course.
1.0.INTRODUCTION
After Studying this chapter, you should be able to:
Understand the meaning, purpose, and tools of Operations Research
Describe the history of Operations Research
Describe the Stages of Operations Research
Explain the Applications of Operation Research
Describe the Limitations of Operation Research
Understand the Operations Research specialist and Manager relationship
Operation Research is a relatively new discipline. The contents and the boundaries of the OR are
not yet fixed. Therefore, to give a formal definition of the term Operations Research is a difficult
task. The Operations Research starts when mathematical and quantitative techniques are used to
substantiate the decision being taken. The main activity of a manager is the decision making. In
our daily life we make the decisions even without noticing them. The decisions are taken simply
by common sense, judgment and expertise without using any mathematical or any other model in
simple situations. But the decision we are concerned here with are complex and heavily
responsible. Examples are public transportation network planning in a city having its own layout
of factories, residential blocks or finding the appropriate product mix when there exists a large
number of products with different profit contributions and production requirement etc.
Operations Research tools are not from any one discipline. Operations Research takes tools from
different discipline such as mathematics, statistics, economics, psychology, engineering etc. and
combines these tools to make a new set of knowledge for decision making. Today, Operations
Research became a professional discipline which deals with the application of scientific methods
for making decision, and especially to the allocation of scarce resources. The main purpose of
Operations Research is to provide a rational basis for decisions making in the absence of
complete information, because the systems composed of human, machine, and procedures may
do not have complete information.
Operations Research can also be treated as science in the sense it describing, understanding and
predicting the systems behavior, especially man-machine system. Thus Operations Research
specialists are involved in three classical aspect of science, they are as follows:
Determining the systems behavior
Analyzing the systems behavior by developing appropriate models
The emphasis on analysis of operations as a whole distinguishes the Operations Research from
other research and engineering. O.R. is an interdisciplinary discipline which provided solutions
to problems of military operations during World War II, and also successful in other operations.
Today business applications are primarily concerned with Operations Research analysis for the
possible alternative actions. The business and industry befitted from Operations Research in the
areas of inventory, reorder policies, optimum location and size of warehouses, advertising
policies, etc. As stated earlier defining Operations Research is a difficult task. The definitions
stressed by various experts and Societies on the subject together enable us to know what
Operations Research is, and what it does. They are as follows:
Morse and Kimball have stressed Operations Research is a quantitative approach and
described it as ― a scientific method of providing executive departments with a
quantitative basis for decisions regarding the operations under their control‖.
Miller and Starr state, ―Operations Research is applied decision theory, which uses
any scientific, mathematical or logical means to attempt to cope with the problems that
confront the executive, when he tries to achieve a thorough-going rationality in dealing
with his decision problem‖.
1936
Early in 1936 the British Air Ministry established Bawdsey Research Station, on the east coast,
near Felixstowe, Suffolk, as the centre where all pre-war radar experiments for both the Air
Force and the Army would be carried out. Experimental radar equipment was brought up to a
high state of reliability and ranges of over 100 miles on aircraft were obtained.
It was also in 1936 that Royal Air Force (RAF) Fighter Command, charged specifically with the
air defense of Britain, was first created. It lacked however any effective fighter aircraft - no
Hurricanes or Spitfires had come into service - and no radar data was yet fed into its very
elementary warning and control system.
It had become clear that radar would create a whole new series of problems in fighter direction
and control so in late 1936 some experiments started at Biggin Hill in Kent into the effective use
of such data. This early work, attempting to integrate radar data with ground based observer data
for fighter interception, was the start of Operations Research.
1937
The first of three major pre-war air-defense exercises was carried out in the summer of 1937.
The experimental radar station at Bawdsey Research Station was brought into operation and the
information derived from it was fed into the general air-defense warning and control system.
From the early warning point of view this exercise was encouraging, but the tracking information
obtained from radar, after filtering and transmission through the control and display network,
was not very satisfactory.
1938
In July 1938 a second major air-defense exercise was carried out. Four additional radar stations
had been installed along the coast and it was hoped that Britain now had an aircraft location and
control system greatly improved both in coverage and effectiveness. Not so! The exercise
revealed, rather, that a new and serious problem had arisen. This was the need to coordinate and
correlate the additional, and often conflicting, information received from the additional radar
stations. With the outbreak of war apparently imminent, it was obvious that something new -
drastic if necessary - had to be attempted. Some new approach was needed.
1939
In the summer of 1939 Britain held what was to be its last pre-war air defense exercise. It
involved some 33,000 men, 1,300 aircraft, 110 antiaircraft guns, 700 searchlights, and 100
barrage balloons. This exercise showed a great improvement in the operation of the air defense
warning and control system. The contribution made by the Operations Research team was so
apparent that the Air Officer Commander-in-Chief RAF Fighter Command (Air Chief Marshal
Sir Hugh Dowding) requested that, on the outbreak of war, they should be attached to his
headquarters at Stanmore in north London.
Initially, they were designated the "Stanmore Research Section". In 1941 they were redesignated
the "Operational Research Section" when the term was formalized and officially accepted, and
similar sections set up at other RAF commands.
1940
On May 15th 1940, with German forces advancing rapidly in France, Stanmore Research Section
was asked to analyses a French request for ten additional fighter squadrons (12 aircraft a
squadron - so 120 aircraft in all) when losses were running at some three squadrons every two
days (i.e. 36 aircraft every 2 days). They prepared graphs for Winston Churchill (the British
Prime Minister of the time), based upon a study of current daily losses and replacement rates,
indicating how rapidly such a move would deplete fighter strength. No aircraft were sent and
most of those currently in France were recalled.
This is held by some to be the most strategic contribution to the course of the war made by
Operations Research (as the aircraft and pilots saved were consequently available for the
successful air defense of Britain, the Battle of Britain).
1941 onward
In 1941, an Operational Research Section (ORS) was established in Coastal Command which
was to carry out some of the most well-known Operations Research work in World War II.
The responsibility of Coastal Command was, to a large extent, the flying of long-range sorties by
single aircraft with the object of sighting and attacking surfaced U-boats (German submarines).
The technology of the time meant that (unlike modern day submarines) surfacing was necessary
to recharge batteries, vent the boat of fumes and recharge air tanks. Moreover U-boats were
much faster on the surface than underwater as well as being less easily detected by sonar.
In 1951 a committee on Operations Research formed by the National Research Council of USA,
and the first book on ―Methods of Operations Research‖, by Morse and Kimball, was published.
In 1952 the Operations Research Society of America came into being.
Success of Operations Research in army attracted the attention of the industrial mangers who
were seeking solutions to their complex business problems. Now a days, almost every
organization in all countries has staff applying operations research, and the use of operations
research in government has spread from military to wide variety of departments at all levels. The
growth of operations research has not limited to the U.S.A. and U.K., it has reached many
countries of the world.
Activity2: When do you think operations research came into an existence as a discipline (field of
study)?
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
At this step the solution obtained from the previous step is implemented. The implementation of
the solution involves mo many behavioral issues. Therefore, before implementation the
implementation authority has to resolve the issues. A properly implemented solution results in
quality of work and gains the support from the management.
Accounting:
Assigning audit teams effectively
Credit policy analysis
Cash flow planning Developing standard costs Establishing costs for byproducts
Planning of delinquent account strategy
Construction:
Project scheduling, monitoring and control Determination of proper work force Deployment of work
force
Allocation of resources to projects
Facilities Planning:
Factory location and size decision
Estimation of number of facilities required
Hospital planning
International logistic system design Transportation loading and unloading Warehouse location decision
10
Manufacturing:
Inventory control
Marketing balance projection Production scheduling Production smoothing
Marketing:
Advertising budget allocation
Product introduction timing
Selection of Product mix
Deciding most effective packaging alternative
Purchasing:
Optimal buying
Optimal reordering
Materials transfer
Problem identification
Diagnosis of the problem from its symptoms if not obvious (i.e. what is the problem?)
11
Types of Models
Types of models are classified in a number of ways taking different basis as a ground like the
level of abstraction, form and the way they are used. Based on the level of abstraction, models
can be classified as:
Physical (iconic) models
Analog models
Symbolic (mathematical) models
Physical (icon) models: These are the representation of the situation, problem or a real object.
In modeling terminology, physical replicas are referred to as iconic models. For example, a scale
of an airplane is a representation of a real air plane. Similarly, a child‘s toy truck is a model of a
real truck. The model airplane and toy truck are examples of models that are physical replicas of
the real objects.
Analog models: These are abstract models mostly showing inter and intra relationships
between two or more parameters. It is two dimensional. For example, it may show the
relationship between an independent variable with that of a dependent variable. For instance;
histogram, frequency table, cause-effect diagram, flow charts, Gantt charts, price-demand graph,
world map and others.
Examples:
(a + b) 2=a2+2ab+b2
Total Cost=10Q+1000 (where Q is quantity produced)
12
Deterministic models: represent problems of decision making under conditions of certainty. That
is to say, we use deterministic models when we know all the numerical values in the model
certainly. For example, if we are going to decide on the size of a warehouse to be constructed,
our model will be deterministic if we know the exact amount of demand (quantity of commodity
to be stored in the warehouse).
Probabilistic/stochastic models: deal with problems of decision making under uncertainty or risk
and the probabilities of the alternative states of nature are known.
It may be that a problem can be modeled in differing ways, and the choice of the appropriate
model may be crucial to the success of the OR project. In addition to algorithmic considerations
for solving the model (i.e. can we solve our model numerically?) we must also consider the
availability and accuracy of the real-world data that is required as input to the model.
Note that the "data barrier" ("we don't have the data!!!") can appear here, particularly if people
are trying to block the project. Often data can be collected/ estimated, particularly if the potential
benefits from the project are large enough.
You will also find, if you do much OR in the real-world, that some environments are naturally
data-poor, that is the data is of poor quality or nonexistent and some environments are naturally
data-rich. As examples of this church location study (a data-poor environment) and an airport
terminal check- in desk allocation study (a data-rich environment). This issue of the data
environment can affect the model that you build. If you believe that certain data can never
(realistically) be obtained there is perhaps little point in building a model that uses such data.
13
Note here that the factors which allow such questions to be asked and answered are:
the speed of processing (turn-around time) available by using pc's; and
the interactive/user-friendly nature of many pc software packages.
Implementation
This phase may involve the implementation of the results of the study or the implementation of
the algorithm for solving the model as an operational tool (usually in a computer package). In the
first instance detailed instructions on what has to be done (including time schedules) to
implement the results must be issued. In the second instance operating manuals and training
schemes will have to be produced for the effective use of the algorithm as an operational tool.
It is believed that many of the OR projects which successfully pass through the first four phases
given above fail at the implementation stage (i.e. the work that has been done does not have a
lasting effect). As a result one topic that has received attention in terms of bringing an OR
project to a successful conclusion (in terms of implementation) is the issue of client involvement.
By this is meant keeping the client (the sponsor/originator of the project) informed and consulted
during the course of the project so that they come to identify with the project and want it to
succeed.
.
14
Game Theory: This is used for making decisions under conflicting situations where there are
one or more players/opponents. In this the motive of the players are dichotomized. The success
of one player tends to be at the cost of other players and hence they are in conflict.
Decision Theory: Decision theory is concerned with making decisions under conditions of
complete certainty about the future outcomes and under conditions such that we can make some
probability about what will happen in future.
Queuing Theory: This is used in situations where the queue is formed (for example customers
waiting for service, aircrafts waiting for landing, jobs waiting for processing in the computer
system, etc). The objective here is minimizing the cost of waiting without increasing the cost of
servicing.
Inventory Models: Inventory model make a decisions that minimize total inventory cost. This
model successfully reduces the total cost of purchasing, carrying, and out of stock inventory.
Simulation: Simulation is a procedure that studies a problem by creating a model of the process
involved in the problem and then through a series of organized trials and error solutions attempt
to determine the best solution. Sometimes this is a difficult/time consuming procedure.
Simulation is used when actual experimentation is not feasible or solution of model is not
possible.
Non-linear Programming: This is used when the objective function and the constraints are not
linear in nature. Linear relationships may be applied to approximate non-linear constraints but
limited to some range, because approximation becomes poorer as the range is extended. Thus,
the non-linear programming is used to determine the approximation in which a solution lies and
then the solution is obtained using linear methods.
15
Integer Programming: If one or more variables of the problem take integral values only then
dynamic programming method is used. For example number or motor in an organization, number
of passenger in an aircraft, number of generators in a power generating plant, etc.
Markov Process: Markov process permits to predict changes over time information about the
behavior of a system is known. This is used in decision making in situations where the various
states are defined. The probability from one state to another state is known and depends on the
current state and is independent of how we have arrived at that particular state.
Network Scheduling: This technique is used extensively to plan, schedule, and monitor large
projects (for example computer system installation, R & D design, construction, maintenance,
etc.). The aim of this technique is minimize trouble spots (such as delays, interruption,
production bottlenecks, etc.) by identifying the critical factors. The different activities and their
relationships of the entire project are represented diagrammatically with the help of networks and
arrows, which is used for identifying critical activities and path. There are two main types of
technique in network scheduling, they are:
Program Evaluation and Review Technique (PERT) – is used when activities time is not
known accurately/ only probabilistic estimate of time is available.
Critical Path Method (CPM) – is used when activities time is known accurately.
Information Theory: This analytical process is transferred from the electrical communication
field to operations research field. The objective of this theory is to evaluate the effectiveness of
flow of information with a given system. This is used mainly in communication networks but
also has indirect influence in simulating the examination of business organizational structure
with a view of enhancing flow of information.
Distance between O.R. specialist and Manager: Operations Researchers job needs a
mathematician or statistician, who might not be aware of the business problems. Similarly,
a manager is unable to understand the complex nature of Operations Research. Thus there
is a big gap between the two personnel.
Magnitude of Calculation: The aim of the O.R. is to find out optimal solution taking into
consideration all the factors. In this modern world these factors are enormous and
16
1.7. SUMMARY
Operations Research is relatively a new discipline, which originated in World War II, and
became very popular throughout the world. India is one of the few first countries in the world
who started using operations research. Operations Research is used successfully not only in
military/army operations but also in business, government and industry. Now a day‘s operations
research is almost used in all the fields.
Proposing a definition to the operations research is a difficult one, because its boundary and
content are not fixed. The tools for operations search is provided from the subject‘s viz.
economics, engineering, mathematics, statistics, psychology, etc., which helps to choose possible
alternative courses of action. The operations research tool/techniques include linear
programming, non-linear programming, dynamic programming, integer programming, Markov
process, queuing theory, etc.
17
18
2.0. INTRODUCTION
In the previous chapter, you studied about introduction to operations research. In this chapter,
you will study about Linear programming (LP) which is one of the most popular tools of
operations research. LP models enable users to find optimal (best possible) solutions to certain
problems in which the solution must satisfy a given set of requirements, or constraints. The unit
has four main sections. Section one discusses with introduction to linear programming. It
provides general introduction to linear programming. It introduces terminologies in LP, discusses
the use of linear programming models and illustrates formulation of models. Section two
describes the graphical solutions to linear programming problems. Section three covers the
simplex method, a general purpose algebraic technique for solving linear programming
problems. Section four discusses post optimality analysis of optimal solutions. In each section,
there are in-text questions and learning activities to initiate your study and to check yourself
whether you understood the contents of each section well. Moreover, at the end of the unit, there
are checklists, summaries and self check exercise questions that will facilitate your study and
ensure your understanding of the concepts in the unit. Therefore, please work hard to understand
this unit very well and to appreciate the application of linear programming to business decision
makings.
19
The technique of linear programming is applicable to problems in which the total effectiveness
can be expressed as linear function of individual allocations and the limitations on resources give
rise to linear equation or inequalities of the individual allocations. The usefulness of this
technique is enhanced by the availability of several user-friendly softwares such as STORM,
TORA, QSB+, LINDO, etc. However, there is no general package for building an LP model.
Model building is an art of practice.
c) Constraints
However, the ability of a decision maker to select values of the decision variables in an LP
problem is subject to certain restrictions or limits coming from a variety of sources. The
restrictions may reflect availabilities of resources (e.g., raw materials, labor time, etc.), legal or
contractual requirements (e.g., product standards, work standards, etc.), technological
requirements (e.g., necessary compressive strength or tensile strength) or they may reflect other
limits based on forecasts, customer orders, company policies, and so on. In LP model, the
20
Parameters
The objective function and the constraints consist of symbols that represent the decision
variables (e.g., X1, X2, etc.) and numerical values called parameters. The parameters are fixed
values that specify the impact that one unit of each decision variable will have on the objective
and on any constraint it pertains to as well as the numerical value of each constraint. The
following simple example illustrates the components of LP models:
21
Comments: The unknown variables in the model are decision variables. The objective of the
model is mentioned in the objective function. The unit profit of product 1, product 2, and product
3 are the coefficients of x1, x2 ,x3 in the objective function respectively. To find the values of the
objective function given the values of the decision variables, you can easily substitute the values
of the decision variables in the objective function.
2.2.2.ASSUMPTIONS OF LP MODELS
Linearity (proportionality)
The linearity requirement is that each decision variable has a linear impact on the objective
function and in each constraint in which it appears. In terms of a mathematical model, a function
or equation is linear when the variables included are all to the power 1 (not squared, cubed,
square root, etc.) and no products (e.g., x1x2) appear. On the other hand, the amount of each
resource used (supplied) and its contribution to the profit (or cost) in the objective function must
be proportional to the value of each decision variable. For example, if production of one unit
requires 5 hours of a particular resource, then making 3 units of that product requires 15 hours
(3x5) of that resource.
b) Divisibility (Continuity)
The divisibility requirement pertains to potential values of decision variables. It is assumed that
non-integer values are acceptable. However, if the problem concerns, for example, the optimal
number of houses to construct, 3.5 do not appear to be acceptable. Instead, that type of problem
would seem to require strictly integer solutions. In such cases, integer-programming methods
should be used. It should be noted, however, that some obvious integer type situations could be
handled under the assumption of divisibility. For instance, suppose 3.5 to be the optimal number
of television sets to produce per hour, which is unacceptable, but it would result in 7 sets per two
hours, which would then be acceptable.
c) Certainty
This requirement involves two aspects of LP models. One aspect relates to the model parameters,
i.e., the numerical values. It is assumed that these values are known and constant. In practice,
production times and other parameters may not be truly constant. Therefore, the model builder
must make an assessment as to the degree to which the certainty requirement is met. Large
departures almost surely will have a significant effect on the model. The other aspect is the
assumption that all relevant constraints have been identified and represented in the model.
d) Additivity
The value of the objective function and the total amount of each resource used (or supplied),
must be equal to the sum of the respective individual contributions (profit or cost) by decision
variables. For example, the total profit earned from the sale of two products A and B must be
22
e) Non-negativity
It assumes that negative values of variables are unrealistic and, therefore, will not be considered
in any potential solutions. Only positive values and zero will be allowed and the non-negativity
assumption is inherent in LP models.
2.3.FORMULATING LP MODELS
Just as it is to define a problem, careful formulation of the model that will be used to solve the
problem is important. Linear programming algorithms (solution techniques) are widely used and
understood and computer packages are readily available for solving LP problems. Consequently,
obtaining solutions is not the real issue, what is very important to note is failure to check that all
constraints have been accounted for and have been correctly formulated results in ill-structuring
of the model that can easily lead to poor decisions.
In many cases, the decision variables are obvious; in others it might require brief discussion with
the appropriate manager. However, identifying the constraints and determining appropriate
values for the parameters can require considerable time and effort. Potential sources of
information include historical records, interviews with managers and staff, and data collection.
Validating the model will involve a critical review of the output, perhaps under a variety of
inputs, in order to decide if the results are reasonable.
23
Example1: ABC private limited company is engaged in the production of power and traction
transformers. Both of these categories of transformers pass through three basic processes: core
preparation, core to coil assembly, and vapor phase drying. A power transformer yields a
contribution of Birr 50,000 and traction transformer contributes Birr 10,000. The time required in
the production of these two products in terms of hours for each of the processes is as follows.
If the capacities available are 1000, 1500, and 750 machine hours in each processes respectively,
formulate the problem as LP?
Solution
Step1. Identify decision variables
Since the products to be produced are power and traction transformers using the available
resource to attain the objective set, we consider them as decision variables. This is because the
organization‘s problem here is how many of each product to produce in order to attain the
objective, which requires the management decision.
24
Example 2: An individual investor has Birr 70,000 to divide among several investments. The
alternative investments are municipal bonds with an 8.5% return, certificates of deposits with a
10% return, Treasury bill with a 6.5% return, and income bonds with a 13% return. The amount
of time until maturity is the same for each alternative. However, each investment alternative has
a different perceived risk to the investor; thus it is advisable to diversify. The investor wants to
know how much to invest in each alternative in order to maximize the return. The following
guidelines have been established for diversifying the investment and lessening the risk perceived
by the investor.
Solution
Step1. Identify decision variables
Four decision variables represent the monetary amount invested in each investment alternative.
Let X1, X2, X3 and X4 represent investment on municipal bonds, certificates of deposits,
Treasury bill, and income bonds respectively.
25
Guideline 2
X2≤X1 +X3+ X4 X2 - X1 -X3- X4≤0
Guideline 3
X2+ X3 ≥ 30 %( 70,000) X2 + X3 ≥ 21,000
Guideline 4
X1/ X3≤1/3 3X1<X33X1-X3≤ 0
Guideline 5
X1+ X2+ X3+X4 = 70,000, because the investor‘s money equals to the sum of money invested in
all alternatives.
This last constraint differs from ≤ and ≥ inequalities previously developed in that there is a
specific requirement to invest an exact amount. Therefore, the possibility to invest more or less
than Birr 70,000 is not considered.
This problem contains all three types of constraints possible in LP problems: ≤ , ≥ and =. As this
problem demonstrates there is no restriction on mixing these types of constraints.
Example 3: A chemical corporation produces a chemical mixture for the customer in 1000-lb
batches. The mixture contains three ingredients- Zinc, mercury and potassium. The mixture must
conform to formula specifications (i.e., a recipe) supplied by a customer. The company wants to
know the amount of each ingredient to put in the mixture that will meet all the requirements of
the mix and minimize total cost.
The customer has supplied the following formula specifications for each batch of mixture.
1. The mixture must contain at least 200 lb of Mercury
26
Solution
Decision variables
The model of this problem consists of three decision variables representing the amount of each
ingredient in the mixture.
X1 = number of lb of mercury in a batch
X2 = number of lb of zinc in a batch
X3 = number of lb of potassium in a batch
Objective function
Minimize Z = 4X1 + 8X2 + 9X3
Constraints
X1 200 lb… specification 1
X2 300 lb… specification 2
X3 100 lb… specification 3
Finally, the sum of all ingredients must equal 1000 pounds.
X1 + X2 + X3= 1000
27
Solution:
Maximize Z= 20,000X1 + 12,000X2 + 9,000X3
Subject to:
15,000X1 + 6,000X2 + 4,000X3 Birr 100,000
X1 4
X2 10
X3 7
X1 + X2 +X3 15
X1, X2, X3 0
The manager of a department store in Addis Ababa is attempting to decide on the types and
amounts of advertising the store should use. He has invited representatives from the local
radio station, television station, and newspaper to make presentations in which they describe
their audiences.
a. The television station representative indicates that a TV commercial, which costs Birr 15,000,
would reach 25,000 potential customers. The breakdown of the audience is as follows.
Male Female
Old 5,000 5, 000
Young 5,000 10,000
b. The news paper representative claims to be able to provide an audience of 10,000 potential
customers at a cost of Birr 4000 per ad. The breakdown of the audience is as follows.
Male Female
c. The radio station representative says that the audience for one of the station‘s commercials,
which costs Birr 6000, is 15,000 customers. The breakdown of the audience is as follows.
Male Female
28
Available space limits the number newspaper ads to 7. The store wants to know the optimal
number of each type of advertising to purchase to minimize total cost.
Solution:
Step 1.Identify the decision variables
Let X1=represents advertisement on Television
Let X2=represents advertisement on Radio
Let X3=represents advertisement on Newspaper
An electronic company produces three types of parts for automatic machines. It purchases
casting of the parts from the local foundry and then finishes parts on drilling, shaping and
polishing machines.
29
Drilling 25 40 25
Shaping 25 20 20
Polishing 40 30 40
The management of the shop wants to know how many parts of each type it should produce per
hour in order to maximize profit for an hour‘s run. Formulate this problem as an LP model so as
to maximize total profit to the company.
In this method, the two decision variables are considered as ordered pairs (X1, X2), which
represent a point in a plane, i.e, X1 is represented on X-axis and X2 on Y-axis.
30
Solution
Graphical solution method involves the following steps
31
Graphic approach to find a solution for LP model consisting of only two decision variables:
The extreme point enumeration method
The objective (Iso-profit or cost) function line approach
The optimal solution to an LP problem will always occur at a corner point because as the
objective function line is moved in the direction that will improve its value (e.g., away from the
origin in our profit maximization problem), it will last touch one of these intersections of
constraints. Then we determine which two constraints intersect there (in our case inspection and
storage constraints) and solve the equations simultaneously to obtain the mix of the two decision
variables that gives the value of the objective function at the optimum. Simultaneously solving
inspection and storage equations, we find the quantity of type 1 microcomputer to be produced
(X1) = 9 and that of type 2 (X2) = 4 giving the maximum profit of 60(9) + 50(4) = Birr740
32
33
At corner point b, the two lines crossing each other are 4X1+10X2<100 (Assembly time) and
3X1+3X2 <39 (Storage space), hence by applying simultaneous equation, the corner point
values: 4x1 + 10x2 = 100
3x1 + 3x2 = 39
4X1+10X2═100 (3)
3X1+3X2 ═39 (-4)
12X1+30X2═300
-12X1-12X2═ -144
18X2═ 156 18x2=156
18=18
X2=8
Then, Substitute this value into either of the two of constraints to find X1 value as follows:
4X1+10X2═100
4X1+10(8)═100
4X1+80═100
4X1 ═100-80
4X1 ═20
4X1/4 ═20/4
X1═5
Therefore, at corner point b the coordinate values are (5, 8)
At corner point b, the two lines crossing each other are 2X1+X2<22 (Assembly time) and
3X1+3X2 <39 (Storage space), hence by applying simultaneous equation, the corner point
values:
2x1 + x2 = 22
3x1 + 3x2 = 39
2x1 + x2 = 22(−3)
3x1 + 3x2 = 39(1)
-6X1-3X2=-66
3X1+3X2 =39
-3X1 =-27
-3X1 =-27
-3 =-3
X1=9
34
The next step is to multiply all coordinates by the objective function and select the maximum
value as an optimal solution.
Using this method for our example, simultaneously solving for corner points a, b, c, and d, we
find corresponding profit values of $500, $700, $740, and $660, respectively giving us the same
solution as the above one at C. Therefore, the optimal solution is x1= 9 units and x2 = 4 units
while the optimal value of objective function is 740.
Surplus on the other hand is the amount by which the optimal solution causes a > constraint to
exceed the required minimum amount. It can be determined in the same way that slack can, i.e.,
substitute the optimal values of the decision variables into the left side of the constraint and
solve. The difference between the resulting value and the original right hand side amount is the
amount of surplus. Surplus should also be accounted for in the objective function by using
coefficients of zero likewise.
Continuing for the above problem, we should have compute the slack values as the inequality
signs of all the constraints are ≤. Slack can potentially exist in a ≤ constraint. Slack variables are
considered in the objective function by using a coefficient of zero for each of them. When all the
35
Assembly Time
4X1+10X2═100
4(9)+10(4)═100
36+40═100
76<100
Therefore, there are 24 units of slack value. In this case, the firm has a total of 100 hours of
assembly time, however, due to the above decision of producing of 9 units of X1 and 4 units of
X2, the firm use only 76 hours of available time but 24 hours of unused time in assembly
department.
Inspection Time
2X1+X2=22
2(9) +(4)═22
18+4═22
22═22
Therefore, there is no slack value. In this case the firm has a total of 22 hours to inspect items in
inspection department and the firm consumes or uses all the available time effectively due to the
above decision of producing 9 units of X1 and 4 units of X2.
Storage space
3X1+3X2=39
3(9)+3(4)═39
27+12═39
39═39
Therefore, there is no slack value. In this case the firm has a total of 39 cubic feet of space to
store the two microcomputers and the firm uses all the available space effectively due to the
above decision of producing 9 units of X1 and 4 units of X2.
Interpretation:
For a firm to maximize its profit (740), it should produce 9 units of the Model I microcomputer
and 4 units of model II.
36
The extreme points can be determined either by inspection or from simultaneous equations. The
results are summarized as follows:
37
Surplus
If there is a difference between the minimum required amount and the amount used, the
difference is called surplus. Surplus is the amount by which the optimal solution causes a
constraint to exceed the required minimum amount. It can be determined in the same way that
slack is calculated. Substitute the optimal values of the decision variables into the constraint and
solve. The difference between the resulting value and the original right-hand side amount is the
amount of surplus. Surplus can potentially occur in a constraint.
Interpretation: The value of x is 2.27 units and the value of y is 2.19 units to attain a minimum
cost of Birr 0.38. There is a surplus of 1.19 units in the third constraint.
Comments: Plot each of the constraints and determine the region or area that contains all of the
points that satisfy the entire set of constraints. Then you can determine the optimal solution using
the corner point method. The optimal solution should contain the values of decision variables,
slacks and maximum profit.
38
Answer:
Corner point Coordinates Minimize Z=0.1x+0.07y
X Y
A 0 9 0.63
B 25/11 24/11 0.38*
C 15/4 1 0.445
Therefore, minimum Z=0.38 where X=25/11 and Y=24/11
Following the above listed steps of graphical solution method, we find the following graph for
the above model:
Solution
The shaded area represents the set of all feasible solutions and as can be seen from the graph, the
solution is unbounded.
39
X1, x2 ≥0
Solution
c) Infeasibility
In some cases after plotting all the constraints on the graph, feasible area (common region) that
represents all the constraint of the problem cannot be obtained. In other words, infeasibility is a
condition that arises when no value of the variables satisfy all the constraints simultaneously.
Such a problem arises due to wrong model formulation with conflicting constraints. For
example,
Maximize Z = 3X1+2X2
Subject to: 2X1 + X2 ≤ 2
3X1 + 4X2 ≥12
X1, X2≥0
Solution
40
There are two conditions that should be satisfied for an alternative optimal solution to exist:
The given objective function is parallel to a constraint that forms the boundary of the feasible
region. In other words, the slope of an objective function is the same as that of the constraint
forming the boundary of the feasible region; and
The constraint should form a boundary on the feasible region in the direction of optimal
movement of the objective function. In other words, the constraint should be an active constraint.
Note: The constraint is said to be an active or binding or tight, if at optimality the left hand side
equals the right hand side. In other words, an equality constraint is always active. An inequality
sign may or may not be active.
For example
Maximize Z = 8X1+16X2
Subject to: X1 + X2 ≤200 …….C1
3X1 + 6X2 ≤ 900 ……C2
X2 ≤125 ……. C3
X1,X2≥0
Solution
In the problem above, using extreme point method and solving for values of corner points
simultaneously, the objective function assumes its maximum value of 2,400 at two corner points
B (50,125) and C (100,100). Therefore, the optimal solution is found on the line segment
connecting the two corner points. One benefit of having multiple optimal solutions is that for
other (perhaps qualitative) reasons, a manager may prefer one of them to the others, even though
each would achieve the same value of the objective function. In practical terms, one of the two
corner points is usually chosen because of ease in identifying its values.
Other corner points are computed by identifying the two corner points and keeping the value of
the objective function constant, where 50 X1 100 and 100 X1 125. By selecting one
value for one of the decision variables from the domain, we determine the value for another
decision variable keeping the objective function‘s value. Let X1 = 80.
41
Comments: You can draw the graph of the constraints and check if the solution is infeasible,
unbounded and alternative. You can refer 2.2.7 of this module to refresh about special issues of
the graphic approach of solving an LP model.
2.5.1.3.Mix of constraints
It is only in some cases that the maximization problems consist of constraints connected to the
RHS value with only ≤. By the same token, constraints of minimization problems are not always
connected to their RHS with ≥. This is to mean that both maximization and minimization
problems may consist of constraints connected to RHS with a mix of algebraic signs ( <, >, =).
Example
Minimize Z=1500x+2400y
Subjected to:
4x+Y>24 …I
2x+3y>42 …II
X+4y>36 …III
X<14 …IV
y<14 …V
x, y>0
42
The minimum value of the objective function is 32,400. Therefore, the optimum solution is
found at the corner point D, where constraint II&III are intersected. Hence, optimal solution: x
=12, y = 6.
43
The simplex method is an iterative technique that begins with a feasible solution that is not
optimal, but serves as a starting point. Through algebraic manipulation, the solution is improved
until no further improvement is possible (i.e., until the optimal solution has been identified).
We learned in the previous section that the optimal solution to a LP model will occur at an
extreme point of the feasible solution space. This is true even if a model involves more than two
variables; optimal solutions occur at these points. Extreme points represent intersections of
constraints. Of course, not every intersection will result in an extreme point of the feasible
solution space; some will be outside of the feasible solution space. Hence, not every solution will
be a feasible solution. Solutions which represent intersections of constraints are called basic
solutions; those which also satisfy all the constraints, including the non-negativity constraints,
are called basic feasible solutions. The simplex method is an algebraic procedure for
systematically examining basic feasible solutions. If an optimal solution exists, the simplex
method will identify it.
44
The constraints form a system of simultaneous linear equations. As a rule, linear programming
models have fewer equations than variables. For example, in this case there are three equations
and five variables (two decision variables and three slack variables). When a system of equations
has more variables than equations, unique solutions are not possible. Instead the solution
possibilities are infinite. Thus, unless the number of equations equals the number of variables, a
unique solution cannot be found.
In order to make the number of variables equal to the number of equations, enough variables can
be set equal to zero, so that the remaining number of nonzero variables equals the number of
equations. In the case of the above LP model, if two of the variables were set equal to zero, the
result would be three equations and three variables. In general, if we have n variables and m
equations, with n>m, we must set n-m of the variables equal to zero in order to obtain a system
of equations in which the number of variables equal the number of equations. And if we then
solve the resulting system of equations for the values of the remaining variables, we will obtain a
solution that represents an intersection of constraints. In other words, by setting n-m variables
equal to zero, we are able to determine a solution that occurs at one of the constraint
intersections. The result is a basic solution. Moreover, the variables that have been set equal to
zero are referred to as non-basic variables, whereas the remaining variables are referred to as
basic variables.
45
Comments: Add slack variables in the constraint function and the inequality will become an
equation. Moreover, the slack variables should be represented in the objective function with zero
coefficients as they contribute nothing to the objective of a firm. Slacks are also assumed to be
non-negative like decision variables.
s1 = 100
s2 = 22
s3 = 39
Obviously, it is very easy to see what the values of the remaining variables are. Moreover, we
can verify that this is a basic feasible solution because the equations are satisfied and no variable
has a negative value. Hence, an easy way for us to obtain a basic feasible solution in this case
was to set the decision variables equal to zero. In fact, in a maximization problem in which all
constraints are of the variety, an initial basic feasible solution can be obtained by setting all of
the decision variables equal to zero. Therefore, the initial solution will consist entirely of slack
variables.
The variables that are solved for are the basic variables, and the other variables are non-basic
variables. The complete solution consists of the basic and the non-basic variables. Therefore, for
the microcomputer problem, the complete initial solution is:
X1= 0
X2= 0
S1=100
S2 =22
S3= 39
3.Develop The Initial Simplex Tableau: The mathematical characteristics of each extreme
point are summarized in a table which is referred to as a tableau. The simplex procedure starts
checking optimum solution from the origin, where the value of all the decision variables is zero.
To develop the initial simplex tableau;
List the variables across the top of the tableau and write the objective function coefficient of
each variable just above it.
46
Because each of the row coefficients is 0 means that all the row values will equal zero for the
initial tableau. There is also a Zj value for the quantity (right hand side value) column. It is
computed in similar fashion:
0(100) +0(22) +0(39) =0
Computer values for Cj – Zj. For each column, the value in row Zj is subtracted from the Cj
value in the top row. Thus, for the x1 column we have 60-0=60, for the x2 column we have 50-
0=50, and for each of the slack columns we have 0-0=0.
The simplex tableau in the simplex procedure is equivalent to the solution space and the
checking process is done for each corner points. The corner points represent the intersection of
two constraints (i.e., the coordinate value for decision variables at the intersection point). The
variables in the basis of a simplex tableau are like variables at the intersection point. The value
for these variables at this point is found from the quantity column of the tableau. All constraints
must also be represented in the simplex tableau if the simplex procedure is to yield a solution
that takes all the constraints into account.The simplex procedure starts checking from the origin,
where the value of all the decision variables is zero. If we start from the origin by assuming a
value of zero for all the decision variables, and if all the constraints are to be represented in the
tableau, how can we develop the initial simplex tableau?
The initial simplex tableau represents all the constraints in the model without violating the
assumption of starting from the origin through the help of other variable(s). These variables are
slack variables. Look at the basis in the following simplex tableau.
47
Each tableau represents a basic feasible solution to the problem. Let us examine this particular
tableau to see some of the kinds of information it contains. As previously noted, this solution is
comprised entirely of the slack variables. We can read the variables that are in the basis, or ―in
solution‖ down the left side of the tableau, and their values down the right side. This tells us that
s1 = 100, s2 =22, s 3 =39. If the variable is not included in the basis, its value is equal to zero.
Therefore, because x1 and x2 are not listed, their values are zero. Hence, this solution
corresponds to the origin.
A feature of variables that are in solution is that a zero (0) appears in the bottom row of the
tableau in that variable‘s column. Thus, all three slack variables have a zero in their respective
columns in the bottom row. Conversely, the two variables not in solution both have non-zero
values in the bottom row. In addition, note the values in the column of every variable that is in
solution. In each case, the column is made up of a single 1 and the rest 0‘s. For example, in s 1
the values are
1
0
0
This is called a unit vector. Variables that are in solution will have unit vector columns (i.e., one
and the rest 0). Moreover, the 1 will appear in the same row that the variable appears in.
Thus, s1 is the first variable listed in the basis. Hence, a 1 appears at the intersection of the first
row and s1 column.
The last value in the Zj row (i.e., in the quantity column) indicates that the value of the objective
function is 0 for this solution.
The values in the bottom row indicate any potential for improvement. For example, the 60 in
column x1 reveals that if one unit of x1 could be brought into the solution (i.e., if x1=1), the
value of the objective function would increase by Birr 60, and that additional units of x1 also
would increase the value of the objective function by Birr 60 per unit. The other values in the
bottom row have similar interpretations.
Then our next task is to check if the solution is optimal to the model. This will be proved by
looking at the net evaluation row (Cj-Zj) row in the tableau. The rule is:
A Simplex solution in maximization problem is optimal if the Cj-Zj row consists entirely of
zero and negative numbers (i.e., there are no positive values in the bottom row). That is,
Cj-Zj≥0
In our example, there are two positive numbers (60 and 50). This indicates that the initial
simplex tableau doesn‘t give us the optimal solution to the model.
48
Let us see why the case is. The numbers in the body of the first tableau are the coefficients of the
constraints. Thus, in the x1 column, the numbers are 4, 2, and 3, which are the x1 coefficients in
the three constraints. Each number indicates how much of the basic variable for that row must be
given up, or reduced, in order to get one unit of x1. For instance, the 4 in the first row tells us that
4 units of slack, s1, will be required to obtain one unit of x1. Similarly, the 2 in the second row
indicates that 2 units of slack, s2, must be used up to obtain the same one unit of x1 and the 3 in
the third row tells us that 3 units of s3 must be used up to get the unit of x1. The numbers in the
body of a simplex tableau are, therefore, referred to as substitution rates because they indicate
how much each basic variable will be used in order to obtain 1 unit of the entering variable.
Because each unit of x1 that can be brought into solution will increase profit by Birr 60, we want
to make as much x1 as possible. The amount of x1 that can be made will depend on the
substitution rates and the amount of slack variables, which is shown in the quantity column.
49
It sometimes happens that some of the substitution rates are for the variable we want to bring
into solution are zero or negative. A zero would imply that none of the corresponding variables
in the basis is required to obtain a unit of the entering variable. A negative substitution rate
implies that bringing a variable into solution will increase the amount of a basic variable. In
effect, the entering variable frees up additional resources. The point is the negative and zero
substitution rates will not limit the amount of the entering variable that can be made. We,
therefore, need only to concern ourselves with positive substitution rates; there is no need to
divide the quantity column values by a negative or a zero substitution rate. Consequently, in
determining the variable that will leave the basis, our rule is:
Select the leaving variable as the one which has the smallest non-negative ratio of quantity
divided by substitution rate.
Up to this point we have determined that variable x1 will enter the basis, and that variable s2 will
leave the solution. The row of the variable that will leave the solution (in this case s2) is called
the pivot row. Its values will be used to obtain values in the same row of the next tableau.
Dear learner, having this, what do you think is the next step?
The next step is to find unit vectors for the new basic variable using row operations on the pivot
column. The row operation includes:
Let us begin our computations with the revised values for new row x1. We want to force the 2
(called the pivot element); which is the intersection of x1 column and s2 row of the initial
tableau to 1. We can force the value to 1 by dividing the 2 by itself.
That is, given the second constraint as: 2x1 + x2 + 0s1 +1s2 +0s3 = 22
This equation can be transformed into an equivalent equation with a 1 as the x1 coefficient by
multiplying each element by ½.
Multiply by ½: x1 + 1/2x2 + 0s1 +1/2s2 +0s3 = 11
The revised coefficients can now be entered in the second tableau as shown below:
Basis Cj 60 50 0 0 0
x1 x2 s1 s2 s3 Quantity
s1 0
x1 60 1 1/2 0 1/2 0 11
s3 0
Zj
Cj-Zj
50
If we multiply the pivot row by 4 and subtract the result, the x1 will drop out of the equation and
become zero, which is what we want. The multiple of the pivot row is:
4x1 + 2x2 + 0s1 +2s2 +0s2 = 44
Subtracting this from the fist constraint gives us our new equation for the first constraint:
First constraint: 4x1 + 10x2 + 1s1 +0s2 +0s3 = 100
Pivot multiple: - (4x1 + 2x2 + 0s1 +2s2 +0s3 = 44)
0x1 + 8x2 + 1s1 -2s2 +0s3 = 56
We can now enter the coefficients of this transformed constraint equation in the first row of the
second tableau. A similar operation can be performed on the third constraint equation and a
partially completed second tableau is given as follows:
Basis Cj 60 50 0 0 0 RHS
x1 x2 s1 s2 s3 Quantity
s1 0 0 8 1 -2 0 56
x1 60 1 1/2 0 1/2 0 11
s3 0 0 3/2 0 -3/2 1 6
Zj
Cj-Zj
Now we are ready to compute the values for row Zj. These are found by multiplying the values
in each column by the corresponding coefficients in the Cj column and adding them. The
computations are as follows:
x1 x2 s1 s2 s3 Quantity
s1 0(0)=0 0(8)=0 0(1)=0 0(-2)=0 0(0)=0 0(56)=0
x1 60(1)=60 60(1/2)=30 60(0)=0 60(1/2)=0 60(0)=0 60(11)=660
s3 0(0)=0 0(3/2)=0 0(0)=0 0(-3/2)=0 0(1)=0 0(6)=0
Zj 60 30 0 30 0 660
51
Checking the bottom row of the tableau, we note that there is a positive number (i.e., 20 in the x2
column). This indicates that the solution can be improved. The implication is that for every unit
of x2 that we can bring into the solution, profit will increase by Birr 20. Therefore, we must
develop a third tableau.
Dear learner, please develop the third tableau by your own. Use the procedures used above.
Basis Cj 60 50 0 0 0
x1 x2 s1 s2 s3 Quantity
s1 0 0 8 1 -2 0 56 56/8=7
x1 60 1 1/2 0 1/2 0 11 11/0.5=22
s3 0 0 3/2 0 -3/2 1 6 6/1.5=4 smallest non-
negative ratio
Zj 60 30 0 30 0 660
Cj-Zj 0 20 0 -30 0
The smallest non-negative ratio is in the third row. This tells us that variable s3 must be taken out
of the solution (i.e., set equal to zero), and replaced with incoming variable x2. Because x2 will
come into the solution, its coefficient in the x2 column must be transformed to a 1. As before, if
we note that the current value at that location (i.e., the intersection of the entering variable‘s
column and the entering variable‘s row) is 3/2, we can accomplish this by multiplying every
52
These values now can be entered into the third tableau as shown below:
Basis Cj 60 50 0 0 0
x1 x2 s1 s2 s3 Quantity
s1 0
x1 60
x2 50 0 1 0 -1 2/3 4
Zj
Cj-Zj
The values in the remaining two constraint rows now must be transformed to equivalent
equations in which the elements in the x2 column are zero. This can be accomplished in the
following way:
Multiply the values in the pivot row by the value in the entering variable‘s column for the row
being transformed. Thus, to transform values in row 1, multiply the pivot values of the third
tableau by 8. Then subtract the results from the values that appeared in the preceding tableau.
Similarly, to obtain new row 2 values, multiply the pivot values in the third tableau by ½ and
subtract the result from the row 2 values of the preceding tableau.
For the first row, multiplying the pivot values by 8, we obtain these values:
8(0 1 0 -1 2/3 4)=0 8 0-8 16/3 32
Subtracting these from the previous row 1 values, we obtain
Previous values 0 8 1 -2 0 56
-(0 8 0 -8 16/3 32)
= 0 0 1 6 -16/3 24
For row 2, multiplying the pivot values by 1/2, we obtain these values:
1/2(0 1 0 -1 2/3 4)=0 1/2 0-1/2 1/3 2
53
Dear learner, please calculate the values of Zj and Cj-Zj by your own.
These values can be calculated as follows:
60 50 0 0 0
x1 x2 s1 s2 s3 Quantity
s1 0(0) =0 0(0) =0 0(1) =0 0(6) =0 0(-16/3)=0 0(24)=0
x1 60(1)=60 60(0)=30 60(0)=0 60(1)=60 60(-1/3)=-60/3 60(9)=540
X2 50(0) =0 50(1)=50 50(0)=0 50(-1)=-50 50(2/3)=100/3 50(4)=200
Zj 60 50 0 10 40/3 740
Cj-Zj 0 0 0 -10 -40/3
54
Initial tableau
C 10 6 7 0 0 RHS
Basis X1 X2 X3 S1 S2 values
S1 0 4 8 5 1 0 860
S2 0 2 3 1 0 1 400
Z 0 0 0 0 0 0
C-Z 10 6 7 0 0
C 10 6 7 0 0 RHS
Basis X1 X2 X3 S1 S2 values
S1 0 4 8 5 1 0 860 860 4 = 215
S2 0 2 3 1 0 1 400 400 2
= 200
Leaving
Z 0 0 0 0 0 0 variable
C-Z 10 6 7 0 0
Entering
variable
C 10 6 7 0 0 RHS
Basis X1 X2 X3 S1 S2 values
S1
X1 10 1 3/2 1/2 0 1/2 200
Z
C-Z
C 10 6 7 0 0 RHS
Basis X1 X2 X3 S1 S2 values
S1 0
X1 10 1 3/2 1/2 0 1/2 200
Z
C-Z
55
C 10 6 7 0 0 RHS
Basis X1 X2 X3 S1 S2 values
S1 0 0 2 3 1 -2 60 -4R2 +R1
X1 10 1 3/2 1/2 0 1/2 200
Z 10 15 5 0 10 2000 = Profit
C-Z 0 -9 2 0 -10
C 10 6 7 0 0 RHS
Basis X1 X2 X3 S1 S2 values
S1 0 0 2 3 1 -2 60
X1 10 1 3/2 ½ 0 1/2 200
Z 10 15 5 0 10 2000
C-Z 0 -9 2 0 -10
3rd Tableau
C 10 6 7 0 0 RHS
Basis X1 X2 X3 S1 S2 values
X3 7 0 2/3 1 1/3 -2/3 20
X1 10 1 7/6 0 -1/6 5/6 190 -1/2(R1) + R2
Z 10 70/6 7 4/9 11/3 2040 = Optimal profit
C-Z 0 -5.67 0 -4/9 -11/3
The fourth tableau is the optimal tableau because there is no any positive value in the net
evaluation row. This indicates that the optimal level of profit is achieved when: X1 = 20, X2 = 0,
X3 =190, S1 = 0, S2 =0 and S3 = 0. The maximum profit is 2,040.
In addition, the demand for the products restricts the production to the maximum of 400 units of
each of the two items. How much of each item must be produced if the company is to maximize
its profit? Use the simplex approach.
56
The solution is optimal when there is no negative value of Cj-Zj.(For minimization LPP case)
The various steps involved in using simplex method for minimization problems are similar to the
maximization method except how to determine the Entering Variable and the optimal solution, as
shown below:
Step 1. Formulate the linear programming model, and express the mathematical model of
L.P. Step 2. Develop the standard format of the LPM
Step 3.Develop an initial solution is set up and check if it is optimal. The minimization tableau is
optimal if all Cj - Zj row values are ≥ 0.
Step 4.Further iterate towards an optimal solution if the current tableau is not optimal by
identifying the entering variable, leaving variable and the pivot element.
Determine the variable to enter the basic solution. To do this, we identify the column
with the largest negative value in the Cj - Zj row of the table.
Next we determine the departing variable from the basic solution. If an artificial
variable goes out of solution, then we discard it totally and even this variable may not
form part of further iterations. Same procedure, as in maximization case, is employed
to determine the departing variable.
Convert the pivot element into 1 and the remaining elements in the pivot column into
0.
57
So the following are the essential things to observe in solving for minimization problems:
The entering variable is the one with the largest negative value in the Cj-Zj row while the
leaving variable is the one with the smallest non-negative ratio.
The optimal solution is obtained when the Cj-Zj row contains entirely zeros and positive
values.
58
The third tableau represents a final tableau since it is the optimal solution with entirely zeros and
non-negative values in the Cj-Zj row.
Therefore, the optimal solution is: X1 = 20/3 and X2 = 8/3 and value of objective function is
212/3.
59
Third Tableau
Cj 25 30 0 0
BV X1 X2 S1 S2 RHS(Q)
X2 25 1 0 -1/10 ½ 5/2
X2 30 0 1 1/15 -2/3 10/3
Zj 25 30 -1/2 - 162.5
15/2
Cj - Zj 0 0 1/2 15/2
Unbound solutions: A solution is unbound if the objective function can be improved without
limit. The condition is relatively easy to recognize in a Simplex solution. Recall that the way to
determine which variable will leave an interim solution is to compute the ratios of values in the
quantity column and values in the pivot column. The variable with the smallest positive ratio will
leave the solution. The solution is unbound if there are no positive ratios. A negative ratio means
that increasing x1 would increase resources. A zero ratio means that increasing x1 would not use
any resources. This condition generally arises because the problem is incorrectly formulated. If
the constraints do not properly bind the solution, or the objective function is stated as
maximization when it should be a minimization, unbound solutions will occur.
Example: Solve the following linear programming model using the simplex procedure.
Maximize profit: 2x1 + 3x2
Subject to:
-x1 + x2 1
-1/2x1 + x2 3
x1, x2 0
60
Even though there is a positive value in the net evaluation row indicating that the solution is not
optimal, we cannot determine the variable to be replaced because there is no positive ratio in the
pivot column. This special condition is referred to as unbounded.
Degeneracy: In the process of developing the next simplex tableau for a tableau that is not
optimal, the leaving variable must be identified. This is normally done by computing the ratios of
values in the quantity column and the corresponding row values in the entering variable column,
and selecting the variable whose row has the smallest non-negative ratio. In some cases, there
will be a tie for the lowest non-negative ratio. Such an occurrence is referred to as degeneracy,
because it is theoretically possible for subsequent solutions to cycle (i.e., to return to previous
solution). There are ways of dealing with ties in a specific fashion; however, it will be usually
enough to simply select one row (variable) arbitrarily and proceed with the computations.
However, there will be no improvement in the solution (level of the objective function); it will
rather be the same as the previous solutions.
Multiple Optimal Solutions: This is the condition when the same maximum value of the
objective function might be possible with a number of different combinations of values of the
decision variables. It occurs when the objective function is parallel to any of the binding
constraint function. Two functions are said to be parallel if the ratio of coefficients of variables is
the same.
When using the simplex approach, we can recognize alternate optimal solution if the Cj-Zj row
contains a zero value for one or more of the non-basic variables (variables not in the solution) in
the final simplex tableau.
Activity 8: Solve the following linear programming model using the simplex procedure.
Maximize profit: 60x1 + 30x2
Subject to:
4x1 + 10x2 100
2x1 + 1x2 22
3x1 + 3x2 39
x1, x2 0
First recognize that the above model is the case of multiple optimal solution because the
objective function 60x1 + 30x2 is parallel to the second constraint 2x1 + 1x2 22. That is, the
ratio of coefficients of variables is the same (i.e. coefficient of x1 to coefficient of x2 both in the
objective function and the second constraint 60 = 2 = 2 :1).
30 1
61
There is a zero in row Cj-Zj in the x2 column and that indicates the existence of an alternate
optimal solution. The presence of this zero tells us that variable x2 can be brought into solution
without increasing or decreasing the value of the objective function.
Dear learner, how do you convert an = constraint to standard form? In the case of equality
constraints slacks are not acceptable; such constraints require a precise amount. However, as we
saw earlier, the origin serves as a convenient starting point for an initial solution. Thus, there is a
conflict using the origin as starting point, with all decision variables set equal to zero, and
equality constraints, which do not permit any slack. This disparity is resolved in simplex by the
introduction of artificial variables. Artificial variables have no physical interpretations, they
merely serve as a device to enable us use the simplex procedure. During the simplex procedure,
artificial variables are quickly eliminated from the solution. In fact, the optimal solution should
never contain an artificial variable with non-zero value. Artificial variables have the same non-
negativity restriction that decision variables and slack variables have.
Example: Let us assume that we do have the following constraint in an LP model under
consideration: 3x1 + 5x2 = 40,
62
Dear learner, note that an artificial variable is a non-negative variable introduced to facilitate
the computation of an initial basic feasible solution.
Note that if a problem has five constraints, and the fifth constraint listed is an equality
constraint, its artificial variable would be designed as A5.
Now consider 8x1 + 3x2 50
Dear learner, how are we going to represent surplus and artificial variables in the objective
function?
Surplus variables are handled in exactly the same way as slack variables are. Namely, they are
assigned coefficients of zero in the objective function.
In maximization problems, assigning a large negative contribution will ensure that an artificial
variable will not appear in the optimal solution. Conversely, in a minimization problem,
assigning a large positive cost will have a similar effect. Although it would be acceptable to
arbitrarily select a large negative or positive value for the artificial variable coefficients, it is
more common to simply designate the coefficient with large M.
Assigning large negative number to be the coefficient of the artificial variable in the objective
function for a maximization problem will facilitate the exclusion of the artificial variable from
the basis as quickly as possible.
Assigning large positive number to be the coefficient of the artificial variable in the objective
function for a minimization problem will facilitate the exclusion of the artificial variable from
the basis as quickly as possible.
63
Note that from the objective function, we can tell that there must be two constraints: the first of
which must be a constraint with s1 as its slack variable and the second of which must be a
constraint with s2 as the surplus variable and A2 as the artificial variable. If there had not been an
s2 in the objective function, we would have concluded that the second constraint was equality.
Then we will develop the initial simplex tableau. In order to develop the initial tableau, follow
these guidelines: List variables across the top of the tableau in order, beginning with the decision
variables, then the slack/surplus variables, followed by any artificial variables. For the initial
basis, use artificial variables for constraints with them. Otherwise, use a constraint‘s slack
variable. Hence, surplus variables will not appear in an initial solution. Using these guidelines,
the tableau, shown below is developed.
64
As before, the entering variable will be the one with the largest positive value in row Cj-Zj. The
two positives are 6 + 7M for x1 and 8 + 3M for x2. Because M is so large relative to the 6 and 8,
the latter can simply be ignored. Thus, we can easily see that +7M is larger than +3M; therefore,
we select x1 variable to enter to the solution. Next, dividing the values in the x1 column into their
respective quantity column values, we obtain these ratios:
Row Ratio
s1 4/0=undefined
A2 9/1=9
A3 24/6=4
The leaving variable is determined in the same way as we did in our previous discussions. The
one with the least positive ratio will be the leaving variable. Because A3 yields the smallest
positive ratio, it will be the leaving variable.
Now do not forget to exclude the third artificial variable,A3, from the simplex tableau when you
develop the second tableau. Once an artificial variable leaves the basis, it is no longer needed.
The second tableau will look like the following:
Second Tableau
Basis Cj 6 8 0 0 -M Quantity
x1 x2 s1 s3 A2
s1 0 0 1 1 0 0 4
A2 -M 0 23 0 16 1 5
x1 6 1 13 0 -1 6 0 4
Zj 6 2-23M 0 -1 -1 6M -M 24–5M
Cj-Zj 0 6+23M 0 1+16M 0
Dear learner, what are the next entering and leaving variables?
The largest positive number in the net evaluation row is 6 + 2 3 M. This shows that the next
variable to enter the basis is x2. And the leaving variable is s1. Therefore, we develop the next
tableau by taking the above facts into consideration.
Third Tableau
Basis Cj 6 8 0 0 -M RHS(Quantity)
x1 x2 s1 s3 A2
x2 8 0 1 1 0 0 4
A2 -M 0 0 -23 16 1 73
x1 6 1 0 -1 3 -1 6 0 83
Zj 6 8 6+2 3M -1 – M/6 -M 48 -7 3M
Cj-Zj 0 0 -6- 2 3M 1+M/6 0
65
Final Tableau
Basis Cj 6 8 0 0 RHS(Quantity)
x1 x2 s1 s3
x2 8 0 1 1 0 4
s3 0 0 0 -4 1 14
x1 6 1 0 -1 0 5
Zj 6 8 2 0 62
Cj-Zj 0 0 -2 0
Look at the above tableau. There is no positive number in the net evaluation row. This means, we
cannot get an improved solution by developing the next tableau. Therefore, the fourth tableau is
the final tableau. The optimal solution is:
x1=5
x2=4
s3=14
Profit=Birr 62
66
The coefficient of artificial variables, M, when we indicate them in the objective function, has
same meaning as other coefficients of variables in the objective function. It indicates the extent
of the artificial variable‘s per unit contribution to the level of the objective function. The values
in the net evaluation row indicate the extent of possible increase to the level of the objective
function as a result of bringing an additional unit of the variable in that column to the solution
mix.
To sum up, in minimization problems, while the variable with the largest negative value in the
net evaluation row enters the next tableau, the variable with the least positive ratio will leave the
solution mix like the maximization case.
Example 5: Solve the following linear programming model using the simplex procedure.
Minimize cost: 6x1 + 9x2
Subject to:
10x1 + 4x2 400
x2 14
x1, x2 0
We start the procedure by writing the model in its standard form. The standard form for the
above model is:
67
Then we develop the initial simplex tableau. The initial simplex tableau is just representing the
standard form of the model using the simplex tableau. It is developed as follows:
Once we developed a simplex tableau, testing it if it is giving us the optimal solution should be
our usual procedure. This is done by looking at values in the net evaluation row. In our
discussion at the beginning of this section, we have said that we develop the next tableau in a
minimization problem by selecting the variable with the largest negative value to be the next
variable to enter the next tableau. Therefore, checking the tableau for optimality will be done by
checking if there is any negative value in the net evaluation row. There are two negative numbers
in this row. But we have selected 6 –10M to be the largest negative number. This is because M is
just a very large number. So, whenever we compare numbers that involve M, we just disregard
any constant number associated with it, but give attention to the coefficient of M. Then, the one
with the greatest coefficient will be selected to be the largest number. Look at the numbers in the
net evaluation row of the initial simplex tableau. 10 is the greatest coefficient of M. This made 6
– 10M to be selected being the largest negative number and an indicator for the next variable to
enter the basis. Thus x1 is the entering variable. A1 is the leaving variable. Why? Look at the
following tableau:
The second tableau is not the optimal tableau because there is a negative number in the net
evaluation row. This indicates that we can get a better solution by bringing the variable having
this negative value (x2 in this case) to the basis. Therefore, the 3rd tableau is developed by taking
this concept into consideration. Look at the following tableau.
68
Since there is no any negative value in the net evaluation row, the 3rd tableau is the optimal
tableau. Therefore, the optimal solution to the above linear programming model is: x1 = 34.4 and
x2 = 14. The level of the objective function is 332.4. There is no surplus variable in the final
tableau. This means, the value of s1 and s2 at optimal solution is zero.
Answer: Deduct surplus variables from the constraint function and the inequality will become an
equation. Moreover, the surplus variables should be represented in the objective function with
zero coefficients as they contribute nothing to the objective of a firm. Surpluses are also assumed
to be non-negative like decision variables.
69
I. Analytical Approach
Here in this module we prefer to use the analytical approach and it will be discussed in detail
below. Five types of discrete changes in the original LP model may be investigated during the
sensitivity analysis using analytical approach.
Changes of the coefficients of the objective function (cj)
Changes of the RHS Quantity (bj)
Changes of the input-output coefficient
Add/delete constraints
The addition of a new variable to the problem
Note: Instead of resolving the entire problem as a new problem with new parameters, we may
take the original optimal solution table as an initial solution table for the purpose of knowing
ranges both lower and upper within which a parameter may assume value.
Cj 5 4.5 1 0 0 0
BV X1 X2 X3 S1 S2 S3 RHS
X1 5 1 1.053 0 0.067 0 0 10
X3 1 0 0.67 1 -0.022 0.067 0 1.8
S3 0 0 1.924 0 0.258 -0.773 1 15.12
Zj 5 5.342 1 0.311 0.067 0 51.8
Cj - Zj 0 -0.842 0 -0.311 -0.067 0
Required: Determine the range of optimality for the coefficients of the basic-decision
variables.
70
Analysis of C1 (for
X1) Steps:
Take the Cj - Zj row of the optimal solution of the non-basic variables
Take the X1 row of the non-basic variables
Find the quotient of ( −)/( 1 )
X2 S1 S2
Cj-Zj row -0.842 -0.311 -0.067
X1 row 1.053 0.067 0
− -0.8 -4.64
1
Upper Limit
The smallest positive number in the ( − )/( 1 )row tells how much the profit of X1 can be increased before the solution is changed.
Upper Limit= C1+the smallest positive value of ( −)/( 1 )
=5+∞=∞
Note: C1=5(See in the original problem given above)
Lower Limit
The largest negative number closest (negative amount closest to 0)
Lower Limit= C1 +the largest negative value of( − )/( 1 )
71
=1+ (-1) = 0
Activity Take the original LPM and its final/optimal solution tableau.
Maximize Z=50x1 +120x2
Subject to:
x1+4x2 < 80
3x1+x2< 60
x1, x2 > 0
Determine the range of optimality for the coefficient of the basic variables.
Optimal Solution
Cj 50 40 0 0
BV X1 X2 S1 S2 RHS
X1 5 1/2 1 1/4 0 20
S2 0 5/2 0 -1/4 1 40
Zj 60 120 30 0 $2,400
Cj - Zj $-10 $0 $-30 $0
Solution
The range of optimality for C2(X2)’s profit coefficient is: $100 ≤ C2≤ ∞
Cj(new)> Zj
The range of insignificance is the range over which Cj rates for non-basic variables can vary
without causing a change in the optimal solution mix (variable) is called the range of
insignificance.
72
Solution
X2 (C2) in the above optimal solution is not part of the solution where its value is 0, therefore
is non-basic variable.The analysis for the range of insignificance for X2 (C2) is shown below:
Thus, ∞≤X2 (C2) < 5.342 is the range of insignificance for X2 (C2).
X2 (C2) can vary with in the given range without causing a change in the optimal solution
mix(X1=10, X1=0, X3=1.8, S1= S2=0 and S3=15.12).
Shadow prices signify the change in the optimal value of the objective function for 1 unit
increases in the value of the RHS of the constraint that represent the availability of scarce
resources. The negative of the number of Cj - Zj row in its slack variable columns provide as
with shadow prices. Or: shadow prices are found in the Zj row of the final simplex tableau in the
slack variable columns.
RHS range is the range over which shadow prices remain valid.
73
Required:
Determine the shadow price for each constraint
Determine the RHS ranges over which the shadow prices are valid
Solution:
Analysis of the 1st constraint (b1)
Steps:
Take RHS(Quantity) column
Take respective slack or surplus value added to the constraint(Si)
iii. Find the quotient of ⁄1
RHS(Q) S1
1
Therefore, 12< b1< 18.99 (The range of resource 1 over which the shadow price $0.714 per unit
is valid).
74
3.57 0.714 5
1.143 0.428 2.67
0.857 -0.428 -2
Lower Limit=b2-the smallest positive number in the RHS ⁄ S2 column =8-(2.67)= 5.33
Upper Limit=b2-the largest negative number in the RHS ⁄ S2 column =8-(-2) =10
Therefore, 5.33< b1< 10 (The range of resource 2 over which the shadow price $0.428 per unit is
valid).
Analysis of the 3rd constraint (S3)
RHS(Q) S3 RHS S3
3.57 0 Undefined
1.143 1 1.143
0.857 0 Undefined
Lower Limit=b3-the smallest positive number in the RHS ⁄ S3 column =2-(1.143)= 0.857
Upper Limit=b3-the largest negative number in the RHS ⁄ S3 column =2-(-∞) =∞
Therefore, 0.857< b3< ∞ (The range of resource 3 over which the shadow price $0 per unit is
valid).
75
Therefore, we see that obtaining more warehouse space will have the biggest positive impact on
High Tech‘s profit.
NB: With a greater than or equal to constraint, the value of the shadow price will be less than or
equal to zero because a 1 unit increase in the value of the RHS cannot be helpful; it makes it
more difficult to satisfy the constraint. As a result, for a maximization problem the optimal value
of the objective function can be expected to decrease when the RHS side of a greater than or
equal to constraint is increased.
Solve the following LPP using simplex method. A firm that manufactures both lawn mowers
and snow blowers:
X1 =the number of lawn mowers
X2 =the number of snow blowers
Maximize Z=$30x1+$80x2
Subject to:
x1+4x2 < 1000 Labor hours available
6x1 + 2x2 < 1,200lb of steel available
x2 < 20 snow blower engine available
x1, x2 > 0
Answer:
x1=100, x2=200 and profit =$19,000
The shadow price for labor hours is valid from 800 hours to 1,066.66 hours
The shadow price for pounds of steel is valid from 1,000pounds up to an infinite number
of pounds
76
2.6.2. DUALITY
The term ‗dual‘ in a general sense implies two or double. Every linear programming problem
can have two forms. The original formulation of a problem is referred to as its Primal form. The
other form is referred to as its dual LP problem or in short dual form. In general, however, it is
immaterial which of the two problems called primal or dual, since the dual of the dual is primal.
The dual involves setting up and solving an LP problem that is almost a ‗mirror image‘ of an LP
problem that has been formulated. Both in its formulation and solution, the dual is the flip flop
version of the primal.
In the context of LP, duality implies that each LP problem can be analyzed in two different ways,
but having equivalent solution. For example, consider the problem of production planning. By
using the primal LP problem, the production manager attempts to optimize resource allocation by
determining quantities for each product to be produced that will maximize profit. But through
dual LP problem approach, he attempts to achieve production plan that optimizes resource
allocation so that each product is produced at that quantity such that its marginal opportunity cost
equals its marginal return. Thus, the main focus of dual is to find for each resource its best
marginal value or shadow price. This value reflects the scarcity of resources, i.e., the maximum
additional prices to be paid to obtain one additional unit of the resources to maximize profit
under the resource constraints. If resource is not completely used, i.e., there is slack, then its
marginal value is zero.
The shadow price is also defined as the rate of change in the optimal objective function value
with the respect to the unit change in the availability of a resource. Precisely for any constraint,
we have,
Shadow Price = change in the optimal objective function value
unit change in the availability of a resource
Analysis of the dual can also enable a manager to evaluate the potential impact of a new product,
and it can be used to determine the marginal values of resources (i.e. constraints). Relative to a
product, a manager would want to know what impact adding a new product would have on the
solution quantities and the profit; relative to resources, a manager can refer to a dual solution to
determine how much profit one unit of each resource equivalent to. Whereas the primal gives
solution results in terms of the amount of profit gained from producing products, the dual
provides information on the value of the constrained resources in achieving that profit.
Symmetrical form
Suppose the primal LP problem is given in the form
77
am1x1+am2x2+... + amnxn bm
x1,x2... xn 0
and then the corresponding dual LP problem is defined as:
a1ny1+an2y2+... + amnym cn
y1,y2... ym 0
The above pair of LP problems can be expressed in the general LP model form as
Primal Dual
n m
cjxj biyi
= =
Max Zx = j 1 Min Zy = i 1
n m
aijxj bi ajiyi cj
j =1
; i = 1, 2,.., m i=1 ; i= 1,2, ..., n
aij = aji
and xj 0; j = 1,2,…,n and yi 0; j = 1,2,…,m
The following rules which guide the formulation of the dual problem will give you the summary
of the general relationship between primal and dual LP problems.
Primal-Dual Relationship
Primal Dual
Objective is minimization Objective is maximization and vice versa
> type constraints < type constraints
N o of columns N o of rows
N o of rows N o of columns
N o of decision variables N o of constraints
N o of constraints N o of decision variables
Coefficient of Object function RHS value
RHS value Coefficient of Object function
78
The following table shows how the primal problem is transformed into its dual.
Primal Dual
Objective Minimize 40x1 + 44x2 + Maximize 20y1 + 30y2
function and Subject to 48x3 Subject to
right-hand 1 20 1 40
side values 2 30 2 44
3 48
Primal Dual
Constraint 1 1x1 + 2x2 + 3x3 1 1y1 + 4y2
coefficients 2 4x1 + 4x2 + 4x3 2 2y1 + 4y2
3 3y1 + 4y2
We can see from the table that the original objective was to minimize, whereas the objective of
the dual is to maximize. In addition, the coefficients of the primal‘s objective function become
the right-hand side values for the dual‘s constraints, whereas the primal‘s right-hand side values
become the coefficients of the dual‘s objective function.
Note that the primal has three decision variables and two constraints; whereas the dual has two
decision variables and three constraints. The constraint coefficients of the primal are constraint
coefficients of the dual, except that the coefficients of the first ―row‖ of the primal become the
coefficients of the first ―column‖ of the dual, and the coefficients of the second ―row‖ of the
primal become the coefficients of the second ―column‖ of the dual. When the primal problem is
a maximization problem with all < constraints, the dual is a minimization problem with all >
constraints.
79
If a constraint is equality, it must be replaced with two constraints, one with a ≤ sign and the
other with a ≥ sign. For instance,
4x1 + 5x2 = 20
will be replaced by two equations as follows:
4x1 + 5x2 < 20
4x1 + 5x2 > 20
Then one of these must be multiplied by -1, depending on whether the primal is maximization or
a minimization problem.
80
Example 3: To show that the flip-flopping of values between the primal and the dual carries
over to their final simplex tableaus, let us look at the following tables. The first table contains the
final tableau for the dual and the second one contains the final tableau for the primal.
Let‘s consider how we can obtain the answers to these questions from the dual solution. Notice
that the solution quantities of the dual are equal to the shadow prices of the primal (i.e. 40/3 and
10). Next, notice that the values of the solution quantities of the primal (i.e., 24, 9, and 4) can be
81
Therefore, in the primal solution we have x1 = 9 and x2 = 4; in the dual, 9 appears under s1 in
the bottom row, and 4 appears under s2. Thus, we can read the solution to the primal problem
from the bottom row of the dual: In the first three columns of the dual, which equate to slack
variables of the primal, we can see that the fist slack equals 24 and the other two are zero. Under
the dual‘s slack columns, we can read the primal values of the decision variables. In essence,
then, the variables of the primal problem become the constraints of the dual problem, and vice
versa.
Note: The value of ith dual variable is the rate at which the primal objective function value will
increase as the ith resource increases, assuming that all other data is unchanged.
2.7. SUMMARY
Linear programming models are used to find optimal solutions to a special class of operations
research problems known as constrained optimization. An LP model consists of a
mathematical statement of the objective function and a set of mathematical statements of the
restrictions (the constraints). The objective function and the constraints consist of symbols
that represent the decision variables (for example, x1, x2, x3, etc) and numerical values called
parameters. In order for linear programming models to be used, the problems must involve a
single objective, a linear objective function and linear constraints, and have known and
constant numerical values. In general, variables are not allowed to have negative values.
These restrictions are referred to as non-negativity constraints.
Linear programming is used in business to maximize the linear functions of a large number
of variables, subject to certain constraints. Among the applications of linear programming
models are problems that involve product mix, portfolio selection, distribution, assignments,
and production and inventory planning.
Solutions to an LP model can be seen being classified into two. The first one is the graphical
approach. This model is applicable for models having only two decision variables. If the
number of variables is greater than two, we can not use the graphical approach. In this case,
another approach – the simplex procedure will be used. Therefore, the simplex method is the
82
Item Cubic feet per unit Price per unit Weight per unit Can resell
for
2 x 4 studs 1 $0.10 5 pounds $0.80
4 x 8 plywood 3 $0.50 20 pounds $3.00
Concrete 0.5 $0.25 10 pounds $0.75
blocks
State the decision variables (give them labels). State the objective function. Formulate the
constraints of this problem. DO NOT SOLVE, but speculate on what might be a good solution
for Tom. You must supply a set of quantities for the decision variables. Provide a sentence or
two of support for your choice.
A financial advisor is about to build an investment portfolio for a client who has $100,000 to
invest. The four investments available are A, B, C, and D. Investment A will earn 4 percent
and has a risk of two "points" per $1,000 invested. B earns 6 percent with 3 risk points; C
earns 9 percent with 7 risk points; and D earns 11 percent with a risk of 8. The client has put
the following conditions on the investments: A is to be no more than one-half of the total
invested. A cannot be less than 20 percent of the total investment. D cannot be less than C.
Total risk points must be at or below 1,000.
83
A manager must decide on the mix of products to produce for the coming week. Product A
requires three minutes per unit for molding, two minutes per unit for painting, and one
minute for packing. Product B requires two minutes per unit for molding, four minutes for
painting, and three minutes per unit for packing. There will be 600 minutes available for
molding, 600 minutes for painting, and 420 minutes for packing. Both products have
contributions of $1.50 per unit. Answer the following questions; base your work on the
solution panel provided.
Required: Formulate as a linear programming problem, and solve using the graphical
solution method.
Phil Bert's Nuthouse is preparing a new product, a blend of mixed nuts. The product must be
at most 50 percent peanuts, must have more almonds than cashews, and must be at least 10
percent pecans. The blend will be sold in one-pound bags. Phil's goal is to mix the nuts in
such a manner that all conditions are satisfied and the cost per bag is minimized. Peanuts cost
$1 per pound. Cashews cost $3 per pound. Almonds cost $5 per pound and pecans cost $6
per pound. Identify the decision variables of this problem. Write out the objective and the set
of constraints for the problem. Do not solve.
Rienzi Farms grows sugar cane and soybeans on its 500 acres of land. An acre of soybeans
brings a $1000 contribution to overhead and profit; an acre of sugar cane has a contribution
of $2000. Because of a government program no more than 200 acres may be planted in
soybeans. During the planting season 1200 hours of planting time will be available. Each
84
A Juice Company has available two kinds of food Juices: Orange Juice and Grape Juice.
The company produces two types of punches: Punch A and Punch B. One bottle of punch A
requires 20 liters of Orange Juice and 5 liters of Grape Juice.1 Bottle of punch B requires 10
liters of Orange Juice and 15 liters of Grape Juice. From each of bottle of Punch A a profit of
$4 is made and from each bottle of Punch B a profit of $3 is made .Suppose that the company
has 230 liters of Orange Juice and 120 liters of Grape Juice available
Required:
Formulate this problem as a LPP
How many bottles of Punch A and Punch B the company should produce in order to
maximize profit? (Using the simplex method)
What is this maximum profit?
85
86
3.0. INTRODUCTION
This unit describes two special purpose algorithms: the transportation model and the assignment
model. The chapter has two main sections. Section one discusses with transportation models. It
provides general overview of the transportation method, formulation of a transportation model,
finding an initial feasible solution, evaluation of a solution for optimality and developing an
improved solution. Section two is about an assignment model. In each section, there are in-text
questions and learning activities to initiate your study and to check yourself whether you understood
the contents of each section well. Moreover, at the end of the unit, there are checklists, summaries
and self assessment questions that will facilitate your study and ensure your understanding of the
concepts in the unit. Therefore, please work hard to understand this unit very well and to appreciate
the application of linear programming to transportation and assignment problems.
87
The transportation problem arises frequently in planning for the distribution of goods and
services from several supply locations to several demand locations. Usually the quantity of goods
available at each supply location (origin) is limited and there is a specified amount needed
(demand) at user location (destination). With a variety of shipping routes and differing cost for
the routes, the objective is to know how many units should be shipped from each origin to each
destination so that all destination demands are satisfied and total transportation costs are
minimized.
Example 1: ABC sand and gravel pit has contracted to provide topsoil for three residential
housing developments. Topsoil can be supplied from three different ―farms‖ as follows:
88
A solution to a transportation problem consists of quantities that are assigned to the various
routes. These values can range from zero, which implies that no units will be shipped over that
route, to a maximum that equals the smaller of the two quantities: the row (supply) and column
(demand) totals. The logic of the maximum quantity is simple. The quantity shipped cannot
exceed the available supply in a row, and it should not exceed the amount demanded (column
total). Such a solution is feasible solution.
A number of different approaches can be used to find an initial feasible solution. Some of these
are described as follows.
The northwest-corner method gets its name because the starting point for the allocation process
is the upper left hand (northwest) corner of the transportation table. For the above problem, this
would be the cell that represents the route from farm A to project #1. The following set of
principles guides the allocation.
89
Example 2: For ABC problem (the problem above), find an initial feasible solution using
NWCM and compute total transportation cost.
Solution
It can be solved by using the following steps:
Beginning in cell A-1, allocate 50 units, exhausting demand in column 1 and leaving 50 units
of supply in row A.
Staying in row A, move to cell A-2, where supply is now 50 and demand is 150 units. Allocate
50 units to this cell, exhausting the supply of row A and leaving 100 units in column 2.
Staying in column 2, move down to cell B-2, where supply is 200 units. Allocate 100 units to
this cell, exhausting demand in column 2 and leaving 100 units of supply in row B.
Staying in row B, move to cell B-3 and allocate 100 units, exhausting that row‘s supply and
leaving 200 units in column 3.
Staying in column 3, move down to cell C-3 and allocate 200 units, exhausting both the row
and column quantities.
Farm A 50 4 50 2 8 100
(first) (second)
Farm B 5 1 9 200
100(3rd) 100(4th)
7 6 3 200
Farm C 200(last)
90
As noted earlier, the main drawback of the northwest corner method is that it does not consider
cell (route) costs in making the allocation. Consequently, if this allocation is optimal, that can be
attributed to chance rather than the method used.
Fro
Store 1 Store 2 Store 3 Store 4 Supply
Plant 1 19 30 50 10
7
70 30 40 60
Plant 2 9
Plant 3 40 8 70 20 18
Demand 5 8 7 14 34
Solution
a. Table: Initial feasible solution
To
Store 1 Store 2 Store 3 Store 4 Supply
From
Plant 1 19 30 50 10
7
5 2
70 30 40 60
Plant 2 6 3 9
40 8 70 20
Plant 3 4 14 18
Demand 5 8 7 14 34
91
Note: NWCM does not consider the cost factor for allocation.
Activity 1: Determine an initial basic feasible solution to the following transportation problem
using NWCM. Compute the total cost for this solution.
Destination
A B C Supply
S1 2 7 14 5
S 3 3 1 8
2
S3 5 4 7 7
S4 1 6 2 14
Demand 7 9 18
ANSWER: X11=5, X21=2, X22=6, X32=3, X33=4, X43=4, and Total cost =$102
Example 4: Find an initial feasible solution using LCM and calculate the associated total
transportation cost for the following transportation model.
92
Solution:
The cell with the lowest cost is Farm B to Project #2 (B-2), in which the cost is Birr 1. Farm B
has 200 tons of gravel, where as project #2 has a demand for only 150 tons. Consequently we
allocate 150 tons (the lesser of the two quantities) to cell B-2. Because this exhausts the demand
of project #2, we cross out the cells in that column and the demand, and we change the row total
to 50.
Of the cells that remain, C-3 has the lowest (A-2 cannot be used because it has been crossed out).
The supply of farm C is 200 tons, the demand of project #3 is 300 tons. The lesser of these is 200
tons, so that quantity is placed in cell C-3. Since the supply of farm C has been completely used,
the cells in row 3 are crossed out along with the row total. The remaining demand for project #3
is 100 tons, so that column total must be adjusted accordingly. Of the remaining cells, A-1 has
the lowest cell cost. The column total is 50 and the row total is 100; hence, the quantity 50 is
assigned to that cell. Because the demand of project #1 has been satisfied, the cells in the column
must be crossed out, and 50 units must be subtracted from the supply of farm A. at this point,
only two remaining cells have not been crossed out: cells A-3 and B-3. Cell A-3 has the lowest
cost, so it is next in line for allocation. The remaining supply is 50 units, and the remaining
demand is 100 units; consequently, the quantity 50 is placed in A-3. This completes the use of
supply for farm A, and it leaves a demand of 50 units for project #3. The last remaining cell,
then, receives a quantity of 50 units, canceling the remaining supply and demand for both its row
and column.
To Project #1 Project #2 Project #3 Supply
From
Farm A 4 2 50 (4th ) 8 100
50 (3rd )
93
Cell Unit Cost (in Birr) Number of units Transportation cost (in Birr)
A-1 4 50 200
A-3 8 50 400
B-2 1 150 150
B-3 9 50 450
C-3 3 200 600
500 Birr 1,800
Compared to the plan generated using the northwest-corner method, this one has a total cost that
is Birr 100 less. The fact that this plan is less costly than the previous one was expected as the
previous did not involve the use of cost information in allocating units.
Example 5: Find an initial feasible solution using LCM and calculate the associated total
transportation cost for the following transportation model.
Destinations
Factory
W1 W2 W3 W4 Capacity
F1 3 2 7 6 5000
F2 7 5 2 3 6000
F3 2 5 4 5 2500
Demand 6000 4000 2000 1500 13500
Solution:
Factory
W1 W2 W3 W4 Capacity
3 2 7 6
F1 5000
1000 4000
7 5 2 3
F2 6000
2500 2000 1500
2 5 4 5
F3 2500
2500
Demand 6000 4000 2000 1500 13500
94
m= 3, n=4 ==> 3+4-1 =6 occupied calls (Feasible) Least- Cost method is better
than the NWCM because it considers cost factories.
Example 6: Develop the initial feasible solution for the following Transportation Problem using
the least-cost method (LCM)
D E F G Supply
A 1 5 3 4 100
B 4 2 2 5 60
C 3 1 2 4 120
Demand 70 50 100 60 280
Solution
The 1st allocation be made to the cell with the least-cost. Cells AD & CD both have the lowest
cost f $1. Cell AD is selected 1st because more units can be allocated to it (70) than to cell CE
(50).
Cell CF is filled in 1st since a larger quantity (120-50-70) can be placed there. Then, the
remaining requirement of 30 for column F is allocated to cell BF & source B's supply is reduced
to 30.
95
Activity 2: Find an initial feasible solution using LCM and calculate the total transportation cost.
R S T Supply
A 1 2 3 100
B 4 1 5 110
Demand 80 120 60
Example 7: For the ABC transportation problem above, find an initial feasible solution using
VAM and calculate the total transportation cost.
Solution
The following table shows the computation of penalty for various rows and columns
96
B 5 150 1 50 9 200 4 4 4 9 -
50 0
C 7 6 200 3 200 3 - - - -
0
Demand 50 150 300
0 0 100
50 0
Column 1 1 5
Penalty 1 1 1
1 - 1
- - 1
- - 8
The highest penalty occurs in the third column. The minimum cost in this column is Birr 3.
Hence, 200 units will be shipped from farm C to project 3 and the 3rd row is crossed out.
Proceeding in this way:
150 units will be shipped from farm B to project 2 and the second column is crossed out.
50 units will be shipped from farm B to project 1 and the first column is crossed out
rd
100 units will be shipped from farm A to project 3 and the 3 column is crossed out.
Let us compute the total cost of this solution and compare it to that of the previous solutions.
Cell Unit Cost (in Birr) Number of units Transportation cost (in Birr)
A-1 4 50 200
A-3 8 50 400
B-2 1 150 150
B-3 9 50 450
C-3 3 200 600
500 Birr 1,800
Solution:
Now, compute the penalty for various rows and columns which is shown in the following table:
97
Look for the highest penalty in the row or column, the highest penalty occurs in the second
column and the minimum unit cost i.e. cij in this column is c12=22. Hence assign 40 to this cell
i.e. x12=40 and cross out the second column (since second column was satisfied. This is shown
in the following table:
Destination Row
Origin 1 2 3 4 Supply Penalty
1 20 40 22 17 4 120 13
0
2 24 37 9 7 70 2
3 32 37 20 15 50 5
Demand 60 40 30 110 240
Column 4 15 8 3
The next highest penalty in the uncrossed-out rows and columns is 13 which occur in the first
row and the minimum unit cost in this row is c14=4, hence x14=80 and cross out the first row.
The modified table is as follows:
Destination Row
Origin 1 2 3 4 Supply Penalty
1 20 40 22 17 80 4 120 13
80
2 24 37 9 7 70 2
3 32 37 20 15 50 5
Demand 60 40 30 110 240
Column 4 - 8 3
The next highest penalty in the uncrossed-out rows and columns is 8 which occurs in the third
column and the minimum cost in this column is c23=9, hence x23=30 and cross out the third
column with adjusted capacity, requirement and penalty values. The modified table is as follows:
98
1 20 40 22 17 80 4 120 -
80
2 24 37 30 9 7 70 2
3 32 37 20 15 50 5
Demand 60 40 30 110 240
Column 8 - 11 8
The next highest penalty in the uncrossed-out rows and columns is 17 which occurs in the
second row and the smallest cost in this row is c24=15, hence x24=30 and cross out the fourth
column with the adjusted capacity, requirement and penalty values. The modified table is as
follows:
Destination Row
Origin 1 2 3 4 Supply Penalty
1 20 40 22 17 80 4 120 -
80
2 24 37 30 9 30 7 70 17
40
3 32 37 20 15 50 5
Demand 60 40 30 110 240
Column 8 - - 8
The next highest penalty in the uncrossed-out rows and columns is 17 which occurs in the
second row and the smallest cost in this row is c21=24, hence xi21=10 and cross out the second
row with the adjusted capacity, requirement and penalty values. The modified table is as
follows:
Destination Row
Origin 1 2 3 4 Supply Penalty
1 20 40 22 17 80 4 120 -
80
2 10 24 37 30 9 30 7 70 17
3 32 37 20 15 50 5
Demand 60 40 30 110 240
50
Column 8 - - 8
99
Destination Row
Origin 1 2 3 4 Supply Penalty
1 20 40 22 17 80 4 120 -
80
2 10 24 37 30 9 30 7 70
3 50 32 37 20 15 50 32
Demand 60 40 30 110 240
50
Column 32 - -
1 20 40 22 17 80 4 120 13 13 - - -
80
2 10 24 37 30 9 30 7 70 2 2 2 17 -
3 50 32 37 20 15 50 5 5 5 5 32
DD 60 40 30 110 240
50
Column 4 15 8 3
4 - 8 3
Penalty 8 - 11 8
8 - - 8
32 - - -
22*40+4*80+9*30+7*30+24*10+32*50=$3,520
100
Cost of shipping one million liters form each plant to each distribution center is given in the
following table in hundreds of dollar.
Distribution Center
D1 D2 D3 D4
P1 2 3 11 7
Plant
P2 1 0 6 1
P3 5 8 15 9
Answer:
Total cost = $11, 600
Total cost= $11,200
VAM Solution is shown below
101
The stepping stone method involves a good deal more effort than the MODI method, as you will
note. However, it provides an intuitive understanding of the evaluation process. Moreover, when
a solution is not optimal, the distribution plan must be revised by reallocating units into and out
of various cells and only the stepping stone method can be used for the reallocation. It is,
therefore, necessary to be able to use the stepping stone approach, although the preferred choice
is first to use the MODI method and then, the stepping stone method, if necessary.
The name stepping-stone relates to an analogy of crossing a pond or stream by moving from
stone to stone; in the case of a transportation solution the ―stones‖ are the completed (occupied)
cells. Consider the initial feasible solution we found using the northwest corner method.
Steps
Step 1: Determine an initial basic feasible solution using any one of the above three methods.
Step 2: Make sure that the number of occuqwpied cells is exactly equal to m+n-1, where m is the
number of rows and n is the number of columns.
Step 3: Select an unoccupied cell.
Step 4: Beginning at this cell, trace a closed path using the most direct route through at least
three occupied cells used in a solution and then back to the original occupied cell and moving
with only horizontal and vertical moves. The cells at the turning points are called "Stepping
Stones" on the path.
Step 5: Assign plus (+) and minus (-) signs alternatively on each corner cell of the closed path
just traced, starting with the plus sign at unoccupied cell to be evaluated.
Step 6: Compute the net change in the cost along the closed path by adding together the unit cost
figures found in each cell containing a plus sign and then subtracting the unit costs in each
square containing the minus sign.
Step 7: Check the sign of each of the net changes. If all the net changes computed are greater
than or equal to zero, an optimum solution has been reached. If not, it is possible to improve the
current solution and decrease the total transportation cost.
Step 8: Select the unoccupied cell having the most negative net cost change and determine the
maximum number of units that can be assigned to a cell marked with a minus sign on the closed
102
Example 9:.Below is an initial feasible solution found by the NWCM. Test/evaluate for
optimality using Stepping stone Method and calculate the associated total transportation cost.
Solution:
We know it is not optimal because the intuitive method generated an initial solution that has a
lower total cost. However, it will be instructive to analyze the north-west corner solution in order
to see how the stepping stone method works and to gain some insight into the process of
developing an improved solution. Only the unoccupied cells need to be evaluated because the
question at this point is not how many units to allocate a particular route but only if converting a
cell from zero units to non - zero (a positive integer) would decrease or increase total costs. The
unoccupied cells are: A-3, B-1, C-1, and C-2. They must be evaluated one at a time, but in no
particular order.
Let us begin with cell B-1. We start by placing a plus sign (+) in the cell being evaluated, which
stands for the addition of one unit to the cell. In order to maintain the column total of 50, we
must subtract one unit from an occupied cell; cell A-1 is the only option. This is designated by
placing a minus sign (-) in cell A-1. Because we subtracted one unit from row A, we must
compensate for this, which we can do by adding a unit (placing a + sign) in cell A-2. Similarly,
we compensate for the addition of one unit to column 2 by subtracting a unit from cell B-2, and
place a minus sign (–) in that cell to reflect this. Because we initially added one unit to row B in
cell B-1, this last subtraction also compensates for that, and we have traced a completed path,
which we can use to evaluate B-1.
103
This means that for each unit shifted into cell B-1 in this way (which is the only way a shift
could be made), the total cost would increase by Birr 2. Consequently, such a shift would not be
desirable. Turning our attention to cell C-1, we begin its evaluation by placing a + sign in that
cell.
Table 1
Project #1 Project #2 Project #3 Supply
Farm A 50 4 50 2 8 100
- +
Farm B 5 100 1 100 9 200
- +
Farm C 7 6 200 3 200
+ -
Demand 50 150 300 500
We can move horizontally or vertically to an occupied cell. Suppose we move to cell C-3 and
place – sign there. Next, we move vertically to cell B-3, place a + sign in it, then horizontally to
B-2, place a – sign there, move up to cell A-2, place a + sign there. The evaluation of this path is
+10.
+ -
7 3
9 1
18-8=+10
2 4
+18 -8
Hence, using this path for reallocation would increase total cost by Birr 10 per unit. Again this
path would not be desirable. Evaluation paths for empty cells A-3 and C-2 are shown below:
A-3 C-2
- -
2 1
19 93
+911 +15 -4
-2 +11
104
The negative value of cell A-3 indicates an improved solution is possible. For each unit we can
shift into that cell, the total cost will decrease by Birr 2. How many units can be reallocated into
that cell? The next table shows an improved second table and based on this table, another cell
evaluation will be done to see if an optimal solution is reached or not. As it was indicated above,
if the all cell evaluator values are greater than or equal to zero (kij≥0), optimal solution is
reached.
Table 2
Project #1 Project #2 Project #3 Supply
Farm A 50 4 2 50 8 100
7 6
Based on the above cell evaluation result all result indicates zero or positive number, hence
optimal solution is reached. The next step is calculating total transportation cost for this
optimal solution.
NB. Total transportation cost can be reduced by $100 due to optimality test performed and
it can‘t be reduced beyond this value as optimality test /evaluation tells us this is optimal.
105
The index numbers are determined sequentially in a manner dictated by the position of occupied
cells. The process always begins by assigning a value of zero as the index number of row 1.
This method will be illustrated by developing index numbers for the initial feasible solution for
the above problem generated by the north - west corner method. We begin by assigning a value
of zero as the index for row 1. Once row index has been established, it will enable us to compute
column index numbers for all occupied cells in that row. Similarly, once a column index number
has been determined, index numbers for all rows corresponding to occupied cells in that column
can be determined.
Steps
Step1: Determine an initial basic feasible solution using any one of the three methods given
above.
Step2: Determine the values of dual variables, ui and vj, using ui + vj = cij NB. By definition,
U1=0
Step3: Compute the opportunity cost using cij – ( ui + vj ).
Step4: Check the sign of each opportunity cost. If the opportunity costs of all the unoccupied
cells are either positive or zero, the given solution is the optimum solution. On the other hand, if
one or more unoccupied cell has negative opportunity cost, the given solution is not an optimum
solution and further savings in transportation cost are possible.
Step5: Select the unoccupied cell with the smallest negative opportunity cost as the cell to be
included in the next solution.
Step6: Draw a closed path or loop for the unoccupied cell selected in the previous step. Please
note that the right angle turn in this path is permitted only at occupied cells and at the original
unoccupied cell.
Step7: Assign alternate plus and minus signs at the unoccupied cells on the corner points of the
closed path with a plus sign at the cell being evaluated.
Step8: Determine the maximum number of units that should be shipped to this unoccupied cell.
The smallest value with a negative position on the closed path indicates the number of units that
can be shipped to the entering cell. Now, add this quantity to all the cells on the corner points of
the closed path marked with plus signs and subtract it from those cells marked with minus signs.
In this way an unoccupied cell becomes an occupied cell.
Step9: Repeat the whole procedure until an optimum solution is obtained.
Example 10: Below is an initial feasible solution found by the NWCM. Test/evaluate for
optimality using MODI and calculate the associated total transportation
106
The index number for column 1 is based on the fact that the sum of its value and the row index
number must equal the cell cost of Birr 4 for cell A-1. Thus, 0+V1=4, so V1=+4. Similarly using
occupied cell A-2, the index number of column 2 is 0 + V2 = 2. V2 = +2.
Knowledge of the index number for column 2 enables us to compute the index number for row B
using the unit cost for occupied cell B-2: U2 +2 = 1, so U2=-1. The value U2 of then enables us
to compute the index number for column 3: V3 -1 = 9 so V3=+10. The remaining index number,
that of row 3, can be determined using the unit cost of occupied cell C-3 and the column 3 index
number, V3:U3+10=3, so U3=-7. We can now readily determine the cell evaluations
(improvement potentials) for each of the unoccupied cells using the relationships:
These determinations can be made in any order. For example, the cell evolution for A-3 is 8-0-
10= -2. This implies an improvement (decrease in total cost) of Birr 2 per unit for units that can
be shifted into cell A-3. Similarly for empty cell B-1, the improvement potential is 5-4-(-1) =+2
which indicates any units shifted into this cell would increase total cost by Birr 2 each. For
unoccupied cell C-1, the evaluation is 7-(-7)-4 = +10, and for cell C-2, the cell evaluation is 6-(-
7)-2=+11. Note that they agree with the values we computed earlier using the stepping stone
method.
When cell evaluations are positive or zero, an optimal solution has been found. If one or more is
negative, the cell with the largest negative should be brought into solution because that route has
the largest potential for improvement per unit. In this case, we found that cell A-3 had an
107
Farm A 50 4 50 - 2 + 8 100
7 6 200 3 200
Farm C
Demand 50 150 300
The + signs in the path indicate units to be added, the - sign indicate units to be subtracted. The
limit on subtraction is the smallest quantity in a negative position along the cell path. There are
two quantities in negative positions, 50 and 100. Because 50 is the smaller quantity, that amount
will be shifted in the following manner. Subtract 50 units from each cell on the path with a -ve
sign and add 50 units to the quantities of each cell with a + sign in it. A quick check reveals that
the sums of quantities in each row and in each column are equal to original row and column
totals. The result is shown as:
108
With each iteration, it is necessary to evaluate the empty cells to see if further improvement is
possible. This requires use of either the MODI or the stepping stone method. Both will yield the
same value.
We begin by setting the index number for row 1 equal to zero. The column 1 index number is
found using the equality: 0+V1=4. Solving, we find V1=+4. Similarly, for column 3, 0+ V3=8,
so V3=+8. Using cell B-3 as a ―pivot,‖ the index number for row 2 can be found from the
equality U2+ V3=9. Because V3 was found to be +8, this means that U2=+1. This value now
allows us to compute the index number for column 2 because U2+ V2=1; 1+ V2=1, so V2=0.
Lastly, the index number for row 3 can be determined on the basis of the unit cost of cell C-3
because U3+ V3=3, U3+ 8=3. Thus U3 =-5. These values provide the basis for computing
evaluations for the empty cells using the relationship:
Note that the net evaluation index for every unoccupied cell is now greater or equal to zero and
thus we have reached the optimal solution.
109
Step 1: First we have to determine the basic feasible solution. The basic feasible solution using
least cost method is:
A 50 1 9 13 36 51 50
B 24 60 12 16 20 40 1 100
C 50 14 10 33 50 1 40 23 28 150
Demand 100 70 50 40 40
x11=50, x22=60, x25=40, x31=50, x32=10, x33=50 and x34=40; and total cost
is =$ 2,760
Step 2: The dual variables u1, u2, u3 and v1, v2, v3, v4, v5 can be calculated from the
corresponding cij values,
Step 3: By convention the dual variable U1 is arbitrarily assigned to zero that is U1=0. The
values of the variables calculated are
C11=U1+V1
1=0+V1
V1=1
C32=U3+V2
33=13+V2
V2=20
C33=U3+V3
1=13+V3
V3= -12
C34=U3+V4
23=13+V4
V4=10
110
C25=U2+V5
23= -8+V5
V5=15
D1 D2 D3 D4 D5 Supply Ui
A 50 1 9 13 36 51 50 U1=0
B 24 60 12 16 20 40 1 100 U2= -8
C 50 14 10 33 50 1 40 23 28 150 U3=13
Demand 100 70 50 40 40
Vj V1=1 V2=20 V3= -12 V4=10 V5=15
Step 4: Now we calculate cij – (ui + vj) values for all the cells where xij=0 (.i.e. Unoccupied
cells by the basic feasible solution)
That is:
Cell(1,2)= c12-(u1+v2) = 9-(0-20) = -11
Cell(1,3)= c13-(u1+v3) = 13-(0+-12) =1
Cell(1,4)= c14-(u1-v4) = 36-(0+10) = 26
Cell(1,5)= c15-(u1-v5) = 51-(0+15) = 37
Cell(2,1)= c21-(u2-v1) = 24-(-8+1) = 31
Cell(2,3)= c23-(u2-v3) = 16-(-8+-12)=36
Cell(2,4)= c24-(u2-v4) = 20-(-8+10) = 18
Cell(3,5)= c35-(u3-v5) = 28-(13+15) = 0
Note that in the above calculation all the cij – ui – vj ≥ 0 except for cell (1, 2) where C12 – (u1
+v2) = 9-(0-20) = -11.
Thus in the next iteration x12 will be a basic variable changing one of the present basic
variables non-basic. We also observe that for allocating one unit in cell (1, 2) we have to reduce
one unit in cells (3, 2) and (1, 1) and increase one unit in cell (3, 1). The net transportation cost
for each unit of such reallocation is -33 -1 + 9 +14 = -11
The maximum that can be allocated to cell (1, 2) is 10 otherwise the allocation in the cell (3, 2)
will be negative. Thus, the revised basic feasible solution is x11=40, x12=10, x22=60, x25=40,
x31=60, x33=50, x34=40 an corresponding total transportation cost is=$2610,
111
Example 12: Check if the following transportation problem might have more than one
solution. We can find out what that alternate solution is by reallocating the maximum number
of units possible around the stepping stone path for that cell. That path is given below:
7 6 200 3 200
Farm C
50 150 300
112
As a check, note that the total cost is the same as before, Birr 1800. Please check it up by your
own. Make sure that the cell evaluation index is non-negative for empty cells in the alternate
optimal solution above.
Degeneracy: A transportation problem is a degenerate when there are too few occupied cells
to enable all the empty cells to be evaluated. In the case of the stepping stone method, this
means that there will be at least one empty cell for which an evaluation path cannot be
constructed. For the MODI method, it means that it will be impossible to determine all of the
row and column index numbers. It is relatively simple to determine if a solution is
degenerate. A solution is degenerate if the number of occupied cells is less than the number
of row plus the number of columns minus one.
A quick check of the alternate solution to the ABC problem developed in the preceding section
will reveal that the solution was degenerate. The number of completed cells is 4, while the
required number of completed cell is 3+3-1= 5. This presented no difficulty because we were
not concerned with evaluating the empty cells; we simply were interested in comparing the total
cost of that solution with total cost of the original optimal solution to verify that the two yielded
the same total cost.
However, try to trace a stepping stone path for any of the empty cells and you will understand
the nature of the problem. It should be mentioned that this particular case is somewhat a typical
in that usually some paths can be traced but not all of them. Similarly, if you attempt to
compute index numbers for the rows and columns, you will be unable to compute them for row
B, column 1 or column 2.
113
The purpose of the delta is to enable evaluation of the remaining empty cells. The choice of
location for the delta can be somewhat tricky: Some empty cells may be unsuitable if they do
not enable evaluations of the remaining empty cells. Moreover, the delta cannot be placed in a
cell which later turns out to be in a negative position of a cell path involved in reallocation,
because delta will be the ―smallest quantity in a negative position‖ and shifting that minute
quantity around the cell path will leave the solution virtually unchanged. Consequently, a
certain amount of trial and error may be necessary before a satisfactory location can be
identified for delta.
The technique can be demonstrated for the degenerate alternate solution of the ABC problem.
Suppose that after some experimentation, cell A-1 has been selected for the location of delta.
Not all choices would be acceptable. For example, try placing the delta in cell C-2 and compute
the improvement potentials for the empty cells. Remember that delta cannot be in a negative
position of a negative cell. The resulting index numbers generated using MODI and the
improvement potential for empty cells based on delta in cell A-1 are shown below and this
confirms that the solution is optimal.
114
Unequal supply and demand: Up to this point, the example has involved cases in which
supply and demand were equal (balanced transportation problem). As you might guess,
there are situations in which the two are not equal (unbalanced transportation problem).
When such a situation is encountered, it is necessary to modify the original problem so that
supply and demand are equal. This is accomplished by adding either a dummy column or a
dummy row, a dummy row is added if supply is less than demand and a dummy column is
added if demand is less than supply. The dummy is assigned unit costs of zero for each cell,
and it is given a supply (if a row) or a demand (if a column) equal to the difference between
supply and demand. Quantities in dummy routes in the optimal solution are not shipped.
Rather, they serve to indicate which supplier will hold the excess supply, and how much, or
which destination will not receive its total demand, and how much it will be short.
Let us consider an example. Suppose that farm C in the ABC problem has experienced an
equipment breakdown, and it will be able to supply only 120 cubic yards of topsoil for a period
of time. Therefore, total supply will be 80 units less than total demand. This will require adding
a dummy origin with a supply of 80 units. The modified problem and the final solution are
shown below:
115
Dummy 0 0 80 0 80
Demand 50 150 300 500
We interpret the solution indicating that project # 3 will be short by 80 units per week until the
equipment is repaired. If the intuitive approach is used to obtain the initial feasible solution when
a dummy is involved, make assignments to the dummy last. Hence, begin by assigning units to
the cell with the lowest non-zero cost, then the next lowest non-zero cost, and so on. For the
ABC problem, this would mean that units would be assigned first to B-2 because its cost of Birr
1 is the lowest non-zero cell cost.
116
3.2.ASSIGNMENT PROBLEM
3.2.1. INTRODUCTION
The assignment problem is a special case of transportation problem in which the objective is to
assign a number of origins to the equal number of destinations at the minimum cost (or
maximum profit). Assignment problem is one of the special cases of the transportation problem.
It involves assignment of people to projects, jobs to machines, workers to jobs and teachers to
classes etc., while minimizing the total assignment costs. One of the important characteristics of
assignment problem is that only one job (or worker) is assigned to one machine (or project).
Hence the number of sources are equal the number of destinations and each requirement and
capacity value is exactly one unit.
Although assignment problem can be solved using either the techniques of Linear Programming
or the transportation method, the assignment method is much faster and efficient. This method
was developed by D. Koning, a Hungarian mathematician and is therefore known as the
Hungarian method of assignment problem. In order to use this method, one needs to know only
the cost of making all the possible assignments. Each assignment problem has a matrix (table)
associated with it. Normally, the objects (or people) one wishes to assign are expressed in rows,
whereas the columns represent the tasks (or things) assigned to them. The number in the table
would then be the costs associated with each particular assignment. It may be noted that the
assignment problem is a variation of transportation problem with two characteristics.(i)the cost
matrix is a square matrix, and (ii)the optimum solution for the problem would be such that there
would be only one assignment in a row or column of the cost matrix .
117
i=1 j=1
n
Xij = 1 for all i (resourse availability) j=1
n
Xij = 1 for all i (activity requirement) i=1
3.2.4.SOLUTION METHODS
The assignment problem can be solved by the following four methods :
Enumeration method
Simplex method
Transportation method
Hungarian method
1. Enumeration method
In this method, a list of all possible assignments among the given resources and activities is
prepared. Then an assignment involving the minimum cost, time or distance or maximum profits
is selected. If two or more assignments have the same minimum cost, time or distance, the
118
Simplex method As
discussed in chapter two.
Transportation method
As assignment is a special case of transportation problem it can also be solved using
transportation model discussed in previous chapter. But the degeneracy problem of solution
makes the transportation method computationally inefficient for solving the assignment problem.
Step 2. Add a dummy source or dummy destination, so that the cost table becomes a square
matrix. The cost entries of the dummy source/destinations are always zero.
Step 3: Row Reduction-Select the smallest row values and deduct it from deduct it from all row
values.
Step 4.Column Reduction- In the reduced matrix obtained in the step 3, locate the smallest
element of each column and then subtract the same from each element of that column. Each
column and row now have at least one zero.
Step 5. In the modified matrix obtained in the step 4, search for the optimal assignment as follows:
Examine the rows successively until a row with a single zero is found. Enrectangle this row (□)
and cross off (X) all other zeros in its column. Continue in this manner until all the rows have
been taken care of.
Repeat the procedure for each column of the reduced matrix.
If a row and/or column has two or more zeros and one cannot be chosen by inspection then
assign arbitrary any one of these zeros and cross off all other zeros of that row / column.
Repeat (a) through (c) above successively until the chain of assigning ( ) or cross (X) ends.
Step 6. If the number of assignment ( ) is equal to n (the order of the cost matrix), an optimum
solution is reached.
If the number of assignment is less than n(the order of the matrix), go to the next step.
Step7. Draw the minimum number of horizontal and/or vertical lines to cover all the zeros of
the reduced matrix, using the following sub steps:
Mark all the rows that do not have assignments.
119
120
Required: Find the best way of assignment that minimizes the time taken to complete the
computer programs using Hungarian Assignment Method (HAM) and compute the minimum
time.
Solution
Step 1: Row Reduction
Program 1 Program 2 Program 3
Programmer 1 0 10 20
Programmer 2 10 0 50
Programmer 3 25 0 10
Programmer 2 10 0 40
Programmer 3 25 0 0
This is an optimal assignment, because the total number of rectangle (assignment) (□) is equal to
the total number of rows or columns.
Assignment
Programmer 1 to Program 1
Programmer 2 to Program 2
Programmer 3 to Program 3
Zmin=100+80+90
=270 Minutes
122
Jobs
Persons 1 2 3 4
A 20 25 22 28
B 15 18 23 17
C 19 17 21 24
D 25 23 24 24
Solution:
Step 1: Row Reduction
Identify the minimum element in each row and subtract it from every element of that row.
Jobs
Persons 1 2 3 4
A 0 5 2 8
B 0 3 8 2
C 2 0 4 7
D 2 0 1 1
Step 3: Make the assignment for the reduced matrix obtain from steps 1 and 2 in the
following way:
Examine the rows successively until a row with exactly one unmarked zero is found.
Enclose this zero in a box □ as an assignment will be made there and cross (X) all
other zeros appearing in the corresponding column as they will not be
123
Step 4: Draw the minimum number of vertical and horizontal lines necessary to cover all the
zeros in the reduced matrix obtained from step 3 by adopting the following procedure:
Step 5: Select the smallest element from all the uncovered elements. Subtract this smallest
element from all the uncovered elements and add it to the elements, which lie at the intersection
of two lines. Thus, we obtain another reduced matrix for fresh assignment.
124
Go to step 3 and repeat the procedure until you arrive at an optimum assignment.
Final Table
Since the number of assignments is equal to the number of rows (& columns), this is the
optimal solution.
The total cost of assignment = A1 + B4 + C2 + D3
Substitute the values from original table:
20+17+24+17=$78.
Example 15: A departmental head has four subordinates, and four tasks to be performed. The
subordinates differ in efficiency, and the tasks differ in their intrinsic difficulty. His estimate,
of the time each man would take to perform each task, is given the matrix below
Men
Persons 1 2 3 4
A 18 26 17 11
B 13 28 14 26
C 38 19 18 15
D 19 26 24 10
Solution:
Step 1: Identify the minimum element in each row and subtract it from every element of that
row, we get the reduced matrix
125
Step 2 Identify the minimum element in each column and subtract it from every element of
that column.
Men
Persons 1 2 3 4
A 7 11 5 0
B 0 11 0 13
C 23 0 2 0
D 9 12 13 0
Step 3 Make the assignment for the reduced matrix obtain from steps 1 and 2 in the following
way: Now proceed as in the previous example
126
Example 16: Five different machines can do any of the five required jobs, with different profits
resulting from each assignment as given below:
Machines
Jobs A B C D E
1 30 37 40 28 40
2 40 24 27 21 36
3 40 32 33 30 35
4 25 38 40 36 36
5 29 62 41 34 39
Solution:
Here, the highest element is 62. So we subtract each value from 62.
Machines
Jobs A B C D E
1 32 25 22 34 22
2 22 38 35 41 26
3 22 30 29 32 27
4 37 24 22 26 26
5 33 0 21 28 23
Now use the Hungarian Method to solve the above problem. And the maximum profit through
this assignment is 214.
Example 17. XYZ Ltd. employs 100 workers of which 5 are highly skilled workers that can
be assigned to 5 technologically advanced machines. The profit generated by these highly
skilled workers while working on different machines is as follows:
Machines
Workers I II III IV VI
A 40 40 35 25 50
B 42 30 16 25 27
C 50 48 40 60 50
D 20 19 20 18 25
E 58 60 59 55 53
127
Solution:
Since the number of persons is less than the number of jobs, we introduce a dummy person
(D) with zero values. The revised assignment problem is given below:
Jobs
Persons 1 2 3 4
A 20 25 22 28
B 15 18 23 17
C 19 17 21 24
D 0 0 0 0
(dummy)
Now use the Hungarian Method to solve the above problem.
Example 19. In a typical assignment problem, four different machines are to be assigned to
three different jobs with the restriction that exactly one machine is allowed for each job. The
associated costs (in rupees ‗‘000) are as follows:
Jobs
Persons 1 2 3
A 60 80 50
B 50 30 60
C 70 90 40
D 80 50 70
128
Client
Project leader
1 2 3
Mr. X 10 16 32
Mr. Y 14 22 40
Mr. Z 22 24 34
What is the optimal assignment of project leaders? What is the total time required?
Comments: The optimal assignment is an assignment with the minimum possible time to
complete the project. Apply the steps mentioned above and find the optimal assignment of the
three project leaders to the three clients.
3.3. SUMMARY
This Chapter describes two types of problems that lend themselves to solution using linear
programming techniques: the transportation problem and the assignment problem. Transportation
type problems often involve the distribution of goods, whereas assignment type problems
involve the matching or pairing of two sets of items. Usually, such problems have different costs
for different distribution alternatives or different pairings, and the objective is to identify the plan
which minimizes total cost. For each type of problem, a procedure for formulating the problem,
in a way that lends itself to a solution using a simple algorithm is described.
To distribute the goods with the least cost, initial tableau representing the initial distribution can
be made by north west corner method, VAM or intuitive (least cost) methods. This initial tableau
might be at its optimal state or not. To check for optimality we can use stepping stone method or
modified distribution method. The stepping stone and MODI are important tools used to evaluate
whether the shift of goods from occupied cells to unoccupied cells can result in a reduction of
total transportation cost or not.
The basic assumption within which we can solve assignment problems using the linear
programming is ―assigning one job, project, etc… to one worker, machine, etc…‖Because of
the feature of assignment problems, special-purpose solution procedures have been specifically
designed to solve the assignment problem; one such procedure is called the Hungarian method
which involves what is called matrix reduction.
129
Source 2 19 7 30 15 145
Source 3 8 10 14 16 50
For the transportation problem below, construct an initial feasible solution using the intuitive/LCM
method.
COSTS Dest. 1 Dest. 2 Dest. 3 Dest. 4 Supply
Source 1 12 18 9 11 45
Source 2 19 7 30 15 145
Source 3 8 10 14 16 50
Consider the transportation problem in the data set and optimal solution below. Verify by
hand or by calculator (show your work) the value of the objective function.
Source 1 12 18 9 11 100
Source 2 21 7 30 15 150
Source 3 8 10 14 16 50
Consider the transportation problem in the data set and optimal solution below. Calculate
improvement indexes on each empty cell. Is this solution optimal?
130
Find the minimum cost shipping solution for the transportation problem data set in the table
below. Provide a table of shipping quantities and the minimum value for the objective
function.
COSTS Dest. 1 Dest. 2 Supply
Source 1 6 10 20
Source 2 8 3 30
Source 3 4 6 15
Source 4 12 11 20
Source 5 7 9 25
Demand 70 40 110 \ 110
Find the minimum cost solution for the transportation problem detailed in the table below.
Explain carefully the meaning of any quantity in a ―dummy‖ row or column.
COSTS Dest 1 Dest 2 Dest 3 Supply
Source 1 30 12 5 20
Source 2 10 14 12 30
Source 3 20 11 25 75
Dummy 0 0 0 30
Demand 40 60 55 155 \ 155
The Shamrock Transportation Company has four terminals: A, B, C, and D. At the start of a
particular day, there are 8, 8, 6, and 3 tractors available at those terminals, respectively.
During the previous night, trailers were loaded at plants R, S, T, and U. The number of
131
A) Find the minimum cost solution for the transportation problem detailed in the table below.
Before your solution can be implemented, you discover that the combination Source 3 –
Destination 1 is unavailable, due to political turmoil in the country where Source 3 is
located. Solve the revised problem. How much is cost increased by this complication?
A firm has established a distribution network for the supply of a raw material critical to
its manufacturing. Currently there are two origins for this raw material, which must be
shipped to three manufacturing plants. The current network has the following
characteristics:
The firm has identified two potential sites for a third raw material source; these are
identified as Candidate A and Candidate B. From A, the costs to ship would be $ 9 to Plant
1, $10 to Plant 2, and $12 to Plant 3. From B, these costs would be $11, $14, and $8. The
new source, wherever it is located, will have a capacity of 500 units. Set up—but DO NOT
SOLVE— this problem as though you were going to solve it with transportation problem
software.
132
The firm has identified two potential sites for a third raw material source; these are
identified as Candidate A and Candidate B. From A, the costs to ship would be $ 9 to Plant
1, $10 to Plant 2, and $12 to Plant 3. From B, these costs would be $11, $14, and $8. The
new source, wherever it is located, will have a capacity of 500 units. Solve with the
transportation method. Which site should be selected?
133
Warehouses
Company A B C Supply
W 10 8 9 15
X 5 2 3 20
Y 6 7 4 30
Z 7 6 9 35
Demand 25 26 49
14. Savanna Store is interested to purchase the following type and quantities of dresses
Dress Type V W X Y Z
Four different dress makers are submitted the tenders, who undertake to supply not more than
the quantities indicated below:
Dress A B C D
Maker
Dress 300 250 150 200
Quantity
Savanna Store estimates that its profit per dress will vary according to the dress maker as
indicates in the following table:
V W X Y Z
A
2.75 3.5 4.25 2.25 1.5
Determine how should the orders to be places for the dresses so as to maximize the profit.
134
The Bunker Manufacturing firm has five employees and six machines and wants to assign the
employees to the machines to minimize cost. A cost table showing the cost incurred by each
employee on each machine follows:
Machine
Employee A B C D E F
1 $12 $7 $20 $14 $8 $10
2 10 14 13 20 9 11
3 5 3 6 9 7 10
4 9 11 7 16 9 10
5 10 6 14 8 10 12
Because of union rules regarding departmental transfers, employee 3 cannot be assigned to
machine E, and employee 4 cannot be assigned to machine B. Solve this problem, indicate the
optimal assignment, and compute total minimum cost.
Determine the optimal assignment that will minimize the total average number of defects
produced by the firm per month.
The football coaching staff at Tech focuses its recruiting on several key states, including
Georgia, Florida, Virginia, Pennsylvania, New York, and New Jersey. The staff includes seven
assistant coaches, two of whom are responsible for Florida, a high school talent-rich state,
whereas one coach is assigned to each of the other five states. The staff has been together for a
135
Determine the optimal assignment of coaches to recruiting regions that will maximize the overall
success rate and indicate the average percentage success rate for the staff with this assignment.
136
4.0. INTRODUCTION
In this chapter, you will study decision theory. Decision theory represents a generalized
approach to decision making, which often serves as the basis for a wide range of managerial
decision making. The decision model includes a list of courses of action that are available and
the possible consequences of each course action. An important factor in making a decision is the
degree of certainty associated with the consequences. This can range anywhere from complete
certainty to complete uncertainty and it generally affects the way a decision is reached. This unit
presents two commonly used decision theory approaches: a payoff table and a decision tree.
They provide structure for organizing the relevant information in a format conducive to making
rational decisions.
Dear student! In the previous chapter dealing with LP, models were formulated and solved in
order to aid the manager in making decision. The solutions to the models were represented by
values for the decision variables. However, these LP models are formulated under the
assumption that certainty existed. In actual practice, however, many decision making situations
occur under conditions of uncertainty. For example, the demand for a product may be not 100
units next week, but 50 or 200 units, depending on the market (which is uncertain).
137
Decision alternatives must be mutually exclusive (clearly distinct among themselves) and,
ideally, collectively exhaustive (cover all reasonable options open to management).
Determining a realistic set of action alternatives demands creativity and experience on the
nature of the problem under consideration. Managerial intuition is extremely valuable at this
stage of the analysis.
States of nature: - the set of possible future conditions, or events, beyond the control of the
decision maker, that will be the primary determinants of the eventual consequence of the
decision. The states of nature, like the list of alternatives, must be mutually exclusive and
collectively exhaustive.
Decision theory will require the decision maker to develop a mutually exclusive and
collectively exhaustive list of possible future events. These future events are referred to as
states of nature and they depend upon certain factors which are beyond the control. There
may be a great deal of uncertainty with respect to the occurrence of the states of nature.
The payoffs might be profits, revenues, costs, or other measures of value. Usually the
measures are financial. Usually payoffs are estimated values. The more accurate these
estimates, the more useful they will be for decision making purposes and the more likely, it is
that the decision maker will choose an appropriate alternative. The number of payoffs
depends on the number of alternative/state of nature combination.
Degree of certainty: - the approach often used by a decision maker depends on the degree of
certainty that exists. There can be different degrees of certainty. One extreme is complete
certainty and the other is complete uncertainty. The later exists when the likelihood of the
various states of nature are unknown. Between these two extremes is risk (probabilities are
unknown for the states of nature). Knowledge of the likelihood of each of the states of nature
can play an important role in selecting a course of active.
Decision criteria: - the decision maker‘s attitudes toward the decision as well as the degree
of certainty that surrounds a decision. Example; maximize the expected payoffs.
138
States of nature
S1 S2 S3
A1 V11 V12 V13
AlternativesA2 V21 V22 V23
A3 V31 V32 V33
where:
Ai = the ith alternative
Sj = the jth states of nature
Vij = the value or payoff that will be realized if alternative i is chosen and event j
occurs.
In this chapter we will discuss each of these classes of decision situations separately.
EXAMPLE1: Doctor Thomas has been thinking of opening his own private clinic. The problem
is how large the clinic size should be under various economic scenarios. After a careful analysis,
Dr.Thomas has developed the following profit (in thousands) table.
139
A decision making situation includes several components- the decision themselves and the actual
event that may occur future, known as state of nature. At the time the decision is made, the
decision maker is uncertain which state of nature will occur in the future, and has no control over
them.
Decisions made under these circumstances are at the opposite end of the spectrum from the
certainty case just mentioned. Once the decision has been organized in to a payoff table, several
criteria are available making the actual decision. There are several approaches (criteria) to
decision making under complete uncertainty. Some of these discussed in this section include:
maximax, maximin, minimax regret, Hurwicz, and equal likelihood.
Example 2: For the previous problem which alternative should be selected under maximax
criteria?
S1 S2 S3 Row Maximum
A1 4 16 12 16*maximum
A2 5 6 10 10
A3 -1 4 15 15
Decision: A1 will be chosen.
Note: If the pay off table consists of costs instead of profits, the opposite selection would be
indicated: The minimum of minimum costs. For the subsequent decision criteria we encounter,
the same logic in the case of costs can be used.
140
S1 S2 S3 Row minimum
A1 4 16 12 4
A2 5 6 10 5*maximum
A3 -1 4 15 -1
Note: If it were cost, the conservative approach would be to select the maximum cost for
each decision and select the minimum of these costs.
S1 S2 S3 Row Max.
A1 -5 16 -10 16*max
A2 15 15 15 15
A3 15 15 15 15
An approach that does take all payoffs in to consideration is Minimax regret. In order to use this
approach, it is necessary to develop an opportunity loss table. The opportunity loss reflects the
difference between each payoff and the best possible payoff in a column (i.e., given a state of
nature). Hence, opportunity loss amounts are found by identifying the best payoff in a column
and, then, subtracting each of the other values in the column from that payoff. Therefore, this
decision avoids the greatest regret by selecting the decision alternative that minimizes the
maximum regret.
Example 4: For the previous problem which alternative should be selected under minimax
regret criteria?
S1 S2 S3
A1 4 16 12
A2 5 6 10
A3 -1 4 15
141
The values in an opportunity loss table can be viewed as potential ―regrets‖ that might be
suffered as the result of choosing various alternatives. A decision maker could select an
alternative in such a way as to minimize the maximum possible regret. This requires
identifying the maximum opportunity loss in each row and, then, choosing the alternative
that would yield the best (minimum) of those regrets.
S1 S2 S3 Max. Loss
A1 5-4=1 16-16=0 15-12=3 3*minimum
A2 5-5=0 16-6=10 15-10=5 10
A3 5-(-1)=6 16-4=12 15-15=0 12
Although this approach makes use of more information than either Maximin or Maximax, it
still ignores some information, and, therefore, can lead to a poor decision.
EXAMPLE:
Opportunity loss table
S1 S2 S3 S4 Max. Loss
A1 0 0 0 24 24
A2 15 15 15 0 15*minimum
A3 15 15 15 0 15*minimum
The principle of insufficient reason offers a method that incorporates more of the information. It
treats the states of nature as if each were equally likely, and it focuses on the average payoff for
each row, selecting the alternative that has the highest row average.
Example 4: For the previous problem which alternative should be selected under principle of
insufficient reason criteria?
S1 S2 S3 Row Average
A1 4 16 12 32/3=10.67* max
A2 5 6 10 21/3=7
A3 -1 4 15 18/3=6
Decision: A1 is selected
142
A weighted average can be computed for every action alternative with an alpha-weight α,
called the coefficient of realism. "Realism" here means that the unbridled optimism of
maximax is replaced by an attenuated optimism as denoted by the α. Note that 0 ≤ α ≤ 1. Thus,
a better name for the coefficient of realism is coefficient of optimism. An α = 1 implies
absolute optimism (maximax) while an α = 0 implies absolute pessimism (maximin).
The Hurwitz criterion requires that for each alternative, the maximum payoff is multiplied by
and the minimum payoff be multiplied by 1-.
Example 5: For the previous problem which alternative should be selected under principle of
insufficient reason criteria and if = 0.4.
Decision: A1 is selected
143
Activity 2: Which decision making under uncertainty is sounds more appropriate to you?
Why?
______________________________________________________________________________
______________________________________________________________________________
It is often possible for the decision maker to know enough about the future state of nature to
assign probabilities to their occurrences. The term risk is often used in conjunction with partial
uncertainty, presence of probabilities for the occurrence of various states of nature. The
probabilities may be subjective estimates from managers or from experts in a particular field, or
they may reflect historical frequencies. If they are reasonably correct, they provide the decision
maker with additional information that can dramatically improve the decision making process.
Given that probabilities can be assigned, several decision criteria are available to aid the decision
maker. Some of these are discussed below.
k
EMVi = Σ Pj.Vij
i=1
Where:
EMVi = the EMV for the ith alternative
Pi = the probability of the ith state of nature
Vij = the estimated payoff for alternative i under state of nature j.
Note: the sum of the probabilities for all states of nature must be 1.
Example 6: For the previous problem which alternative should be selected under EMV criteria
and if probabilities of 20%, 30% & 50% were assigned to S1,S2 & S3 respectively ?
144
Note that it does not necessarily follow that the decision maker will receive a payoff equal to the
expected monetary value of a chosen alternative. Similarly, the expected payoffs for either of the
other alternatives do not equal any payoffs in those rows. What, then, is the interpretation of the
expected payoff? Simply a long-run average amount; the approximate average amount one could
reasonably anticipate for a large number of identical situations.
Example 7: For the previous problem which alternative should be selected under EOL criteria
and if probabilities of 20%, 30% & 50% were assigned to S1,S2 & S3 respectively ?
Note: The EOL approach resulted in the same alternative as the EMV approach (Maximizing
the payoffs is equivalent to minimizing the opportunity losses).
145
The difference between this figure and the expected payoff under risk (i.e., the EMV) is the
expected value of perfect information. Thus:
Note: The EVPI is exactly equal to the EOL. The EOL indicates the expected opportunity loss
due to imperfect information, which is another way of saying the expected payoff that could be
achieved by having perfect information.
Note: The expected value approach is particularly useful for decision making when a number of
similar decisions must be made; it is a long-run approach. For one-shot decisions, especially
major ones, other methods (perhaps, maximax or maximin) may be preferable. In addition, non
monetary factors, although not included in a payoff table, may be of considerable importance.
Unfortunately, there is no convenient way to include them in an expected value analysis.
146
There are only three rules governing the construction of a decision tree:
Branches emanating from a decision node reflect the alternative decisions possible at that point.
If a decision situation requires a series of decisions, then a payoff table approach cannot
accommodate the multiple layers of decision - making. A decision tree approach becomes the
best method. However, a tree diagram will contain nothing but more squares (decision nodes).
We can still apply the expected value criterion at each decision node from the right to the left of
tree diagram (backward process).
A decision tree can be used to classify an example by starting at the root of the tree and moving
through it until an event node occurs, which provides the classification of the instance.
Decision tree induction is a typical inductive approach to learn knowledge on classification. The
key requirements to do mining with decision trees are:
147
At the end of each solution line, consider the results. If the result of taking that decision is
uncertain, draw a small circle. If the result is another decision that needs to be made, draw
another square. Squares represent decisions, circles represent uncertainty or random factors.
Write the decision or factor to be considered above the square or circle. If you have completed
the solution at the end of the line, just leave it blank.
Starting from the new decision squares on your diagram, draw out lines representing the options
that could be taken. From the circles draw out lines representing possible outcomes. Again mark
a brief note on the line saying what it means. Keep on doing this until you have drawn down as
many of the possible outcomes and decisions as you can see leading on from your original
decision.
An example of the sort of thing you will end up with is shown below:
148
Once this is done, review your tree diagram. Challenge each square and circle to see if there are
any solutions or outcomes you have not considered. If there are, draw them in. If necessary,
redraft your tree if parts of it are too congested or untidy.
You should now have a good understanding of the range of possible outcomes.
Next look at each circle (representing an uncertainty point) and estimate the probability of each
outcome. If you use percentages, the total must come to 100% at each circle. If you use
fractions, these must add up to 1. If you have data on past events you may be able to make
rigorous estimates of the probabilities. Otherwise write down your best guess.
We start on the right hand side of the decision tree, and work back towards the left. As we
complete a set of calculations on a node (decision square or uncertainty circle), all we need to
do is to record the result. All the calculations that lead to that result can be ignored from now on
- effectively that branch of the tree can be discarded. This is called 'pruning the tree'.
149
Sunk costs, amounts already spent, do not count for this analysis. When you have calculated the
benefit of each decision, select the decision that has the largest benefit, and take that as the
decision made and the value of that node.
Example 8: An executive has to make a decision. He has four alternatives D1, D2, D3 and D4.
When the decision has been made events may lead such that any of the four results may occur.
The results are R1, R2, R3 and R4. Probabilities of occurrence of these results are as follows:
The matrix of pay-off between the decision and the results is indicated below:
R1 R2 R3 R4
D1 14 9 10 5
D2 11 10 8 7
D3 9 10 10 11
D4 8 10 11 13
Required: Show this decision situation in the form of a decision tree and indicate the most
preferred decision and corresponding expected value.
Solution
A decision tree, which represents possible courses of action and states of nature are shown in
the following figure. In order to analyses the tree, we start working backward from the end
branches.
150
The expected monetary value of node A, B and C is calculate as follows: EMV (A) = 0.5 x 14 +
0.2 x 9 + 0.2 x 10 + 0.1 x 5 = 11.3
EMV (B) = 0.5 x 11 + 0.2 x 10 + 0.2 x 8 + 0.1 x 7 = 9.8
EMV (C) = 0.5 x 9 + 0.2 x 10 +0.2 x 10 + 0.1 x 11 = 9.6
EMV (D) = 0.5 x 8 + 0.2 x 10 + 0.2 x 11 + 0.1 x 13 = 9.5
Since node A has the highest EMV, the decision at node 1 will be to choose the course of action
D4.
Example 9: A farm owner is seriously considering of drilling farm well. In the past, only 70%
of wells drilled were successful at 200 feet of depth in the area. Moreover, on finding no water
at 200 ft., some persons drilled it further up to 250 feet but only 20% struck water at 250 ft. The
prevailing cost of drilling is Br 50 per feet. The farm owner has estimated that in case he loss
151
do not drill any well, (ii) drill up to 200 ft. (iii) if no water is found at 200 ft., drill further up
to 250 ft.
Required: Draw an appropriate decision tree and determine the farm owner‘s strategy under
EMV approach.
Solution
The given data can easily be represented by the following decision tree diagram.
Consequence of outflow($)
There are two decision points in the tree indicated by 1 and 2. In order to decide between the
two basis alternatives, we have to fold back (backward induction) the tree from the decision
point 2, using EMV as criterion:
152
Decision at point D2
1. Drill up to Water struck 0.2 $ 12,5000 $ 2,500
250 fit.
up to 250 ft.
The decision at D2 is : Drill up to 250 feet.
Decision at point D2
1. Drill up to Water struck 0.7 $ 10,000 $. 7,000
200 ft.
Not water 0.3 24,500 7,350
struck
EMV (outflow) = $. 14,350
2. Do not drill EMV (outflow) = $15,000
up to 200 ft.
The decision at D1 is : Drill up to 200 ft.
Thus the optimal strategy for the farm-owner is to drill the well up to 200 ft. and if no water is
struck, then further drill it up to 250 ft.
Answer:
The appropriate decision tree is shown below:
153
Hence, the best strategy is to accept A first, and if it is successful, then accept B.
154
4.7.SUMMARY
Decision theory is a general approach to decision making. It is very useful for a decision maker
who must choose from a list of alternatives, knowing that one of a number of possible future
states of nature will occur and that this will have an impact on the payoff realized by a particular
alternative.
Decision models can be categorized according to the degree of uncertainty that exists relative to
the occurrence of the states of nature. This can range from complete knowledge about which
state will occur to partial knowledge (probabilities) to no knowledge (no probabilities, or
complete uncertainty). When complete uncertainty exists, the approach a decision maker takes in
choosing among alternatives depends on how optimistic or pessimistic she or he is, and it also
depends on other circumstances related to the eventual outcome or payoff. Under complete
certainty, decisions are relatively straight forward. Under partial uncertainty, expected values
often are used to evaluate alternatives. An extension of the use of expected values enables
decision makers to assess the value of improved or perfect information about which state of
nature will occur.
In decision making analysis, managers can use tools such as payoff table, or decision trees.
Sometimes, decision makers can improve the decision process by taking into account additional
information, which enables them to modify state of nature probabilities. Because there is almost
always an additional cost associated with obtaining the additional information, the decision
maker must decide whether the expected value of that information is worth the cost necessary to
obtain it.
155
The marketing department of the company worked out the payoffs in term of yearly net profits
for each of the strategies for these events (expected sales). This is represented in following
table:
Dr. Mohan Lal has been thinking about starting his own independent nursing home. The
problem is to decide how large nursing home should be? The annual returns will depend on
both the size of nursing home and a number of marketing factors. After a careful analysis,
Dr. Mohan Lal developed the following table:
Size of Good market Fair market Poor market
Nursing home (Br (Br.) (Br.)
Small 50,000 20,000 ─ 10,000
Medium 80,000 30,000 ─ 20,000
Large 100,000 30,000 ─ 40,000
Very large 300,000 25,000 ─ 160,000
a) Develop a decision table for this decision.
156
Required: How many pieces should be manufactured so that his net profit is maximum? Use
Maximin and Minimax criteria.
157
5.0. INTRODUCTION
In the previous chapter, we discussed about decision making. This unit describes techniques that
are widely used to plan and schedule projects. The key tool in such effort is a network diagram.
This unit introduces about project management tool such as PERT (project evaluation and
review technique) and CPM (critical path method).
In each section, there are in-text questions and learning activities to initiate your study and to
check whether you understood the contents of each section well. Moreover, at the end of the unit,
there are checklists, summaries and self assessment questions that will facilitate your study and
ensure your understanding of the concepts in the unit. Enjoy this unit!
What is a Project?
Activity 1: how do you define a project? (You can use the space left below to write your
response).
_____________________________________________________________________________
_____________________________________________________________________________
Managers are responsible for planning, scheduling and controlling projects that consists of
numerous separate jobs or tasks performed by a variety of departments and individuals. Project
managers must schedule and coordinate the various jobs or activities so that the entire project is
completed on time. Project can simply be defined as a series of interdependent tasks usually
directed toward some major output and requiring significant resources and period of time to
perform. Projects are unique, one time operations designed to accomplish a specific set of
objectives during a limited time frame. Examples of projects include: constructing a shopping
complex, installing a new computer system, moving a firm to a new location, launching a space
shuttle and introducing a new product or service to the market place. Time, cost and performance
objectives are the three key issues in project management. PERT and CPM have proven to be
extremely valuable in project management.
158
Dear learner, the following are some of the basic concepts to be understood in network
analysis.
Events/Nodes: Events/nodes in the network diagram represent project
millstones, such as the start or the completion of an activity and occur at a
particular instant of time at which some specific part of the project has been
achieved. Events are commonly represented by circles (nodes) in the network
diagram.
Activity j
i
completion
starting event
event
The activities can be further classified into the following three categories:
Predecessor activity: An activity which must be completed before one or more
other activities started.
Successor activity: An activity which started immediately after one or more of
other activities is completed.
159
Example1: Consider the following example: The owner of a shopping center is planning to
modernize and expand the current 32-buisnes shopping center complex. The project is expected
to provide room for 8 to 10 new businesses. The owner of the center has to plan, schedule and
complete the expansion project with the minimum possible time.
Let us see how PERT and CPM can help. The first step is to develop a list of the activities that
make up the project.
160
The immediate predecessor column identifies the activities that must be completed immediately
prior to the start of that activity. You may think that the total time required to complete the
project is 51 weeks. However, as two or more activities often may be scheduled concurrently,
shortening the completion time for the project is possible. Ultimately PERT/CPM will provide a
detailed activity schedule for completing the project in the shortest time possible.
Project network is a graphical representation of projects. The activities correspond to the nodes
of the network (drawn as rectangles). The arcs (lines with arrow) show the precedence
relationships among the activities. Nodes have also been added to the network to denote the
start and the finish time of the project.
D
G
Start
C
I
B H Finish
161
F
4
E
1
A
5
D
3
G
14
Start
C
4
I
B 2
6 Finish
H
12
To determine the project completion time, we have to analyze the network and identify the
critical path for the network. A path is a sequence of connected nodes that leads from the start
node to the finish node.
Example2: The following are paths for the project under consideration
Look for the path that requires the longest time. Because all other paths are shorter in duration,
this longest path determines the total time required to complete the project. If activities on the
longest path are delayed, the entire project will be delayed. Thus, the longest path is the
critical path. Activities on the critical path are called critical activities.
162
Activity A can be started as soon as the project starts, so we set the earliest start time for activity A
is zero. With an activity time of 5 weeks, the earliest finish time for activity A is EF = 0+5=5
We will write the earliest start time and earliest finish times in the node to the right of the
activity letter as:
A 0 5
5 ES EF
Because an activity cannot be started until all immediately preceding activities have been
finished, the following rule can be used to determine the earliest start time for each activity. The
earliest start time for an activity is equal to the largest of the earliest finish times for all
immediately preceding activities.
Note that the earliest finish time for activity I, the last activity in the project, is 26 weeks.
Therefore, we now know that the total completion time for the project is 26 weeks.
163
E56
F610
1 4
05
5
D58
3
G1024
14
Start
C59
4
I2426
2
B06 H921
6 12 Finish
We now continue the algorithm for finding the critical path by making backward pass through
the network. If the project can be completed in 26 weeks, we begin the backward pass with a
latest finish time of 26 for activity I. Once the latest finish time for an activity is known, the
latest start time for an activity can be computed as follows: Let LS = latest start time for an
activity
LF = latest finish time for an activity
t = activity time
Then, LS=LF-t→ LF=LS+t
Activity I: LS=LF-t=26-2=24
We will write the LS and LF values in the node directly below the earliest start and earliest
finish times. This for node I, we have:
I 24 26
2 24 26
The following rule can be used to determine the latest finish time for each activity in the
network. The latest finish time for an activity is the smallest of the latest start times for all
activities that immediately follow the activity.
164
E56 F610
156 4 6 10
05
5 05
D58
3 7 10
G1024
14 10 24
Start
C59
4 8 12
I 2426
2 24 26
B 06 H921
6 6 12 12 12 24 Finish
After we have completed the forward and backward pass, we can determine the amount of slack
associated with each activity. Slack is the length of time an activity can be delayed without
increasing the project completion times.
Slack=LS-ES=LF-EF
For example, the slack associated with activity C is LS-ES=8-5= 3 weeks. Hence, an activity C
can be delayed up to 3 weeks and the entire project can still be completed in 26 weeks. In this
sense, activity C is not critical to the completion of the entire project in 26 weeks.
Next we consider activity E: LS-ES=5-5= 0. Thus, activity E has no slack. Thus, this activity
cannot be delayed without increasing the completion time for the entire project. In other words,
completing activity E exactly as scheduled is critical in terms of keeping the project on
165
Because A, E, F, G and I have zero slack, these activities are the critical activities for the
project. The path formed by nodes (A-E-F-G-I) is the critical path in shopping center project.
Contribution of PERT/CPM
Project managers look for procedures that will help answer important questions regarding the
planning, scheduling, and controlling of projects. Let us reconsider these questions in light of
the information that the critical path calculations have given us.
How long will the project take to complete? Answer: The project can be completed
in 26 weeks.
What are the scheduled start and finish time for each activity? Answer: Consider the
activity schedule above.
Which activities are "critical" and must be completed exactly as scheduled to keep the
project on schedule? Answer: A, E, F, G, and I are the critical activities.
How long can "non-critical" activities be delayed before they cause an increase in
total project completion time? Answer: Consider the above activity schedule.
166
Comment: You should draw the project network and identify the critical path. And from the
network, you can develop the schedule for the project.
The shortening of activity times, which usually can be achieved by adding resources, is referred
to as crashing. Added resources such as more workers, overtime, and so on generally increase
project costs, so the decision to reduce activity times must take into consideration the additional
cost involved. In effect, the project manager has to make a decision that involves trading
reduced activity time for additional project cost. That is, the manager will want to identify the
activities that cost the least to crash and then crash those activities only the amount necessary to
meet the desired project completion time.
We shall assume that the cost of crashing an activity per period is given by the following
formula:
crash cost - normal cost
normal time - crash time
We can summarize the method for reducing the project completion time as follows:
167
Example:
Activity Immediate predecessor Time (week)
A - 5
B - 3
C - 8
D A 4
E B 4
A D
5 4
Start E
B 4
3
Finish
C
8
168
Paths
A-D (5+4=9 weeks)
B-E (3+4= 7 weeks)
C (8 weeks)
Thus, project completion time is 9 weeks. If the project completion time is to be reduced by 1
week, it can be done only by reducing the activity duration of one of the activities on the critical
path. If there are more than one critical paths, then at least one activity on each path has to be
crashed. You may note that reducing activity time of any activity other than critical activities
will not reduce the length of critical path and hence the project duration cannot be reduced.
For our example, critical path consists of activities A and D. If the duration of either A or D is
reduced by 1 week, the length of this path will be reduced to 8 weeks and hence project duration
will be reduced to 8 weeks.
The cost of reducing the activity A and D by 1 week is Birr 200 and Birr300 respectively.
Hence, it will be beneficial to crash activity A by 1 week and total cost becomes Birr 3200.
A D
4 4
Start E
B 4
3
Finish
C
8
169
A D
4 3
Start
B E
3 4 Finish
C
7
Critical path Crash one activity at each critical path Cost increased
by
A-D D will be crashed Birr300
B-E B will be crashed as it is least cost Birr100
C C will be crashed Birr100
A
D
4 2
Start B E
2 4
Finish
C
6
170
D
A 2
Start E
4
B
1
Finish
C
5
Note also that the project completion time is 6 weeks if we crash activities B and C. As we
know the main purpose of crashing is to shorten the project completion time. Thus, if we don‘t
shorten the project completion time from 6 weeks, why should we crash activities B and C and
incur additional cost of crashing? Thus, we should not crash activity B and C as crashing them
doesn‘t shorten the project completion time.
171
In certain projects, it seems unrealistic to assume that we can know with certainty the time
durations in which the activities can be completed. In such cases three time estimates are made.
These estimates are
Most Likely Time (TM): The time which is taken most frequently by the activity.
Optimistic Time (TO): The time by which activity can be completed, if everything
went well.
Pessimistic Time (TP): The time by which the activity will get completed even under
adverse conditions
From the above time estimates expected time (ET) of an activity is computed using the
following relationship:
ET = TO+ 4TM +TP
6
The expected time for an activity represents the average time it would take if the activity is
performed over and over again. It is different from most likely time. Further, consider two
distributions, with the following activity times, in weeks, activity A and B.
Activity A Activity B
TO 3 2
TM 5 4
TP 7 12
SD = TP(i) − TO(i)
i
6
SD A = 7 − 3 = 2/3
6
SD B = 12−2 = 5/3
6
172
173
5.4.SUMMARY
Projects are composed of a unique set of activities established to realize a given set of
objectives during a limited life span. The non- routine nature of project activities places a set of
demands on the project manger, which are different in many aspects than those required for the
manager of more traditional operations activities, both in planning and coordinating the work.
PERT and CPM are two commonly used techniques for developing and monitoring projects.
Although each technique was developed independently and for different purposes, time and
practice have erased most of the original differences so that now little distinction can be made
between the two. Either one provides the manager with a rational approach to project planning
along with a graphical display of project activities. Both depict the sequential relationships that
exist among activities and reveal to managers which activities must be completed on time in
order to achieve timely completion of the project. Managers can use that information to direct
their attention toward the most critical activities.
The network below represents a project being analyzed by Critical Path Methods. Activity
durations are A=5, B=2, C=12, D=3, E=5, F=1, G=7, H=2, I=10, and J=6.
What task must be on the critical path, regardless of activity durations?
174
Duration
Activity Preceding (weeks)
A -- 9
B A 2
C A 12
D A 5
E B 6
F B 8
G C, F 3
H D 2
I H 8
J G, I 6
K E, J 2
175
A partially solved PERT problem is detailed in the table below. Times are given in weeks.
Calculate the expected time for each activity. Enter these values in the appropriate
column in the table above.
Which activities form the critical path?
What is the estimated time of the critical path?
What are the project variance and the project standard deviation?
What is the probability of completion of the project after week 40?
The network below represents a project being analyzed by Critical Path Methods.
Activity durations are indicated on the network.
176
6. Three activities are candidates for crashing on a CPM network. Activity details are in
the table below.
a. What is the crash cost per unit time for each of the three activities?
b. Which activity should be crashed first to cut one day from the project's duration; how much
is added to project cost?
c. Which activity should be the next activity crashed to cut a second day from the
project's duration; how much is added to project cost?
177
In each section, there are in-text questions and learning activities to initiate your study and to check
whether you understood the contents of each section well. Moreover, at the end of the unit, there are
checklists, summaries and self assessment questions that will facilitate your study and ensure your
understanding of the concepts in the unit. Therefore, please work hard to understand this unit very
well and to know the basic introductory concepts of game theory.
Have you tried the above question? Good! You play games all the time with your parents,
friends and enemies, and even with your teachers. Games are played in business, politics,
diplomacy and wars. The word game may convey an impression that the subject is not
important in the larger schemes of things –that it deals with trivial pursuits such as gambling
and sports when the world is full of more weighty matters such as war, business, education,
career and relationships. Actually all these weighty matters are games. Game theory is the
science of rational behavior in interactive situation. Game theory is the formal study of
decision-making where several players must make choices that potentially affect the interests of
the other players.
178
Game is the science of strategic decision-making. Any situation in which individuals must make
strategic choices and in which the final outcome will depend on what each person chooses to do
can be viewed as a game. Game is an action where there are two or more mutually aware
players and the outcome for each depends on the action of all. The reason for spending time on
game theory is that it is a tool designed for investigating the behavior of rational decision
makers in setting for which each agent‘s best action depends upon what other agents are
expected to do. As a result, game theory will prove to be very useful in providing insight
concerning the strategic behavior of firms (decision makers). Game theoretic analysis is built on
two fundamental assumptions: These are:
Rationality: game theory assumes that players are interested in maximizing their payoffs.
Common knowledge: all players know the structure of the game and that their opponents are
rational.
Games that firms play can be either cooperative or non-cooperative. A game is cooperative if the
players can negotiate binding contracts that allow them to plan joint strategies. A game is non-
cooperative if negotiation and enforcement of a binding contract are not possible.
A cooperative game can be the negotiation of two firms in an industry for a joint investment to
develop a new technology. If the firms can sign a binding contract to divide the profits from their
joint investment, a cooperative outcome that makes both parties better off is possible. It is a win-
win game. An example of a non cooperative game is a situation in which two competing firms take
each other‘s likely behavior into account and independently determine a pricing or advertising
strategy to win market share.
In a game conflict, two opponents, known as players, will each have a finite or infinite number
of alternatives or strategies. Associated with each pair of strategies is a payoff that one player
pays to the other. In games, the participants make use of deductive and inductive logic in
determining a strategy for winning.
The strategic form (normal form) of a game describes an economic setting by three elements:
Players: Each decision maker in a game is called a player. These players can be individuals
(poker game), firms in the markets, or entire nation (as in the military conflict). A player is
an agent who makes decisions in a game.
179
Strategy
Activity 3: What is strategy in your view? (You can use the space left below to write your
response).
_____________________________________________________________________________
_____________________________________________________________________________
The strategy for a player is the list of all possible actions (moves or courses of action) that the
player will take for every payoff (outcome) that may arise. It is assumed that the rules governing
the choices are known in advance to the players. The outcome resulting from a particular choice is
also known to the players in advance and is expressed in terms of numerical values (e.g., money,
percent of market share, utility, etc). The particular strategy (or complete plan) by which a player
optimizes his gains or losses without knowing the competitor‘s strategies is called optimal strategy.
The expected outcome when players follow their optimal strategy is called the value of the game.
Generally, there are two types strategies are employed by players in a game.
Pure strategy: It is the decision rule which is always used by the player to select the particular
strategy (course of action). Thus, each player knows in advance of all strategies out of which
the player always selects only one particular strategy regardless of the other player‘s strategy,
and the objective of the players is to maximize gains or minimize losses.
Mixed strategy: Course of action that is to be selected on a particular occasion with some fixed
probability is called mixed strategy. Thus, there is a probabilistic situation and objective of
the players is to maximize expected gains or to minimize expected losses by making choice
among pure strategies with fixed probabilities.
180
Comment: Read carefully what you have learned above and answer these questions as correctly
as possible.
If a player A has m strategies represented by the subscripted letters: A1, A2, A3, …Am and player
B has n strategies represented by the subscripted letters: B1, B2, B3, ………Bn. The numbers m
and n need to be equal. The total number of possible outcomes is therefore m xn. Here, it is
assumed that each player knows not only his own list of possible courses of action but also of his
opponent. That is, there is a common knowledge. For convenience, it is assumed that player A is
always a gainer whereas player B is a loser. Let aij be the payoff which player A gains from
player B if player A chooses strategy i and player B chooses strategy j. Then the payoff matrix is
shown below:
Player B’s Strategy
Player A’s
strategy
B1 B2 … Bn
A1 a11 a12… a1n
A2 a21 a22… a2n
. . . .
. . . .
. . . .
Am am1 am2 amn
181
The selection of an optimal strategy by each player without the knowledge of the competitor‘s
strategy is the basic problem of playing games. Since the payoffs for either player provide all
the essential information, therefore, only one player‘s payoff table is required to evaluate the
decisions. By convention, the payoff table for the player whose strategies are represented by
rows (say player A) is constructed. Now the objective of the study is to know how these players
must select their respective strategies so that they optimize their payoff. Such a decision making
criterion is referred to as the minimax-maximin principle. Such principle in pure strategies
game always leads to the best possible selection of a strategy for both players.
If the maximin value=minimax value, then the game is said to have a saddle (equilibrium) point
and the corresponding strategies are called optimal strategies. The amount of payoff at an
equilibrium point is known as the value of the game. A game may have more than one saddle
point.
182
For solving a 2x2 game without saddle point, the following formula is also used. If payoff
matrix for player A is given by
Player B
a11 a12
Player A
a a
21 22
Then the following formulae are used to find the value of game and optimal strategies:
a a −a
22 − a21 22 12
p1 = a ; q1 = a
11 + a22 − (a12 + a21 ) 11 + a22 − (a12 + a21 )
p a a −a a
2 = 1 − p1 ; q2 = 1 − q1 and V =
11 22 21 12
, where V is the value of the game
a
11 + a22 − (a12 + a21 )
The rules of dominance are especially used for the evaluation of two-person-zero-sum games
without saddle point. Certain dominance principles are stated as follows:
For player B, if each element in column, say Cr is greater than or equal to the corresponding
elements in another column, say Cs in the payoff matrix, then the column Cr is dominated
by column Cs (i.e. rth strategy is dominated by sth strategy) and therefore column Cr can
be deleted from the payoff matrix.
For player A, if each element in row, say Rr is less than or equal to the corresponding
elements in another row, say Rs in the payoff matrix, then the row Rr is dominated by
row Rs and therefore row Rr can be deleted from the payoff matrix.
A strategy say, k can be dominated if it is inferior (less attractive) to an average of two or
more other pure strategies. In this case, if the domination is strict, then strategy k can be
183
Remarks:
Rules (principles) of dominance discussed are used when the payoff matrix is a profit matrix
for the player A and a loss matrix for player B. Otherwise the principle gets reversed.
The value of the game, in general, satisfies the expression: maximin valueVminimax
value.
A game said to be a fair game if the lower (maximin) and upper (minimax) values of the
game are equal and both equals zero.
A game is said to be strictly determinable if the lower (maximin) values of the game are
equal and both equal the value of the game.
Column 6 4 -2 Minimax
Maximum
Determine the best strategies for player A and B.
Determine the value of game.
Is the game (i) fair? (ii) strictly determinable?
Solution:
In this example, gains to player A or losses to player B are represented by the positive quantities
where as losses to A and gains to B are represented by negative quantities. It is assumed that A
wants to maximize his minimum gains from B. Since the payoffs given in the matrix are what A
receives, therefore, he is concerned with the quantities which represent the row minimums.
Now A can do no worse than receive one of these values and best of them occurs when he
chooses strategy A1. This choice provides a payoff of -2 to A when B chooses strategy B3. This
refers to A‘s choice of A1 as his maximum payoff strategy because this row contains the
maximum of A‘s minimum possible payoff from his competitor B.
Column 6 4 -2 Minimax
Maximum
Similarly, it is assumed that B wants to minimize his losses and wishes his losses to A be as
small as possible. There are column maximums that represent the greatest payments B might
184
Comment: Read what you have learned above carefully and answer these questions as correctly
as possible.
6.5. SUMMARY
Game theory is the formal study of conflict and cooperation. Game theoretic concepts apply
whenever the actions of several agents are interdependent. These agents may be individuals,
groups, firms, or any combination of these. The concepts of game theory provide a language to
formulate structure, analyze, and understand strategic scenarios.
Games can be cooperative or non cooperative. A game is cooperative if the players can
communicate with one another and arrange binding contracts; otherwise it is non-cooperative. In
playing either kind of game, however, the most important aspect of strategy design is to understand
your opponent‘s position, and correctly predicting the likely response to your actions. In some
games, either of the player or both may have not dominant strategy. If both players have a dominant
strategy it is very simple to determine the outcome.
185
Player A Player B
B1 B2
A1 -5 2
A2 -7 -4
Assume that two firms are competing for market share for a particular product. Each firm is
considering what promotional strategy to employ for the coming period. Assume that the
following payoff matrix describes the increase in market share of firm A and the decrease in the
market share of firm B. Determine the optimal strategies for each firm, assuming that this a zero
sum game.
Firm B
No Promotion Moderate Much Promotion
promotion
Firm A No Promotion 5 0 -10
Moderate Promotion 10 6 2
Much promotion 20 15 10
186
187
Maximum contribution occurs at A=150, B=75, where contribution= $337.50. Molding time
is completely used, as is painting time. Packing time used is 1 x 150 + 3 x 75 = 375, so
Packing has 45 hours left over.
Maximize Z=250X1+350X2
Subject to:
250X1+350X2≤40
60X1+120X2≤20
X1, X2≥0
188
Let peanuts=X1,
Cashews= X2,
Almonds=X3,and
Pecans=X4.
The optimal solution is 200 acres in soybeans and 160 acres in sugar cane. There's not
enough labor to plant all 500 acres when 200 acres is in soybeans.
189
190
Standard form
Maximize Z=4x1 +3x2 + 0 s1 +0 s2+ 0 s3
Subject to:
x1+3x2 + s1 +0 s2 = 230
5x1+15x2 +0s1 + s2+ = 120
x1 , x2 , s1 , s2, > 0
Second tableau
Cj 4 3
BV X1 X2 S1 S2 RHS(Q)
X1 4 1 1/2 1/20 0 11.5
S2 0 0 25/2 -1/4 1 62.5
Zj 4 2 1/5 0 46
Cj - Zj 0 1 -1/5 0
Maximum Z=$51
X1= 9 bottles of punch A
X2= 5 bottles of punch B
s1 =0
s2 =0
191
The lowest cost in the matrix is 7; assign 30 units to S2D2 and rule out all other cells in D2.
Now the lowest cost in the table is 8; assign 50 units to S3D1 and rule out all other cells in
S3. The smallest cost is now 9; assign 45 units to S1D3 and rule out all other S1. The
remaining assignments are 60 units to S2D4, 30 units to S2D1, and 25 units to S2D3. These
assignments are summarized in the table below.
Source 2 30 30 25 60 145
Source 3 50 50
192
Source 2 21 7 30 15 150
Source 3 8 10 14 16 50
4.
COSTS Dest. 1 Dest. 2 Dest. 3 Dest. 4 Supply
Source 1 12 18 9 11 100
Source 2 21 7 30 15 150
Source 3 8 10 14 16 50
Demand 80 60 70 90 300 \ 300
193
The optimum solution, which costs $1370, appears in the solution below. A dummy row was
added since total supply was less than total demand. Thirty units are shipped from Dummy to
Destination 3. This means that Destination 3 does not receive 30 units that it demanded. The
dummy row can be interpreted as unfilled demand, or shortfall.
Shipments Dest 1 Dest 2 Dest 3 Row Total
Source 1 0 0 20 20
Source 2 25 0 5 30
Source 3 15 60 0 75
Dummy 0 0 30 30
Col. Total 40 60 55 155 \ 155
Total Cost $1370
8. The optimal solution from Excel OM is in the table below.
Shipments Dest 1 Dest 2 Dest 3 Dest 4 Row Total
Origin 1 2 0 5 1 8
Origin 2 0 6 0 2 8
Origin 3 0 6 0 0 6
Origin 4 0 0 0 3 3
Col. Total 2 12 5 6 25\25
Total Cost 677
9.
The first solution is in the first table; cost of this solution is $1,225.
COSTS Dest. 1 Dest. 2 Dest. 3 Supply
Source 1 20 20
Source 2 30 30
Source 3 40 30 5 75
125 \
12
Demand 40 30 55 5
194
10. The setup requires two transportation problems, each with three sources.
COSTS Plant 1 Plant 2 Plant 3 Supply
Raw material source 1 $6 $8 $9 400
Raw material source 2 $4 $7 $3 600
Candidate A $9 $10 $12 500
Demand 500 500 500 1500 \ 1500
195
The solution appears in the software-generated table below. A dummy Phase 1 machine has
been added because there is not perfect balance in the capacities of these two phases. The
"cost" of this solution is a total transit time of 12,300 minutes per week. The destination
phase Machine C required 1500 wafers, but got only 1000. All other machines in both phases
are fully utilized. Yes, the quantity transferred from machine 3 to machine B is zero.
COSTS Phase 2, Phase 2, Phase 2, Supply
machine A machine B machine C
Phase 1, machine 1 700 700
Phase 1, machine 2 200 100 300 600
a. x11 = 15, x21 = 10, x22 = 10, x32 = 16, x33 = 14, x43 = 35
Minimum Cost is: 753
x13 = 15, x22 = 20, x33 = 30, x41 = 25, x42 = 6, x43 =
4 Minimum Cost is: 542
196
(b, c)
Results
Task Early Early Late Late Slack
Start Finish Start Finish
A 0 8 0 8 0
B 0 3 7 10 7
C 8 15 8 15 0
D 8 11 10 13 2
E 15 19 15 19 0
F 11 17 13 19 2
Project 19
(a) J;
20;
A-B-G-I-J;
197
4.
A=9.5 B=3 C=12 D=5.5 E=6 F=8 G=3 H=3 I=9 J=7 K=2.5
A-D-H-I-J-K;
36.5;
9.53, 3.09;
0.13.
5.
Critical activities are A-C-J-K;
The critical path is 26 time units;
198
Task Early Start Early Finish Late Start Late Finish Slack
A 0 5 0 5 0
B 0 3 6 9 6
C 5 16 5 16 0
D 0 4 9 13 9
E 3 10 9 16 6
F 4 10 15 21 11
G 3 7 17 21 14
H 4 7 13 16 9
I 10 15 21 26 11
J 16 22 16 22 0
K 22 26 22 26 0
Project 26
6.
crash cost X = $1,000 per day; crash cost Y = $600 per day ; crash cost Z = $900 per day
select Y, adding $600; (c) select Z, adding $900
7.
(a)
199
200
A manufacturing firm produces electric motors for washing machines and vacuum cleaners.
The firm has resource constraints for production time, steel and wire. The linear programming
model for determining the number of washing machine motors (X1) and vacuum cleaner motors
(X2), to produce has been formulated as follows.
Maximize Z = 70 X1 + 80 X2
Subject to:
2X1+ X2 ≤ 19 (production, hrs)
X1 + X2 ≤ 14 (steel, m2 )
X1 + 2X2≤ 20 (wire,m2 )
X1&X2≥0
The final optimal simplex tableau for this model is as follows
Cj 70 80 0 0 0
BV X1 X2 S1 S2 S3 RHS(Q)
X1 70 1 0 2/3 0 -1/3 6
S2 0 0 0 -1/3 1 -1/3 1
X2 80 0 1 -1/3 0 2/3 7
Zj 70 80 20 0 30 980
Cj-Zj 0 0 -20 0 -30
201
The department head wants to know the optimal assignment (using Hungarian Assignment
Method) of instructors to courses to maximize the overall average evaluation. The instructor
who is not assigned to teach a course will be assigned to grade exams and which instructor is not
assigned to teach a course?
A given project has the following activities with their allocated time and precedence
relationship, as shown below:
202
203