Operational Research Modu.
Operational Research Modu.
Adama 2012
Operations Research
CHAPTER ONE
INTRODUCTION TO OPERATIONS RESEARCH
1.1. Objective
1.2. Introduction
1.3. The History of Operations Research
1.4. Nature and Significance of Operations Research
1.5. Features of Operations Research
1.6. Model and Modeling in Operations Research
1.7. Summary
1.8. Review Questions
1.1 Objective
1.2 Introduction
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, the
new problems with little or no precedents these problems and provide leadership in the
advancing global age, decision-makers cannot afford to make decisions by simply applying their
personal experiences, guesswork or intuition, because the consequences of the wrong markets,
1
Operations Research
producing the wrong products, providing inappropriate services, etc., will have major, often
disastrous consequences for organizations.
Operations Research as one of the quantitative aid to decision-making, offers the decision maker
a method of evaluating every possible alternative (act or course of action) by using various
techniques to know the potential outcomes. This is not to say, however, that management
decision-making is simply about the application of operations research techniques.
In general, while solving a real-life problem, the decision-maker must examine in both from
quantitative as well as qualitative perspective. Information about the problem from both these
perspectives needs to be brought together and assessed in the context of the problem. Based on
some mixes of the two sources of information, a decision should be taken by the decision-maker.
The evaluation of each alternative is extremely difficult or time consuming for two reasons:
First, the amount and complexity of information that must be processed; second the number of
Alternative solutions could be so large that a decision maker simply cannot evaluate all of them
to select an appropriate one. For these reasons when there is lack of qualitative information,
decision makers increasingly turn to quantitative methods and use computers to arrive at their
optimal solution to problems involving large number of alternatives. The study of these methods
and how decision makers use them in the decision process is the essence of operations research
approach.
It is generally agreed that operations Research came is to existence as a discipline during World
War II when there was a critical need to manage scarce resources. The term “Operations
research” was coined as a result of research on military operations during this war. Since the war
2
Operations Research
involved strategic and tactical problems which were greatly complicated, to expect adequate
solutions from individual or specialists in a single discipline was unrealistic. Therefore, group of
individuals who collectively were considered specialists in mathematics, Economics, statistics
and probability theory, engineering, behavioral, and physical science were formed as special unit
within the armed forces to deal with strategic and tactical problems of various military
operations. The objective was the most effective utilization of most limited military resources by
the use of quantitative techniques.
After the war ended, scientists who had been active in the military OR groups made efforts to
apply the operations research approach to civilian problems, related to business, industry,
research and development, and even won Nobel prizes when they returned to their peacetime
disciplines.
There are three important factors behind the rapid development in the use of operations research
approach.
(i) The economic and industrial boom after World War II resulted in continuous
mechanization, automation, decentralization of operations and division of management
factors. This industrialization also resulted in complex managerial problems, and
therefore application of operations research to managerial decision-making become
popular.
(ii) Many operation researchers continued their research after war. Consequently, some
important advancement were made in various operations research techniques: linear
programming and its solution by a method known as simplex method, statistical quality
control, dynamic programming, queuing theory and inventory theory were well
developed during this time.
(iii) Analytic power was made available by high-speed computers. The use of computers
made it possible to apply many OR techniques for practical decision analysis.
The Operations research approach is particularly useful in balancing conflicting objectives (goals
or interests), where there are many alternative courses of action available to the decision-makers.
3
Operations Research
In a theoretical sense, the optimum decision must be one that is best for the organization as a
whole. It is often called global optimum. A decision that is best for one or more sections of the
organization is usually called suboptimum decision. The OR approach attempts to find global
optimum by analyzing inter-relationships among the system components involved in the
problem. In other words, operations research attempts to resolve the conflicts of interest among
various sections of the organization and seeks the optimal solution which may not be acceptable
to one department but is in the interest of the organization as a whole.
Dear learner, discuss with your colleagues about how conflicting interests arise in the
organization and how OR tries to balance these interests?
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
Because of the wide scope of application of operations research, giving a precise definition is
difficult. However, a few definitions of OR are given below.
Operations research is the application of the methods of science to complex problems in the
direction and management of large systems of men, machines, materials and money in
industry, business, government and defense. The distinctive approach is to develop a
scientific model of the system incorporating measurements of factors such as chance and risk
with which to predict and compare the outcomes of alternative decisions, strategies, or
controls. The purpose is to help management in analyze its policy and actions scientifically.
Operations Research Society, UK
4
Operations Research
Operations research is concerned with scientifically defining how to best design and operate
man-machine systems usually requiring the allocation of scarce resources.
Operations Research Society, America
Apart from being lengthy, the definition given by ORSUK, has been criticized, because it
emphasizes complex problems and large systems leaving the impression that it is a highly
technical approach suitable only to large organizations. The definition of ORSA contains an
important reference to the allocation of scarce resources. The key words used in the above
definitions are scientific approach, scarce resources, system and model. The UK definition
contains no reference to optimization, while the American definition has no reference to the
word, best.
A few other definitions, which are commonly used and widely acceptable, are:
Operations research is a systematic application of quantitative methods, techniques and tools
to the analysis of problems involving the operation of systems.
Operations research is essentially a collection of mathematical techniques and tools which in
conjunction with systems approach, is applied to solve practical decision problems of an
economic or engineering nature.
Operations Research, in the most general sense, can be characterized as the application of
scientific methods, techniques and tools, to problems involving operations of a system so as
to provide those in control of the operations with optimum solutions to the problems.
Operation research seeks the determination of the optimum course of action of a decision
problem under the restriction of limited resources. It is quite often associated almost
exclusively with the use of mathematical techniques to model and analyze decision problems.
Operations research is the application of a scientific approach to solving management
problems in order to help managers make better decisions. As implied by this and other
definitions, operations research encompasses a number of mathematically oriented
techniques that have either been developed within the field of management science or been
adapted from other disciplines, such as natural sciences, mathematics, statistics, and
engineering.
Dear learners, would you discuss on the above definitions and define OR in your words?
___________________________________________________________________________
___________________________________________________________________________
________________________________________________________________________
5
Operations Research
Dear learner, can you mention situations which can be and cannot be analyzed by a
single individual?
1.5.2. Methodological Approach
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
Operation research is the application of scientific methods, techniques and tools to problems
involving the operations of systems so as to provide those in control of operations with optimum
solutions to the problems.
Note: A system is defined as an arrangement of components designed to achieve a particular
objective(s) according to plan. The components may be either physical or conceptual or both but
they share a unique relationship with each other and with the overall objective of the system.
While arriving at a decision, an operation research team examines the relative importance of all
conflicting and multiple objectives and the validity of claims of various departments of the
organization from the perspective of the whole organization.
6
Operations Research
Activity
1. Operations research is an aid for the executive in making his/her decisions by providing
the needed quantitative information, based on scientific method analysis. Discuss.
7
Operations Research
abstracting from reality so that the decision- maker can study the relationship among relevant
variables in isolation.
Models do not, and cannot, represent every aspect of reality because of the innumerable and
changing characteristics of the real life problems to be represented. Instead, they are limited
approximation of reality. For example, to study the flow of materials through a factory, a scaled
diagram on paper showing the factory floor, position of equipment, tools, and workers can be
constructed. It would not be necessary to give such details as the color of machines, the height
of the workers, or the temperature of the building. For a model to be effective, it must be
representative of those aspects of reality that are being investigated and have a major impact on
the decision situation.
A
model
Dearis learner,
constructed
can to
youanalyze
mentionand understand
some the given of
of the limitations system for the purpose of improving
models?
its performance. The reliability of the solution obtained from a model depends on the validity of
_________________________________________________________________________
the model in representing the system under study. A model, allows the opportunity to examine
_________________________________________________________________________
_________________________________________________________________________
the behavioral changes of a system without disturbing the on-going operations.
__
Note: The key to model building lies in abstracting only the relevant variables that affect the
criteria of the measures of performance of the given system and expressing the relationship in a
suitable form. But oversimplification of problem can lead to a poor decision. Model enrichment
is accomplished through the process of changing constants in to variables, adding variables,
relaxing linear and other assumptions, and including randomness.
8
Operations Research
prediction, problems such as portfolio analysis selection, media selection, production scheduling,
etc cannot be analyzed by physical models.
b) Symbolic models
These models use symbols (letters, numbers) and functions to represent variables and their
relationships to describe the properties of the system.
ii) Classification based on function or purpose
Models based on the purpose of their utility include:
a) Descriptive models
Descriptive models simply describe some aspects of a situation, based on observation, survey,
questionnaire results or other available data of a situation and do not recommend anything.
Example: Organizational chart, plant layout diagram, etc.
b) Predictive Models
These models indicate “If this occurs, then that follow”. They relate dependent and independent
variables and permit trying out, “what if” questions. In other words, these models are used to
predict outcomes due to a given set of alternatives for the problem. These models do not have an
objective function as a part of the model to evaluate decision alternatives.
For example, S = a + bA +cI is a model that describes how the sales (S) of a product changes in
advertising expenditures (A) and disposal personal income (I). Here, a, b, and c are parameters
whose values must be estimated.
c) Normative (Optimization) models
These models provide the “best” or “Optimal” solution to problems subject to certain limitations
on the use of resources. These models provide recommended courses of action. For example, in
mathematical programming, models are formulated for optimizing the given objective function,
subject to restrictions on resources in the context of the problem under consideration and non
negativity of variables. These models are also called prescriptive models, because they prescribe
what the decision maker ought to do.
9
Operations Research
order quantity for the next period assuming that the demand in planning period would remain the
same as that for today.
b) Dynamic models
In dynamic models, time is considered as one of the variables and allows the impact of changes
due to change in time. Thus, sequences of interrelated decisions over a period of time are made
to select the optimal course of action to optimize the given objective. Dynamic programming is
an example of a dynamic model.
iv) Classification based on Degree of certainty
a) Deterministic Models
If all the parameters, constants and functional relationships are assumed to be known with
certainty when the decision is made, the model is said to be deterministic. Thus, in such a case,
the outcome associated with a particular course of action is known. That is, for a specific set of
input values, there is a uniquely, determined output which represents the solution of the model
under consideration of certainty. The results of the models assume single value. Linear
programming models are examples of deterministic models.
b) Probabilistic (Stochastic) models
Models in which at least one parameter or decision variable is a random variable are called
probabilistic (or stochastic). Since at least one decision variable is random, a dependant variable
which is the function of independent variable(s) will also be random. This means consequences
or pay off due to certain changes in the independent variable can not be produced with certainty.
However, it is possible to predict a pattern of values of both the variables by their probability
distribution. Insurance against risk of fire, accidents, sickness, etc are examples where the pattern
of events is studied in the form of a probability distribution.
v) Classification Based on Method of solution or Quantification
a) Heuristic Model
These models employ some sets of rules which, though perhaps not optimal, do facilitate
solutions of problems when applied in a consistent manner.
b) Analytical Models
These models have a specific mathematical structure and thus can be solved by known analytical
or mathematical techniques. Any optimization model (which requires maximization or
minimization of an objective function) is an analytical model.
10
Operations Research
c) Simulation Models
These models have a mathematical structure but are not solved by applying mathematical
techniques to get a solution. Instead, a simulation model is essentially a computer-assisted
experimentation on a mathematical structure of a real-life problem in order to describe and
evaluate its behavior under certain assumptions over a period of time.
Simulation models are more flexible than mathematical ones and therefore, can be used to
represent a complex system which otherwise cannot be represented mathematically. These
models do not provide general solution like those of mathematical Models.
Dear learner, do you think that the above classification of models is mutually
exclusive? Support your response with evidence.
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
6. Advantage of Models
___
Models in general are used as an aid for analyzing complex problems. However, a model can
also serve other purposes as:
i) A model provides economy in representation of the realities of the system. That is,
models help decision makers to visualize a system so that he/she can understand the
system’s structure or operation in a better any. For example, it easier to represent a
factory lay out on paper than to construct it. It is cheaper to try out modifications of such
systems by rearrangement on paper.
ii) The problem can be viewed in its entirety, with all the components being considered
simultaneously.
iii) Models serve as aids to transmit ideas and visualization among people in the
organization. For example, process chart can help the management to communicate about
better work methods to workers.
iv) A model allows us to analyze and experiment in a complex situation to a degree that
would be impossible in the actual system and its environment. For example, the
experimental firing of satellite may be costly and require years of preparation.
v) Models simplify he investigation considerably and provide a powerful and flexible for
predicting the future state of the process or system.
11
Operations Research
Dear learner, can you identify individual(s) who are responsible to identify problems and
problems they face while they identify these problems?
___________________________________________________________________________12
_________
Operations Research
The major steps which have to be taken in to consideration for formulating the model are:
Problem Components. The first component of the problem to be defined is the decision
maker who is not satisfied with the existing state of affairs. The interaction with the
decision maker will help the OR specialist in knowing his/her objectives. That is, either
he/she has already obtained some solution of the problem and wants to retain it, or he
wants to improve it to a higher degree. If the decision maker has conflicting multiple
objectives, he/she may be advised to rank the objectives in the order of preference;
overlapping objectives may be eliminated.
Decision environment
It is desirable to know about the resources such as managers, employees equipments, etc which
are required to carry out the policies of the organization considering the social and ecological
environment in which the organization functions. Knowledge of such factors will help in
modifying the initial set of decision-maker’s objectives.
Alternative courses of Action
The problem arises only when there are several courses of action available for a solution. An
exhaustive list of course of action can be prepared in process of going through the above steps of
formulating the problem. Courses of action which are not feasible with respect to objectives and
resources may be ruled out.
Measure of effectiveness
A certain measure of effectiveness or performance is required in order to evaluate the merit of
the several courses of action. The performance or effectiveness can be measured in different
units such as birr (net profits), percentage (share of market desired), time dimension (service or
waiting time).
13
Operations Research
14
Operations Research
A model is referred to as a linear model if all functional relationships among decision variables
X1, X2, Xn in f(x) and g(x) are of a linear form. But if one or more of the relationships are non –
linear, the model is said to be a non-linear model.
Parameters- These are constants in the functional relationships. Parameters can be
deterministic or probabilistic in nature.
? Dear learner, take the case of furniture manufacturing unit in your nearby
village. Identify and define the unstructured problem of the unit and construct
a real OR model for the unit?
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
____
Step 3.Solving the Mathematical Model
This involves obtaining the numerical values of decision variables. Obtaining these values
depends on the specific form or type, of mathematical models. Solving the model requires the
use of various mathematical tools and numerical procedures. In general, there are two categories
of methods used for solving an OR model.
Optimization model. These models yield the best value for the decision variables both for
unconstrained and constrained problems. In constrained problems, these values
simultaneously satisfy all of the constraints and provide an optimal or acceptable value
for the objective function or measure of effectiveness. The solution so obtained is called
the optimal solution to the Problem.
Heuristic Model. These methods yield values of the variables that satisfy all the
constraints, but not necessarily provide optimal solution. However, these values provide
an acceptable value of the objective function.
Heuristic Methods are sometimes described as “rules of thumb” which work. These methods
are used when obtaining optimal solution is either very time consuming or the model is
complex.
15
Operations Research
(i) Failure to recognize the existence of a problem (iii) Failure to use all available
information
- Some people tend to personalize problems - The problem-solver fails to seek out
- Problems arise in context which people have had no information
experience.
ii)Failure to define the correct problem iv) Failure to recognize or question
- One situation may contain many intertwined assumptions.
problems. - it is assumed that there is a
- Obvious problems are often symptoms of much solution to every problem
deeper problems. - Rigid thinking blocks ones view
- The inability to identify accurately what is going on point.
can lead to inaccurate problem identification.
- Attitudes and beliefs can blind the problem solver
to the real causes on undesirable situations.
Difficulties in problem solving
Sometimes difficulties in problem solving arise due to lack of an appropriate methodology
for it and psychological perceptions on the part of the problem solver. The major difficulties
in problem solving:
Step 4. Validating (Testing) the solution
After solving the mathematical model, it is important to review the solution carefully to see
that values make sense and that the resulting decisions can be implemented. Some of the
reasons for validating the solution are:
(i) The mathematical model may not have enumerated all the limitations of the problem
under consideration.
(ii) Certain aspect of the problem may have been overlooked, omitted or simplified,
(iii) The data may have been incorrect estimated or recorded, perhaps when entered in to the
computer.
Step 5. Implementing the solution
The decision-maker has not only to identify good decision alternatives but also to select
alternatives that are capable of being implemented. It is important to ensure that any solution
implemented is continually reviewed and updated in the light of a changing environment.
16
Operations Research
17
Operations Research
Allocation Models
Allocation models are used to allocate resources to activate in such a way that some measure of
effectiveness (objective function) is optimized. Mathematical programming is the broad term of
OR techniques used to solve allocation problems.
If the measure of effectiveness such as profit, cost, etc., is represented as a linear function of
several variables and if limitations of resources (constraints) can be expressed as a system of
linear inequalities or equalities, the allocation problem is classified as linear programming
problems.
But, if the objective unction of any or all constraints can not be expressed as a system of linear
equalities or inequalities, the allocation problem is classified as a non-linear programming
problem.
When the solution values or decision variables for the problem are restricted to being integer
values, the problem is classified as an integer programming. The problem having multiple,
conflicting and incommensurable objective function (goals) subject to linear constraints is called
goal programming. If decision variables in the linear programming problem depend on chance,
such a problem is called is called a stochastic programming problem.
If resources such as workers, machines or salesmen can be assigned to perform a certain number
of activities such as jobs or territories on one- to one basis so as to minimize total time, cost or
distance involved in performing a given activity, such problems are classified as assignment
problems. Conversely, if the resources can be used for more than one activity, the allocation
problem is classified as a transportation problem.
Inventory Model
Inventory Models deal with the problem of determination of how much to order at a point in time
and when to place an order. The main objective is to minimize the sum of three conflicting
inventory costs: the Cost of holding or carrying extra inventory, the cost of shortage or delay in
delivery of items when it is needed, a cost of ordering or set-up.
Competitive (Game Theory) Model
These models are used to characterize the behavior of two or more opponents (called players)
who compete for the achievement of conflicting goals.
18
Operations Research
Network Models
These models are applied to the management (planning, controlling and scheduling) of large-
scale projects. PERT/CPM Techniques help in identifying potential trouble spots in a project
through the identification of the critical path. These techniques improve project coordination and
enable the efficient use of resources. Network methods are also used to determine time-cost trade
off, resource allocation and updating of activity time.
Decision analysis Model
These models deal with the selection of an optimal course faction given the possible pay offs and
their associated probabilities of occurrence. These models are broadly applied to problems
involving decision making under risk and uncertainty.
Linear Mathematical Probabilistic Inventory Net work Other linear and non-
Programming Techniques Techniques Techniques linear Techniques
Source: Taylor, 1990, Introduction to Management Science, 3rd edition, Brown Publisher
19
Operations Research
CHAPTER TWO
LINEAR PROGRAMMING
2.1 Objective
2.2 Introduction
2.3 Structure of Linear programming Model
2.4 Application Area of LP
2.5 Formulation of LP
2.6 Graphical Solution of LPP
2.6.1 Maximization in LPP
2.6.2 Minimization in LPP
2.7 Some complication and their Resolution
2.8 The Simplex Method
2.8.1 Maximization Problem
2.8.2 Minimization Problem
2.9 Some complication and their Resolution
2.10 Duality in LPP
2.11 Sensitivity Analysis
2.12 Summary
2.13 Review Questions
2.1 Objective
Up on completion of this unit, the learner is expected to:
20
Operations Research
2.2 Introduction
Linear Programming is a mathematical process that as bee developed to help management in
decision making involving the efficient allocation of scares resources to achieve a certain
objective.
Diagrammatically,
Resource
constraints
Objectives Constraints
Non-negativity
Constraints
Optimization
Maximization Minimization
21
Operations Research
1. Resource constraints: Are restrictions that should be clearly identifiable and measurable in
quantitative terms, which arise from limitation of available resources.
2. Non-negativity constraints:
Are constraints that require the decision variables not to take on negative values
c. Linearity
The Objective Function and the constraints must be linear in nature in order to have a Linear
Programming Problems (LPP)
d. Feasible alternative
There should be a series of feasible alternative course of action available to the decision-making
determined by resource constraints. Thus, we have to choose the best alternative
Linear Programming Problems can be solved by using:
i. The Geometric method called” Graphical Method”
ii. The Algebraic method called” Simplex Method”
There is a wide range of problems that lend themselves to solution by linear programming
techniques. This discussion is only meant to give an indication of the LP techniques for
managerial decision making and the apparent diversity of situations to which linear programming
can be applied. Some of these include production management (product mix, blending problems,
production planning, Assembly line balancing…), Marketing management (media selection,
traveling sales man problem, physical distribution), Financial management (portfolio selection,
profit planning), agricultural application, military applications, personnel management (staffing
problem, Determination of equitable salary and etc.
22
Operations Research
Product Mix
Organizations often produce similar services that use the same resources. For example, labor,
material cost, etc. because of limited resources available during any time period a decision must
be made concerning how much of each product to produce or make available. Linear
programming answers what mix of output (or service) will maximize profit given the availability
of scarce resources.
Diet problem
It usually involves the mixing of raw materials or other ingredients to obtain an end product that
has certain characteristics. For example, what mix of inputs will achieve the desired results in the
output for the least cost? Other applications that fall into this category include mixing feed for
livestock, mixing pet foods, mixing building materials (concrete, mortar, paint), and so on.
Blending problems
They are very similar to diet problems. Strictly speaking, however, blending problems have
additional requirement, i.e. to achieve a mix that have specific consistency. For example, how
many quarts of the different juices each with different sugar content proportion must be mixed
together to achieve one gallon that has a sugar content of 17 percent?
Portfolio selection
These problems generally involve allocating a fixed dollar amount among a variety of
investments, such as bonds, sockets, real estates, etc. The goal usually is to maximize income or
total return. The problems take on an added dimension when certain other requirements are
specified (for example, no more than 40 percent of the portfolio can
2.5 FORMULATION OF LP
Decision variables are the variables whose values are unknown and are searched
The coefficients of the variables in the Objective Function are called the profit or cost
coefficients. They express the rate at which the value of the Objective Function increases or
decreases by including in the solution one unit of each of the decision variables.
The coefficients of the constraints’ variables are called the input- output coefficients that indicate
the rate at which the given resources are depleted or utilized.
23
Operations Research
Example:
Max.Z 50 X 180 X 2
St :
X 12 X 2 32
X 12 X 2 82
X1, X 2 0
Labor hr. 2 1 40
Machine hr. 1 3 45
Marketing hr. 1 0 12
Profit $300 $250
24
Operations Research
Solution
1. Formulation of mathematical modeling of LPP
Max Z=300X1 +250X2
St:
2X1 +X2< 40
X1 +3X2< 45 LPP Model
X1 < 12
X1 , X2 > 0
2. Convert constraints inequalities into equalities
2X1 +X2 = 40
X1 +3X2= 45
X1 = 12
3. Draw the graph by intercepts
2X1 +X2 = 40 ==> (0, 40) and (20, 0)
X1 +3X2= 45==> (0, 15) and (45, 0)
X1 = 12==> (12, 0)
X1 , X2 = 0
2X1 +X2 = 40
X2
X1=0
40 X1=12
B
X1 +X2 = 45
15
4. Identify the feasible area of the solution which satisfies all constrains.
5. Identify the corner points in the feasible region
A (0, 0), B (0, 15), C (12, 11) and D (12, 0)
6. Identify the optimal point
7. Interprete the result
Corners Coordinates MaxZ=300 X1
+250X2
A (0, 0) $0
B (0, 15) $3750
C (12, 11) $6350
D (12, 0) $3600
25
Operations Research
Interpretation:
12 units of product A and 11 units of product B should be produced so that the total profit will be
$6350.
Exercise:
A manufacturer of light weight mountain tents makes two types of tents, REGULAR tent and
SUPER tent. Each REGULAR tent requires 1 labor-hour from the cutting department and
3labor-hours from the assembly department. Each SUPER tent requires 2 labor-hours from the
cutting department and 4 labor-hours from the assembly department .The maximum labor hours
available per week in the cutting department and the assembly department are 32 and 84
respectively. Moreover, the distributor, because of demand, will not take more than 12 SUPER
tents per week. The manufacturer sales each REGULAR tents for $160 and costs$110 per tent to
make. Where as SUPER tent ales for $210 per tent and costs $130 per tent to make.
Required:
A. Formulate the mathematical model of the problem
B. Using the graphic method, determine how many of each tent the company should manufacture
each tent the company should manufacture each week so as to maximize its profit?
C. What is this maximum profit assuming that all the tents manufactured in each week are sold in
that week?
Solution
_____________________________________________________________________
Labor hours per tent
Department REGULAR (X1) SUPER(X2) Maximum
labor-hours
Available per week
_____________________________________________________________________
Cutting department 1 2 32
Assembly department 3 4 84
Selling price per tent $160 $210
Cost per tent $110 $130
Profit per tent $50 $80
26
Operations Research
*The distributor will not take more than 12 SUPER tents per week. Thus, the manufacturer
should not produce more than 12 SUPER tents per week.
Let X1 =The No of REGULAR tents produced per week.
X2 =The No of SUPER tents produced per week.
X1 and X2 are called the decision variables
Max .Z 50 X 180 X 2
St :
X 12 X 2 ……….Cutting
32 department constraint
LPP Model ……….Assembly department constraint
3 X 14 X 2 84
……….Demand constraint
X 2 12
X 1 , X 2 0……….Non-negativity constraints
Interpretation:
The manufacturer should produce and sale 20 REGULAR tents and 6 SUPERS tents to get a
maximum weekly profit of $1480.
27
Operations Research
Assume that at least a certain amount of product must be produced and that we would like to
utilize at least the regular labor force. How much should we utilize each machine in order to
utilize total costs and still meets the requirement?
Solution
________________________________________________________________
Resource used
Machine 1 (X1) Machine (X2) Minimum required hours
_____________________________________________________________________
Min.Z 25 X 130 X 2
St :
20 X 115 X 2 100 LPP Model
2 X 13 X 2 15
X1, X 2 0
Constraint equation:
20X1 +15X2=100 ==> (0, 20/3) and (5, 0)
2X1+3X2=15 ==> (0, 5) and (7.5, 0)
X1 X2 > 0
X2
X1 =0
A (0, 20/3)
Feasible Region
B (2.5, 3.33)
_____________________________________________________________________
X2 =0
Corners Coordinates MinZ=25 X1 + 30X2
X1
A (0, 20/3) 200
5 C (7.5, 0)
28
Operations Research
29
Operations Research
6 X 12 X 2 12
(0, 6), (2, 0)
2 X 12 X 2 8
(0, 4), (4, 0)
4 X 1 12 X 2 24
(0, 2), (6, 0)
X1, X 2 0
Corners MinZ=$1000 X1 + 800X2
(0, 6) $4800
(1, 3) $3400
(3, 1) $3800
(6, 0) $6000
X1 =1
X2=3 and
MinZ= $3400
X2
X1 =0
6 6X1+2 X2=12
2X1+2 X2=8
4 FR
4X1+12 X2=24
(1, 3)
(3, 1)
X2 =0
X1
2 4 6
Note:
-In maximization problems, our point of interest is looking the furthest point from the origin.
-In minimization problems, our point of interest is looking the point nearest to the origin.
1. Redundant Constraint
If a constraint when plotted on a graph doesn’t form part of the boundary making the feasible
region of the problem that constraint is said to be redundant.
Example:
30
Operations Research
A firm is engaged in producing two products A and B .Each unit of product A requires 2Kg of
raw material and 4 labor-hrs for processing. Whereas each unit of product B requires 3Kg of raw
materials and 3hrs of labor. Every unit of product A needs 4hrs to packaging and every unit of
product B needs 3.5hrs for packaging. Every week the firm has availability of 60Kg of raw
material, 96 labor-hours and 105 hrs I the packaging department.1 unit of product A sold yields
$40 profit and 1 unit of B sod yields $35 profit.
Required:
a. Formulate this problem as a LPP
b. Find the optimal solution
Solution
__________________________________________________________________
Products Resource available
Resources A B per week
_____________________________________________________________________
31
Operations Research
X2
(0, 32)
32
Operations Research
Note: The packaging hour’s constraint does not form part of the boundary making the feasible
region. Thus, this constraint is of no consequence and is therefore, redundant. The
inclusion or exclusion of a redundant constraint does not affect the optimal solution of
the problem.
Example:
The information given below is for the products A and B.
_____________________________________________________________________
Machine hours per week Maximum available
Department Product A Product B per week
_____________________________________________________________________
Cutting 3 6 900
Assembly 1 1 200
Profit per unit $8 $16
_____________________________________________________________________
Assume that the company has a marketing constraint on selling products B and therefore it can
sale a maximum of 125units of this product.
Required:
a. Formulate the LPP of this problem
b. Find the optimal solution
Solution:
Let X1 =The No of units f product A produced per week
X2 =The No of units f product B produced per week
33
Operations Research
X2 X1=0
(0, 200)
(0,150)
B (0, 125)
D (100,100)
C (50, 125) X2=125 Marketing equation
Cutting: 3X1+6X2=900
FR X2=0
A (0, 0)
X1
E (200, 0) (300,0)
34
Operations Research
Example:
MaxZ=20X1+30X2
St:
2X1+X2< 40
4X1+X2< 60
X1 > 30
X1, X2 > 0
Solution:
X2 X1=0
(0, 60) X1=30
4X1+X2= 60
(0, 40)
2X1+X2= 40
X2=0
X1
(15, 0) (20, 0) (30, 0)
Note:
-In the above graph, there is no common point in the shaded area.
-All constraints cannot be satisfied simultaneously and there is no feasible solution to the
problem.
4. Mix of constraints
Example:
ABC Gasoline Company has two refineries with different production capacities. Refinery A can
produce 4,000gallons per day of SUPER UNLEADD GASOLINE, 2000 gallons per day of
REGULAR UNLEADED GASOLINE and 1000 gallons per day of LEADED GASOLINE. On
the other hand, refinery B can produce 1000 gallons per day of SUPER UNLEADED, 3000
gallons per day of REGULAR UNLEADED and 4,000 gallons per day of LEADED.
35
Operations Research
The company has made a contract with an automobile manufacturer to provide 24000 gasoline’s
of SUPER UNLEADED, 42000 gallons of REGULAR UNLEADED and 36000 gallons of
LEADED .The automobile manufacturer wants delivery in not more than 14 days.
The cost of running refinery A is $1500 per day and refinery B is $2400 per day.
Required:
a. Formulate this problem as a LPP
b. Determine the number of days the gasoline company should operate each refinery in order to
meet the terms of the above contract most economical.(i.e. At a minimum running cost)
c. Which grade of gasoline would be over produced?
Solution:
_____________________________________________________________________
Production per day (in gallons) Contract with an automobile
manufacturer
Grade of gasoline A B
_____________________________________________________________________
SUPER UNLEADED 4000 1000 24,000
REGULAR UNLEADED 2000 3000 42,000
LEADED 1000 4000 36,000
Running cost per day $1,500 $2,400
_____________________________________________________________________
The automobile manufacturer wants delivery in not more than 14 days.
Let X1 =The No of days refinery A should work.
X2 =The No of days refinery B should work.
a. LPP of the problem
MinZ=1500X1+2400X2
St:
4000X1+1000X2>24000
2000X1+3000X2>42000
1000X1+2000X2> 36000
X1 < 14
X2< 14
X1, X2 > 0
==>T o simplify the problem divide by 1000 the constraints
36
Operations Research
MinZ=1500X1+2400X2
St:
4X1+1X2>24
2X1+3X2>42
X1+4X2 > 36
X1 < 14
X2< 14
X1, X2 > 0
37
Operations Research
SUG: 4000X1+1000X2>24000
4000(12) +1000(6)>24000
54000 > 24000
Therefore, 30,000 gallons over production
RUG: 2000X1+3000X2>42000
2000(12) +3000(6)>42000
42000 > 42000
Therefore, there is no over production of RUG
LG: 1000X1+4000X2>36000
1000(12) +1000(6)>36000
36000 > 36000
Therefore, No over production of LG
5. Unbounded Solution
When the value of decision variables in LP is permitted to increase infinitely without violating
the feasibility condition, then the solution is said to be unbounded .Here, the objective function
value can also be increased infinitely. However, an unbounded feasible region may yield some
definite value of the objective function.
Example:
Use the graphical method to solve the following LPP.
1. MaxZ=3X1+4X2
St:
X1-X2<-1==> -X1+X2>1 since the quantity solution is positive
-X1+X2<0
X1, X2 > 0
X2 X1-X2 =-1
X1+X2 =0
1 Unbounded
Feasible Region
X1
38
Operations Research
A(0,3) Unbounded
Feasible Region
X1-X2=1
B (2, 1)
X1+X2=3
X1
Note here that the two corners of the region are A(0,3) and .B(2,1).The value of MaxZ(A)=6 and
MaxZ(B)=8. But there exist number of points in the shaded region for which the value of the
objective function is more than 8.For example, the point (10, 12) lies in the region and the
function value at this point is 70 which is more than 8.
Remark:
An unbounded solution does not mean that there is no solution to the given LPP, but implies that
there exits an infinite number of solutions.
Exercise:
Use graphical method to solve the following LPP.
1. MaxZ=7/4X1+3/2X2 2. MaxZ=3X1+2X2
St: St:
8 X1+5X2 < 320 -2X1+3X2 < 9
4X1+5X2 < 20 X1-5X2 > -20
X1 > 15 X1, X2 > 0
X2> 10
X1, X2 > 0
39
Operations Research
3. Max.Z=10X1+15X2 4.Min.Z=3X1+2X2
St: St:
2X1+X2 < 26 5X1+X2 > 10
2X1+4X2< 56 X1 +X2 > 6
-X1+X2< 5 X1 + 4 X2 > 12
X1, X2 > 0 X1, X2 >0
Answer: X1=4 , X2 =2 Answer:X1=1,X2=5
and Max.Z=230 and Min.Z=13
40
Operations Research
5. Min.Z=-X1+2X2 6.Min.Z=20X1+10X2
St: St:
-X1+3X2 < 26 X1+2X2 <40
X1 +X2 < 6 3X1 + 4 X2 > 30
X1-X2< 2 4X1+ 3X2> 60
X1, X2 > 0 X 1, X2 >0
Answer:X1=2 , X2 =0 Answer:X1=6,X2=12 and Min.Z=-2 and Min.Z=240
II.A manufacturer produces two different models; X and Y, of the same product .The raw
materials r1 and r2 are required for production. At least 18 Kg of r1 and 12 Kg of r2 must be used
daily. Almost at most 34 hours of labor are to be utilized .2Kg of r1 are needed for each model X
and 1Kg of r1 for each model Y. For each model of X and Y, 1Kg of r2 is required. It takes 3
hours to manufacture a model X and 2 hours to manufacture a model Y. The profit realized is
$50 per unit from model X and $30 per unit from model Y. How many units of each model
should be produced to maximize the profit?
Answer: 10 units of model X, 2 units of model Y and the maximum profit is $ 560.
III.A manufacturing firm produces two machine parts P1 and P2 using milling and grinding
machines .The different machining times required for each part, the machining times available
on different machines and the profit on each machine part are as given below:
____________________________________________________________________
Manufacturing time Maximum time
required (min) available per week
(min)
Machine P1 P2
_____________________________________________________________________
Lathe 10 5 25,000
Milling Machine 4 10 2000
Grinding Machine 1 1.5 450
Profit per unit ($) $50 $100
_____________________________________________________________________
Determine the number of pieces of P1 and P2 to be manufactured per week to maximize profit.
Answer:X1=375 , X2 =50 and Max.Z=23750
41
Operations Research
IV.A person requires 10, 12 and 12 units of chemicals A, B and C respectively for his garden. A
liquid product contains 5, 2 and 1 units of A, B and C respectively per jar. A dry product contains
1, 2 and 4 units of A, B and C per carton. If the liquid product sells for $3 per jar and the dry
product sells $2 per carton, how many of each should be purchased in order to minimize cost and
meet the requirement?
Answer: 1 Unit of liquid, 5 units of dry product and Min.Z=$13
2.8 SIMPLEX METHOD
The graphical method to solving LPPs provides fundamental concepts for fully understanding
the LP process. However, the graphical method can handle problems involving only two decision
variables (say X1 and X2).
In 19940’s George B.Dantzig developed an algebraic approach called the Simplex Method
which is an efficient approach to solve applied problems containing numerous constraints and
involving many variables that cannot be solved by the graphical method.
The simplex method is an ITERATIVE or “step by step” method or repetitive algebraic approach
that moves automatically from one basic feasible solution to another basic feasible solution
improving the situation each time until the optimal solution is reached at.
Note:
The simplex method starts with a corner that is in the solution space or feasible region and
moves to another corner I the solution space improving the value of the objective function each
time until optimal solution is reached at the optimal corner.
Matrices
Different types of matrices:
1. Row matrix
A matrix which has exactly one row
Example:
(1 2 3 4 ) ==>1x 4 matrixes
2. Column matrix
A matrix which has exactly one column
42
Operations Research
Example:
5
3. Square matrix
A matrix in which the No of rows (m) = the No of columns (n)
Example:
1 2
==> 2x2 square Matrix
3 4
0 0
Example:
1 2 3
4 5 6
The diagonal elements are: a11=1, a22=5 and a33=9
7 8 9
A square matrix of every element other than diagonal elements is zero, is called a diagonal
matrix.
43
Operations Research
Example:
1 0 0 0 0
0 0
0 5 0
0 5
0 0 9 ; and 0 0
6. Identity Matrix
A diagonal matrix whose diagonal elements are all equal to 1(unity)
Example:
1 0
Is an identity matrix
0 1
Example:
Solve the problem using the simplex approach
Max.Z=300x1 +250x2
44
Operations Research
Subject to:
2x1 + x2 < 40 (Labor )
x1+3x2 < 45 (Machine)
x1 < 12 (Marketing)
x1, x2 > 0
Solution
Step 1
Formulate LPP Model
Step 2
Standardize the problem
i.e Convert constraint inequality into equality form by introducing a variable called Slack
variable.
Slack Variables:
A slack variable(s) is added to the left hand side of a < constraint to covert the constraint
inequality in to equality. The value of the slack variable shows unused resource.
A slake variable emerges when the LPP is a maximization problem.
Slack variables represent unused resource or idle capacity. Thus, they don’t produce any product
and their contribution to profit is zero.
Slack variables are added to the objective function with zero coefficients.
Let that s1, s2, and s3 are unused labor, machine and marketing hrs respectively.
Max.Z=300x1 +250x2 + 0 s1 +0 s2+ 0 s3
St:
2 x1+x2 + s1 +0 s2+ 0 s3= 40 Standard form
45
Operations Research
==> In constructing the initial simplex tableau, the search for of the optimal solution begins at
the origin. Indicating that nothing can be produced;
Thus, first assumption, No production implies that x1 =0 and x2=0
46
Operations Research
Step 4
Construct the initial simplex tableau
Initial simplex tableau
Slack variables
variables column
Solution quantity
Basic or Solution
Real or decision
columns
variable column
Profit per unit
column
column
Profit per unit row
Cj 300 250 0 0 0
SV X1 X2 S1 S2 S3 Q
0 S1 2 1 1 0 0 40 R1
Constraint
equation rows
0 S2 1 3 0 1 0 45 R2
Zj 0 0 0 0 0 0
Net Profit row
C j - Zj 300 250 0 0 0 /Indicator row/
Step 5:
Choose the “incoming” or “entering” variables
Note:
The entering variable is the variable that has the most positive value in the Cj - Zj row also called
as indicator row. Or the entering variable is the variable that has the highest contribution to
profit per unit.
a. X1 in our case is the entering variable
b. The column associated with the entering variable is called key or pivot column ( X1 column
in our case )
47
Operations Research
Step 6
Choose the “leaving “or “outgoing” variable
==> In this step, we determine the variable that will leave the solution for X1 (or entering
variable)
Note:
The row with the minimum or lowest positive (non-negative) replacement ratio shows the
variable to leave the solution.
Note: RR>0
The variable leaving the solution is called leaving variable or outgoing variable.
The row associated with the leaving variable is called key or pivot row (s3 column in our case)
The element that lies at the intersection of the pivot column and pivot row is called pivot
element(No 1 in our case)
Step 7
Repeat step 3-5 till optimum basic feasible solution is obtained.
Or: repeat step 3-5 till no positive value occurs in the Cj - Zj row.
Note:
Divide each element of the pivot row by the pivot element to find new values in the key or
pivot row.
Perform row operations to make all other entries for the pivot column equal to zero.
2nd simplex tableau
Cj 300 250 0 0 0
SV X1 X2 S1 S2 S3 Q
0 S1 0 1 1 0 -2 16 R’1=R1-2R3
0 S2 0 3 0 1 -1 33 R’2=R2-R3
300 X1 1 0 0 0 1 12 R’3=R3
Zj 300 0 0 0 300 3600 1
C j - Zj 0 250 0 0 -300
48
Operations Research
Cj 300 250 0 0 0
SV X1 X2 S1 S2 S3 Q
0 S1 0 0 1 -1/3 -5/3 5
R’’1=R’1-R’2
250 X2 0 1 0 1/3 -1/3 11
R’’2=R2/3
300 X1 1 0 0 0 1 12
R’’3=R’3
300 250 0 250/3
Zj 6350
650/3
0 0 0 -250/3
C j - Zj
- 650/3
Since all the Cj -
Zj < 0 optimal solution is reached at.
Therefore, X1=12, X2=11, S1=5 and Max Z=6350
Exercise:
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:
a. Formulate this problem as a LPP
b. How many bottles of Punch A and Punch B the company should produce in order to maximize
profit? (Using the simplex method)
c. What is this maximum profit?
49
Operations Research
Solution:
Juice needed for one bottle of
Juice Punch A Punch B Juice Available
_____________________________________________________________________
Orange Juice (lt) 20 10 230
Grape Juice (lt) 5 15 120
Profit per tent $4 $3
______________________________________________________________________________
Let X1= the No of bottles of punch A produced.
X2= the No of bottles of punch B produced.
LPP Model
Max Z=4X1 +3X2
St:
20X1 +10X2 < 230 Orange Constraint
5X1 +15X2 < 120 Grape Constraint
X1 , X2 >0 Non-negativity constraint
Standard form
Max.Z=4x1 +3x2 + 0 s1 +0 s2+ 0 s3
St:
20 x1+3x2 + s1 +0 s2 = 230
Standard form
5x1+15x2 +0s1 + s2+ = 120
x1 , x2 , s1 , s2, >0
Where, s1 =Unused orange juice
s2 =Unused grape juice
Initial simplex tableau
Cj 4 3 0 0
SV X1 X2 S1 S2 Q
0 S1 20 10 1 0 230
0 S2 5 15 0 1 120
0 0 0
Zj 0
0
4 3 0
C j - Zj
0
50
Operations Research
Cj 4 3 0 0
SV X1 X2 S1 S2 Q
Cj 4 3 0 0
SV X1 X2 S1 S2 Q
4 X1 1 0 3/50 -1/25 9
0 X2 0 1 -1/50 2/25 5
4 3 0.12
Zj 51
0.08
0 0 - 0.12
C j - Zj
-0.08
X1 = 9 bottles of punch A
X2= 5 bottles of punch B
s1 =0
s2 =0
MaxZ=$51
Exercise:
Solve the following LPPs using the simplex method
1. Max.Z=3x1 +5x2 2. Max.Z=20x1 +10x2
Subject to: Subject to:
x2 < 6 5x1+4x2 < 250
3x1+2x2 < 18 2x1+5x2 < 150
x1, x2 > 0 x1, x2 > 0
51
Operations Research
Answer: Answer:
x1=2, x2 =6, s1 =0 , s2=0 and MaxZ=$36 x1=50, x2 =0, s1 =0 , s2=50 and
MaxZ=$1,000
52
Operations Research
Note:
Type of constraint To put into standard form
< ---------------------------------------------Add a slack variable
= ---------------------------------------------Add an artificial variable
> ---------------------- Subtract a surplus variable and add artificial variable
1. Big M-method
/Charnes Penalty Method/
The Big-M Method is a method which is used in removing artificial variables from the basis .In
this method; we assign coefficients to artificial variables, undesirable from the objective function
point of view. If objective function Z is to be minimized, then a very large positive price (called
penalty) is assigned to each artificial variable. Similarly, if Z is to be maximized, then a very
large negative price (also called penalty) is assigned to each of these variables.
53
Operations Research
Solution
Step 1
Standardize the problem
Minimize Z=25x1 +30x2 +0s1+0s2 +MA1+MA2
Subject to:
20x1+15x2- s1+A1 = 100
2x1+ 3x2 –s2+A2 = 15
x1, x2 , s1, s2 ,A1 ,A2 > 0
Step 2
Initial simplex tableau
The initial basic feasible solution is obtained by setting x 1= x2= s1= s2=0
No production, x1= x2= s1=0==>20(0) +15(0) - 0+A1 = 100 ==> A1 = 100
x1= x2= s2=0==>0(0)+3(0) - 0+A2 =15==> A2 = 15
Initial simplex tableau
Cj
25 30 0 0 M M
X1 X2 S1 S2 A1
SV Q RR
A2
20 15 -1 0 1
M A1 100
0
2 3 0 -1 0 100/20=5
15/2=7.5
M A2 15
1
22M 18M -M -M M
Zj 115 M
M
25 -22M 30- 18M M M 0
C j - Zj
0
54
Operations Research
Note:
Once an artificial variable has left the basis, it has served its purpose and can therefore be
removed from the simplex tableau. An artificial variable is never considered for re-entry into the
basis.
2nd Simplex Tableau
Cj 25 30 0 0 M
X1 X2 S1 S2
SV Q
A2
R’1=R1/20
1 3/4 -1/20 0
25 X1 5
0 R’2=R2-2 R’
0 3/2 1/10 -1
M A2 5
1
25 75/4+3/2M -5/4+1/10M -M 125+5
Zj
M M
0 45/4-3/2M 5/4-1/10 M M 3rd Simplex
C j - Zj
0 Tableau
Cj 25 30 0 0
X1 X2 S1
SV Q
S2
1 0 -1/10
25 X1 5/2
1/2
0 1 1/15
30 X2 10/3
-2/3
25 30 -1/2
Zj 162.5
-15/2
0 0 1/2
C j - Zj
15/2
Cj - Zj > 0==>Optimal
solution is reached
X1=5/2
X2=10/3 and MinZ=162.5
55
Operations Research
Note:
As long as an “A” variable is available in the solution variable column, the solution is infeasible.
2. Use the penalty (Big-M) method to solve the following LPP
Min Z=5x1 +3x2
Subject to:
2x1+4x2 < 12
2x1+ 2x2 = 10
5x1+ 2x2 > 10
x1, x2 >0
Solution
Min Z=5x1 +3x2 +0s1+0s2 +MA1+MA2
Subject to: If no production
2x1+4x2+s1 = 12 ==>x1 =x2=0==>s1=0 (Solution Value in the initial simplex tableau)
2x1+2x2 +A1 =10 ==>x1 =x2=0==>A1 =15 (Solution Value in the initial simplex tableau)
5x1+2x2 –s2 +A1=10 ==>x1=x2=s2=0==>A2=10(Solution Value in the initial simplex
tableau) x1, x2 , s1, s2 ,A1 ,A2 > 0
Cj 5 3 0 0 M M
RR
SV X1 X2 S1 S2 A1 A2 Q
6
0 S1 2 4 1 0 0 0 12
M A1 2 2 0 0 1 0 10 5
M A2 5 2 0 -1 0 1 10 2
7M 4M 0 M M
Zj 20 M
M
5 -7M 3- 4M 0 -M 0
C j - Zj
0
56
Operations Research
Cj 5 3 0 0 M
SV X1 X2 S1 S2 A1 Q
0 S1 0 16/5 1 2/5 0 8
M A1 0 6/5 0 2/5 1 6
5 X1 1 2/5 0 -1/5 0 2
5M 6/5M +2 0 2/5M -1 10+6
Zj
M M
0 -6/5M +1 0 -2/5M+1
C j - Zj
0
Cj 5 3 0 0 M
SV X1 X2 S1 S2 A1 Q RR
M A1 0 0 -3/8 1/4 1 3 12
5 X1 0 0 -1/8 -1/4 0 1 -
57
Operations Research
Cj 5 3 0 0
SV X1 X2 S1 S2 Q
3 X2 0 1 1/2 0 1
0 S2 0 0 -3/2 1 12
5 X1 0 0 -1/2 0 4
Zj 5 3 -1 0 23
C j - Zj 0 0 1 0
Cj 2 1 3 0 -M
RR
SV X1 X2 X3 S1 A1 Q
1 1 2 1 0 5 2.5
0 S1
-M A1 2 3 4 0 1 12
3
-2M -3M -4M 0
Zj -12 M
-M
2M+2 3M+1 4M+3 0
C j - Zj
0
58
Operations Research
Cj 2 1 3 0
SV X1 X2 X3 S1 A1 Q
RR
5
3 X3 1/2 1/2 1 1 0 5
-M A1 2 3 4 0 1 12 2
Cj 2 1 3 0
RR
SV X1 X2 X3 S1 Q
6
3 X3 1/2 0 1 3/2 1.5
1 X2 0 1 0 -2 2 Not defined
Cj 2 1 3 0
SV X1 X2 X3 S1 Q
3 X1 1 0 2 3 3
1 X2 0 1 0 -2 2
2 1 4
Zj 8
4
0 0 -1
C j - Zj
-4 Cj - Zj < 0==>optimal
59
Operations Research
solution
X1=3, X2 =2, X3=0, S1=0 and Max Z=8
Exercise
Find the optimal solution using simplex method
1. Min Z=10x1 +5x2
Subject to:
2x1 + 5x2 > 150
3x1+ x2 > 120
x1, x2 >0
Ans: x1=450/13, x2 =210/13 and Min Z=$540
60
Operations Research
Cj 6 8 0 0 -M -M
SV X1 X2 S1 S3 A2 A3 Q
0 S1 0 1 1 0 0 0 4
-M A2 1 1 0 0 1 0 9
-M A3 6 2 0 -1 0 1 4
-7M -3M 0 +M -M
Zj 24
-M
7M +6 3M+8 0 -M 0
C j - Zj
0
61
Operations Research
Note:
For the initial basis, use artificial variables for constraints that have them. Otherwise, use a
constraint slack variable. Hence, surplus variables will not appear in an initial solution.
In order to break this tie, the selection for the key column (entering variable) can be made
arbitrary. However; the number of solution can be minimized by adopting the following rules:
1. If there is a tie between two decision variables, then the selection can be made arbitrary.
2. If there is a tie between a decision variable and a slack (or surplus) variable, then select the
decision variable to enter into basis first.
3. If there is a tie between slack or surplus variable, then selection can be made arbitrary.
Example:
If the equation is max Z:
Cj
SV X1 X2 S1 S3 Q
Zj
5 2 5
C j - Zj
0
Infeasibility comes about when there is no solution that satisfies all of the problem’s constraints.
62
Operations Research
In the simplex method, an infeasible solution is indicated by looking at the final tableau .In it, all
Cj - Zj row entries will be the proper sign to imply optimality, but an artificial variable (A) will
still be in the solution mix.
Example:
Minimization case
Cj 5 8 0 0 M
SV X1 X2 S1 S2 A2 Q
5 X1 1 1 -2 3 0 200
8 X2 0 1 1 2 0 100
M A2 0 0 0 -1 1 20
5 8 -2 31-M
Zj 1,800+200M
M
0 0 2 M-31
C j - Zj
0
Even though
all Cj - Zj are positive or 0(i.e the criterion for an optimal solution in a minimization case), no
feasible solution is possible because an artificial variable (A2) remains in the solution mix.
63
Operations Research
Example:
Maximization case
Cj 6 9 0 0
SV X1 X2 S1 S2 Q
RR
9 X2 -1 1 2 0 30 30/-1=-30
Unacceptable RRs
0 S2 -2 0 -1 1 10 10/-2=-5
-9 9 18
Zj 270
0
C j - Zj 15 0 -18
0
Pivot Column
The solution in the above case is not optimal because not all Cj - Zj entries are 0 or negative, as
required in a maximization problem. The next variable to enter the solution should be X1.To
determine which variable will leave the solution, we examine the ratios of the quantity column
numbers to their corresponding numbers in the X1 or pivot column. Since both pivot column
numbers are negative, an unbounded solution is indicated.
64
Operations Research
Cj 5 8 2 0 0 0
SV X1 X2 X3 S1 S2 S3 Q
RR
8 X2 1/4 1 1 -2 0 0 10
10/1/4=40
0 S2 4 0 1/3 -1 1 0 20
20/4=5 Tie for the smallest ratio
0 S3 2 0 2 2/5 0 1 10 indicates degeneracy.
10/2=5
2 8 8 16 0
Zj 80
0
C j - Zj 3 0 -6 -16 0
0
Degeneracy could lead to a situation known as cycling, in which the simplex algorithm
alternatives back and forth between the same non-optimal solutions, i.e, it puts a new variable in,
then takes it out in the next tableau, puts it back in ,and so on.
One simple way of dealing with the issue is to select either row (S2 or S3 in this case) arbitrary. If
we are unlucky and cycling does occur, we simply go back and select the other row.
Remark
When there is a tie between a slack and artificial variable to leave the basis, the preference shall
be given to artificial variable to leave the basis and there is no need to apply the procedure for
resolving such cases.
6. Multiple Optimal Solutions
Multiple optimal solutions exist when non-basic variable contains zero on its Cj - Zj row.
Example:
Maximization problem
Cj 3 2 0 0
SV X1 X2 S1 S2 Q
2 X2 3/2 1 1 0 6
0 S2 1 0 1/2 1 3
3 2 2
Zj 12
0
C j - Zj 0 0 -2
0
65
Operations Research
MaxZ=3X1+2X2
X1=0, X2=6, S2=3 and MaxZ=12 or: X1=3, X2=3/2 and MaxZ=12
The Cj - Zj value of the Non-basic variable (X1) is 0.Thus, there is alternative optimal solution.
Exercise:
1. Solve the following LPP by the simplex algorithm
Min Z=6x1 +8x2
Subject to:
x1+ 2x2 > 80
3x1+ x2 > 75
x1, x2 >0
What are the values of the basic variables at each iteration?
Which are the non-basic variables at each iteration?
Ans:X1=14, X2=33, and MinZ=221
2. At the 3rd iteration of a particular LP maximization problem, the following tableau is
established:
Cj
SV X1 X2 X3 S1 S2 S3 Q
5 X3 0 1 1 -2 0 0 5
6 X1 1 -3 0 0 0 1 12
0 S2 0 2 0 1 1 -1 10
6 -13 5 5 0
Zj 97
21
C j - Zj 0 16 0 -5 0
-21
What special condition exists as you improves the profit and move to the next iteration? Proceed
to solve the problem for optimal solution
Ans: Degeneracy; X1=27, X2=5, X3=0, and MaxZ=$177
66
Operations Research
3. Covert the following constraints and objective function into the standard form for use in the
simplex method
Min Z=4x1 +x2
Subject to:
3x1+ x2 = 3
4x1+ 3x2 > 6
x1+ 2x2 < 3
x1, x2 >0
Answer:
Min.Z=4x1 +x2 + 0 s1 +0 s2+ M A1+M A3
St:
3x1+ x2 + A1 =3
4x1+ 3x2 -s1 +A2 =6
x1+ 2x2 + s2 =3
All Variables >0
4. Solve the following LPP using simplex method
MaxZ=9x1 +7x2
Subject to:
2x1+ x2 < 40
x1+ 3x2 < 30
x1, x2 >0
Ans: X1=18, X2=4, and MaxZ=$190
5. Solve the following LPP to show that it has alterative optimal solutions.
a. MaxZ=6x1 +3x2 Ans: i. X1=4, X2=0, and MaxZ=24
Subject to: ii.X1=5/2, X2=3, and MaxZ=24
2x1+ x2 < 8
3 x1+ 3x2 < 18
x2 < 3
x1, x2 >0
67
Operations Research
b. MaxZ=3x1 +6x2
Subject to:
3x1+ 4x2 > 12
-2x1+ x2 < 4
x1, x2 >0
7. Solve the following LPP to show that it has no feasible solution.
a. MaxZ=-2x1 +3x2 Ans: X1=2, X2=0, A1=2 and MaxZ=4-2M
Subject to:
x1 - x2 > 4
x1+ x2 < 6
x1 <2
x1, x2 > 0
b. MaxZ=3x1 +3x2 Ans: X1=0, X2=2, A2=2 and MaxZ=4-4M
Subject to:
2x1+ x2 < 2
3x1 + 4x2 > 12
x1, x2 >0
68
Operations Research
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,
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
69
Operations Research
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.
? Often the manager is less concerned about profit than about the use of resource
in dual. Do you agree? Dear learner, would you discuss with your class mates.
___________________________________________________________________
___________________________________________________________________
__________________________________________________________________
There are two important forms of primal and dual problems, namely the symmetrical (or
canonical) and the standard form.
Symmetrical form
Suppose the primal LP problem is given in the form
Maximize Zx = c1x1+ c2x2 + ... +cnxn
Subject to
a11x1+a12x2+... + a1nxn b1
a21x1+a22x2+... + a2nxn b2
am1x1+am2x2+... + amnxn bm
x1,x2... xn 0
and then the corresponding dual LP problem is defined as:
Minimize Zy = b1y1+ b2y2 + ... +bmym
Subject to
a11y1+a21y2+... + am1ym c1
a12y1+a22y2+... + am2ym c2
a1ny1+an2y2+... + amnym cn
y1,y2... ym 0
70
Operations Research
The above pair of LP problems can be expressed in the general LP model form as
Primal Dual
n m
Max Zx = cjxj
j 1
Min Zy = biyi
i 1
n m
aijxj bi ; i = 1, 2,.., m
j 1
ajiyi cj ; i= 1,2, ..., n
i 1
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.
1. If the primal’ objective is to minimize, the dual’s will be to maximize; and the vice
versa
2. The coefficient’s of the primal’s objective function become the RHS values for the
dual’s constraints.
3. The primal’s RHS values become the coefficients of the dual’s objective function.
4. The coefficients of the first “row” of the primal’s constraints become the coefficients
of the first “column” of the dual’s constraint …..
5. The ≤ constraints become ≥ and the vice versa.
Consider this Primal problem:
Minimize 40x1 + 44x2 + 48x3
Subject to: 1x1 + 2x2 + 3x3 > 20
4x1 + 4x2 + 4x3 > 30
x1 , x 2 , x3 > 0
71
Operations Research
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.
72
Operations Research
When the primal problem is a maximization problem with all < constraints, the dual is a
minimization problem with all > constraints.
3.1.2. Formulating the Dual when the Primal has Mixed Constraints
In order to transform a primal problem into its dual, it is easier if all constraints in a
maximization problem are of the < variety, and in a minimization problem, every constraint is of
the > variety.
To change the direction of a constraint, multiply both sides of the constraints by -1. For
example,
-1(2x1 + 3x2 > 18) is -2x1-3x2 < -18
If a constraint is an 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
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.
EXAMPLE:
Formulate the dual of this LP model.
Maximize z = 50x 1 + 80x 2
Subject to:
C1 3x 1 + 5x 2 ≤ 45
C2 4x 1 + 2x 2 ≥16
C3 6x 1 +6x 2 = 30
x 1 ,x 2 ≥ 0
73
Operations Research
SOLUTION
Since the problem is a max problem, put all the constraints in to the ≤ form. Subsequently, C 2
and C3 will be first adjusted in to ≤ constraints.
- C 2 will be multiplied by -1:
Subject to:
C1 3x 1 + 5x 2 ≤ 45
C2 -4x 1 - 2x 2 ≤ -16
C3 6x 1 +6x 2 ≤ 30
x1 , x 2 ≥ 0
? Dear learner, would you guess the reason why the RHS quantity consists of
negative values and do you think that it contradicts with rules of LP?
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
74
Operations Research
C 100 22 39 0 0 M M Quantity
Basis y1 y2 y3 s1 s2 a1 a2
Primal
y3 39 16/3 0 1 1/3 -2/3 -1/3 2/3 40/3
shadow
y2 22 -6 1 0 -1 1 1 -1 10
prices
Z 76 22 39 -9 -4 9 4 740
C-Z 24 0 0 9 4 9-M 4-M
75
Operations Research
C 60 50 0 0 0 Quantity
Basis x1 x2 s1 s2 s3
s1 0 0 0 1 6 -16/3 24
x1 60 1 0 0 1 -1/3 9
x2 50 0 1 0 -1 2/3 4
Z 60 50 0 10 40/3 740
C-Z 0 0 0 -10 -40/3
76
Operations Research
The manager of the firm would reason in the following way. For each unit of Model I that the
firm sacrifices to produce computers for the department store, it will gain 4 hours of assembly
time, 2 hours of inspection time, and 3 cubic feet of storage space, which can be applied to the
store computers. However, it will also give up a unit profit of $60. Therefore, in order for the
firm to realistically consider the store’s offer, the amounts of scarce resources that will be given
up must produce a return to the firm that is at least equal to the foregone profit. Hence, the value
of 4 assembly hours + 2 inspection hours + 3 cubic feet of storage space > $60. By similar
reasoning, giving up one unit of Model II will require that the value received by giving up 10
assembly hours + 1 inspection hour + 3 cubic feet of storage must equal or exceed the Model II
profit of $50 per unit. These, then, become the constraints of the dual problem. Thus:
77
Operations Research
Naturally, the department store would want to minimize the use of the scarce resources, because
the computer firm almost certainly would base its charges on the amount of resources required.
Consequently, the objective function for the dual problem focuses on minimizing the use of the
scarce resources. Thus:
Finally, the optimal dual solution always yields the same value of the objective function as the
primal optimal. In this case, it is 740. The interpretation is that the imputed value of the
resources that are required for the optimal solution equals the amount of profit that the optimal
solution would produce.
The concepts introduced in the preceding section also can be applied to evaluating the feasibility
of adding another decision variable to the problem. For example, suppose the microcomputer
firm is considering a third model of microcomputer that will yield a profit of Birr 70 per unit,
and this will need resource requirements of 8 hours of assembly time, 4 hours of inspection time,
and 5 cubic feet of storage space per unit. The dual constraint for this model would be:
8y1 + 4y2 + 5y3 > 70
In order to determine if this new variable would come into the optimal (primal) solution, we can
substitute the dual solution of y1 = 0, y2 = 10, and y3 = 40/3 (i.e., the shadow prices, or marginal
values of the resources) into this constraint to see if it would be satisfied. Thus, we find, 8(0) +
4(10) + 5(40/3) = 106.67. Because this amount is greater than the new dual constraint, the
original solution remains optimal. Hence, the new variable (x3) would not come into solution.
78
Operations Research
Conversely, if the dual constraint has not been satisfied, the new variable would have come into
solution. In this instance, the marginal value of scarce resources that would be required for the
new model exceeds the marginal contribution to profit that the new model would provide. That
is, Birr106.67 > Birr70.
Note: The value of this approach is that it is not necessary to rework the entire problem in order
to test the potential impact that adding a new decision variable would have on the optimal
solution.
Managerial Significance of Duality
The importance of the dual LP problem in terms of the information which it provides about the
value of the resources. The economic analysis is concerned with deciding whether or not to
secure more resource and how much to pay for these additional resources. The significance of
the study dual is as follows;
The dual variables provide the decision maker a basis for deciding how much to pay for
additional unit of resources.
The maximum amount that should be paid for one additional unit of a resource is called
its shadow price (also called simplex multiplier).
The total marginal value of the resources equals the optimal objective function value. The
dual variables equal the marginal value of resources (shadow prices).
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.
Advantages of Duality
It is advantageous to solve the dual of a primal having less number of constraints,
because the number of constraints usually equals the number of iterations required to
solve the problem.
It avoids the necessity of adding surplus or artificial variables and solves the problem
quickly.
The dual variables provide an important economic interpretation of the final solution of
an LP problem.
It is quite useful when investigating change in the parameters of an LP problem ( called
Sensitivity analysis)
79
Operations Research
Activity
Convert the following in to dual and solve it using simplex approach
1. Min Z= 4x1 +x2
Subject to:
3 x1+ x2 = 3
4x1+ 3x2 > 6
x1+ 2x2 < 3
x1,x2 > 0
2. Min Z=2x1 +8x2
Subject to:
5x1+ x2 > 10
2x1+ 2x2 > 14
x1+ 4x2 > 14
x1, x2 > 0
3.2. Sensitivity Analysis
? Dear learner, discuss with your group members about why sensitivity analysis is
conducted?
_________________________________________________________________________
_________________________________________________________________________
___________________________________________________________________
80
Operations Research
For instance, a manager may want to consider obtaining an additional amount of scarce resource
that might be available, in which case the manager would want to know the answers to questions
such as:
b. Will an increase in the right hand side of this constraint affect the objective function?
c. If so, how much of the resource can be used?
d. Given the answer to the preceding question, what will be the revised optimal solution?
Conversely, the decision maker might be facing a situation in which the amount of scarce
resource available is less than the original amount, in which case the issues would be:
a. Will the decreased level of the resource have an impact on the value of the objective
function?
b. If yes, how much of an impact will it have, and what will be the revised optimal solution?
The process of studying the sensitivity of the optimal solution of an LP problem is also called
post optimality analysis because it is done after an optimal solution, assuming a given set of
parameters, has been obtained for the model.
The discussion here covers only two types of changes: changes in the right hand side levels of
the constraints, and changes in the coefficients of the objective function as change in the
coefficient of constraints is beyond the coverage of this material.
To demonstrate sensitivity analysis, the microcomputer example will again be used.
Maximize 60x1 + 50x2
Subject to
Assembly time 4x1 + 10x2 ≤ 100
Inspection time 2x1 + 1x2 ≤ 22
Storage space 3x1 + 3x2 ≤ 39
X1, X2 > = 0
The most obvious way to ascertain the effect of a change in the parameter of the model is to
make the change in the original model, resolve the model, and compare the solution result with
the original solution. However, resolving a problem can be very time consuming and as it will
81
Operations Research
be demonstrated below, it is unnecessary. In most cases the effect of changes in the model can be
determined directly from the final simplex tableau.
A Change in the RHS of a constraint
The first step in determining how a change in the RHS (Right Hand Side) of a constraint (e.g.,
the amount of scarce resource that is available for use) would influence the optimal solution is to
examine the shadow prices in the final simplex tableau. Shadow prices are the values in the Z
row in the slack columns.
The final tableau for the microcomputer is shown in the following table since sensitivity analysis
starts from final tableau.
60 50 0 0 0 Quantity
Cj x1 x2 s1 s2 s3
Basis
s1 0 0 0 1 6 -16/3 24
x1 60 1 0 0 1 -1/3 9
x2 50 0 1 0 -1 2/3 4
Z 60 50 0 10 40/3 740
C-Z 0 0 0 -10 -40/3
Negatives of
shadow prices
A shadow price is a marginal value; it indicates the impact that a one-unit change in the amount
of a constraint would have on the values of the objective function. As we can see from the table,
the shadow prices are $0 for s1 (Assembly time), $10 for s2 (Inspection time), and $40/3 for s3
(Storage space). These tell us that an increase in the amount of assembly time would have no
effect on profit; if inspection time is increased by one hour, it will increase the profit by $10, and
if storage space is increased by 1 cubic foot, profit would increase by $40/3. The reverse also
holds. If we decrease them by such respective amounts, the decrease in profit will take the same
figure.
82
Operations Research
What shadow prices do not tell us is the extents to which the level of a scarce resource can be
changed and still have the same impact per unit. The ability to use additional amounts of a
resource will disappear at some point because of the fixed amounts of the other constraints.
Therefore, we need to determine the range over which we can change the right hand side
quantities and still have the same shadow price. This is called the range of feasibility, or the right
hand side range.
The key to computing the range of feasibility for the constraint lies in each slack column of the
final simplex tableau. To compute the range for each constraint, the entries in the associated
slack column must be divided into the values in the Quantity column. For example, for the
storage column values, the resulting ratios are:
24 9 4
-16/3 = -4.5 -⅓ = -27 ⅔ = +6
Here, the smallest positive ratio indicates how much the constraint level can be decreased before
it reaches the lower limit of its range of feasibility, and the smallest negative ratio (i.e. the
negative ratio closest to 0) indicates how much the storage constraint can be increased
before it reaches its upper limit of feasibility. The general rule applies when computing the upper
and lower limits on the range of feasibility for maximization problem is:
83
Operations Research
If we consider the same example as in the previous example, i.e., change in q 3 = 39. If q3 changes
by some amount, the new q’3 equals the original q3 + . The changes form a separate column
identical to the s1 column in the final simplex tableau. Therefore, to determine the change, we
need only observe the slack (si) column corresponding to the model constraint quantity
(qi) being changed.
Final simplex tableau
60 50 0 0 0 Quantity
Cj x1 x2 s1 s2 s3
Basis
s1 0 0 0 1 6 -16/3 24-16/3
x1 60 1 0 0 1 -1/3 9-1/3
x2 50 0 1 0 -1 2/3 4 + 2/3
Z 60 50 0 10 40/3 740
C-Z 0 0 0 -10 -40/3
Recall that the requirement of simplex method is that the quantity values can not be negative. If
any q1 value becomes negative, the solution no longer be feasible. Thus the inequalities
24-16 /3 > 0
9- /3> 0
4 + 2 /3 > 0
are solved for :
24-16 /3 > 0 9- /3> 0 4 + 2 /3 > 0
72-16 > 0 27- >0 12+2 >0
3 3 3
72-16 > 0 27- > 0 12+2 > 0
84
Operations Research
? Dear learner, can you determine the range within which q &q 1 2 vary with out causing
the basic solution mix change?
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
Once we have computed these limits, we proceed to assess the impact that a contemplated
change would have on the optimal solution.
Example
The manager in the microcomputer problem is contemplating a change in the level of the storage
constraint – an increase of 3 cubic feet. Determine the revised optimal solution for the change.
Solution
First, note that an increase of 3 cubic feet is within the range. Then, the effect of an increase of
three cubic feet is computed in the following way:
Basis s3 Current solution Change Revised solution
85
Operations Research
Note, however, that beyond the upper limit, s3 would come into solution, replacing S1, which
would no longer be slack. The amount of slack would be 8- 4.5=3.5 cubic feet. Consequently, the
revised solution would be s3= 3.5, x1=7.5, x2=7, and Profit = 800.
Subject to:
C1 x 1 + 2x 2 + 2x 3 ≤ 18
C2 3x 1 + 2x 2 + 6x 3 ≤ 12
C3 2x 1 + 3x 2 + 4x 3 ≤ 12
x 1 ,x 2 x 3 , ≥ 0
C 3 2 5 0 0 0
Basis x1 x2 x3 s1 s2 s3 Quantity
86
Operations Research
In the above tableau we see that x 3 is a non- basic variable. To determine the range over which
the objective function coefficient of x 3 would change without changing the optimal solution,
recall how a variable in a max problem enters the solution mix. Because x 3 is not in solution, its
objective function coefficient would need to increase in order for it to come in to solution (i.e., to
make its c-z value positive). The amount of increase must be greater than the absolute
value of its c-z value, which is │-1│. Therefore, its objective function coefficient must increase
by more than 1. Hence, the range of insignificance for x 3 is 6 or less (i.e, its Z value). In general
the rule is: Range of insignificance for a non- basic variable is the Z value of the variable. The
allowable increase is the absolute value of its own C- Z value.
Range of Optimality: the range over which objective function coefficient of a variable that is in
solution can change without changing the optimal values of the decision variables. Note,
however, that such a change would change the optimal value of the objective function.
For variables that are in solution, the determination of the range of optimality (the range over
which the objective function coefficient of a variable that is in the solution can change without
changing the optimal values of the decision variables) requires a different approach. Divide the
values in row C-Z by the corresponding row values of the variable in question and follow the
following rule for both maximization and minimization problems.
Allowable increase: The smallest positive ratio of C-Z value and the
variable’s substitution rate.
Allowable decrease: the smallest negative ratio of C-Z value and the
variable’s substitution rate.
Note: If there is no positive ratio, it means that there is no upper limit on that variable’s
objective function coefficient.
Example
Determine the range of optimality for the decision variables in the microcomputer problem.
Solution
87
Operations Research
The final simplex tableau for that problem is repeated here for convenience.
Cj 60 50 0 0 0
Basis x1 x2 s1 s2 s3 Quantity
s1 0 0 0 1 6 -16/3 24
x1 60 1 0 0 1 -1/3 9
x2 50 0 1 0 -1 2/3 4
Z 60 50 0 10 40/3 740
C-Z 0 0 0 -10 -40/3
For x1 we find:
Column x1 x2 s1 s2 s3
C-Z value 0/1 = 0 0/0 = Undefined 0/0 = Undefined -10/1 = -10 -40/3 = +40
x1 row value -1/3
The smallest positive ration is +40. Therefore, the coefficient of X1 can be increased by Birr 40
without changing the optimal solution. The upper end of its range of optimality is this amount
added to its current (original) value. Thus, its upper end is (Birr60 +Birr40) = Birr100. Also, the
smallest negative ratio is -10; therefore, the x1 coefficient can be decreased by as much as Birr10
from its current value, making the lower end of the range equal to (Birr60 - Birr10 )= Birr 50.
For x2 we find:
Column x1 x2 s1 s2 s3
C-Z value 0/0 = Undefined 0/1= 0 0/0 = Undefined -10/-1 = +10 -40/3 = -20
x2 row value ⅔
The smallest positive ration is +10. This tells us that the x2 coefficient in the objective function
could be increased by Birr10 to (Birr50 + Birr10) = Birr 60. The smallest negative ratio is -20,
which tells us that the x2 coefficient could be decreased by Birr20 to (Birr50 - Birr20) = Birr30.
Hence, the range of optimality for the objective function coefficient of x 2 is Birr30 to Birr 60.
88
Operations Research
This can also be done in the same way as change in the constraints by using the concept of
change starting from the final tableau. That is, the range of cj that will maintain the optimal
solution can be determined directly from the optimal simplex tableau.
Cj 60+ 50 0 0 0
Basis x1 x2 s1 s2 s3 Quantity
s1 0 0 0 1 6 -16/3 24
x1 60+ 1 0 0 1 -1/3 9
x2 50 0 1 0 -1 2/3 4
Z 60+ 50 0 +10 (40- )/3 740
C-Z 0 0 0 -10- (-40+ )/3
Consider a change for c1. This will change the c1 value from c1=60 to c1=60+ . This new value
is not only included on the top cj row, but also in the left-hand cj column. Since 60+ is in left-
hand column, it becomes a multiple of the column values when the new Zj row values and the
subsequent Cj – Zj row values.
The solution becomes optimal as long as the Cj –Zj row values remain negative. If Cj-Zj
becomes positive, the product mix will change, if it becomes zero, there will be an alternative
solution. Thus, for the solution to remain uniquely optimal,
-10- < 0
and
(-40+ )/3 <0
Both of these inequalities must be solved for .
-10- < 0 and (-40+ )/3 <0
- < 10 (-40+ )<0
> -10 < 40
Now recall that c1=60+ ; therefore, = c1-60. Now substituting c1-60 for in the above
inequalities, we get:
> -10 < 40
C1-60 > -10 c1-60 < 40
C1> 50 C1<100
89
Operations Research
Therefore, the range of values for C1 over which the solution basis remain optimal (although) the
value of the objective function may change) is:
50<C1<100
? Dear learner, would you try to determine the range over which coefficient of Xin 2
the objective function change without changing the solution mix in the same way as
above?
______________________________________________________________________
______________________________________________________________________
2.12 SUMMAR
1. The standard form of LP problem should have the following characteristics:
I. All the constraints should be expressed as equations by slack or surplus and/or
artificial variables
II. The right hand side of each constraint should be made non-negative; if it is not,
this should be done by multiplying both sides of the resulting constraint by -1.
Example:
2X1+3X2-4X3+X3<-50, we multiply both sides by negative
III. Three types of additional variables, namely
a. Slack Variable(S)
b. Surplus variable (-S), and
c. Artificial variables (A)
Are added in the given LP problem to convert it into standard form for two reasons:
ii. to convert an inequality to have a standard form of an LP model, and
iii. to get an initial feasible solution represented by the columns of an identity matrix.
The summery of the extra variables needed to add in the given LP problem to convert it into
standard form is given below:
90
Operations Research
91
Operations Research
CHAPTER THREE
TRANSPORTATION AND ASSIGNMETN PROBLEMS
3.1 Objective
3.2 Introduction
3.3 Transportation Models
3.4 Introduction
3.4.1 Formulation of the model
3.4.2 Method of Finding initial feasible Solution
3.4.3 Test for Optimality
3.4.4 Developing an Improved Solution
3.4.5 Variation in Transportation Problem
3.4.6 Maximization in Transportation Problems
3.5 Assignment Problem
3.6 Solution Method for Assignment
3.7 Special Case in Assignment Problem
3.8 Summary
3.9 Review Questions
3.1 Objectives
Dear learners, in the previous chapters we have discussed about linear programming, which is
more general. In this chapter we will discuss about special types of linear programming models
called Transportation and Assignment Models
3.2. Transportation Models
Sub section objectives
Up on completion of this section, the learner will be able to:
Explain transportation models
Identify application areas of transportation models
Formulate LP model for transportation problems
Describe methods of finding initial feasible solution
Check for optimality of transportation model using stepping stone and MODI techniques.
Elucidate special cases in transportation models
92
Operations Research
3.3 Introduction
Dear learner, in the previous chapter we have been thoroughly discussed about LP models and
their applications. In this chapter we will try to see special types of LP models which are
Transportation and Assignment Models. Though it is possible to solve the two problems using
simplex method, the process would result in rather large simplex tableaus and numerous simplex
iterations. Because of the unique characteristics of each problem, however, alternative solutions
methods requiring considerably less mathematical computation than the simplex method have
been developed.
93
Operations Research
Assumptions
The transportation algorithm requires the assumption that:
All goods be homogeneous, so that any origin is capable of supplying any destination,
and
Transportation costs are a direct linear function of the quantity shipped over any route.
Though it will be modified later in our discussion, we shall add one additional
requirement that the total quantity available is equal to the total demand.
Example
Let’s consider an example. Harley’s Sand and Gravel Pit has contracted to provide topsoil for
three residential housing developments. Topsoil can be supplied from three different “farms” as
follows:
Farm Weekly capacity (cubic yards)
A 100
B 200
C 200
Demand for the topsoil generated by the construction projects is:
Project Weekly demand(cubic yards)
1 50
2 150
3 300
The manager of the sand and gravel pit has estimated the cost per cubic yard to ship over each of
the possible routes:
Cost per cubic yard to
From Project #1 Project #2 Project #3
Farm A Birr4 Birr 2 Birr 8
Farm B 5 1 9
Farm C 7 6 3
This constitutes the information needed to solve the problem.
94
Operations Research
The next step is to arrange the information into a transportation table. This is shown in the
following table.
Transportation table for Harley’s sand and gravel
To:
From: Project Project Project Supply
4 2 8
From: #1 #2 #3
Farm A 100
5 1 9
Farm B 200
7 6 3
Farm C 200
x11 + x21 + x3 1 50
x12 + x22 +x32 150 Demand/Destination constraint
x13 + x23 + x33 300
This can be rewritten as:
Zmin: 4x11 + 2x12 +8x13 + 5x21 + x22 + 9x23 + 7x31 + 6x32 + 3x33
Subject to:
x11 + x12 + x13 100
x21 + x22 + x23 200
x31 + x32 + x33 200
x11 + x21 + x31 50
x12 + x22 + x32 150
x13 + x23 + x33 300
x11 , x12, x13 ,x21, x22 , x23 , x31, x32 , x33 0
95
Operations Research
The starting point of the transportation method is a feasible solution. For an assignment to be
feasible, two conditions must be fulfilled:
A feasible solution is one in which assignments are made in such a way that all
supply and demand requirements are satisfied.
The number of nonzero (occupied) cells should equal one less than the sum of the
number of rows and the number of columns in a transportation table. In the case of
a table with 3 rows and 3 columns, the number of occupied cells should be 3 + 3 -1
= 5 in order to be able to use the transportation algorithm. Sometimes, fewer
occupied or completed cells appear in a solution. When that happens, the solution
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 Harley problem, this
would be the cell that represents the route from Farm A to Project #1. The following set of
principles guides the allocation:
96
Operations Research
i. Begin with the upper left-hand cell, and allocate as many units as possible to that
cell. This will be the smaller of the row supply and the column demand. Adjust
the row and column quantities to reflect the allocation.
ii. Remain in a row or column until its supply or demand is completely exhausted or
satisfied, allocating the maximum number of units to each cell in turn, until all
supply has been allocated (and all demand has been satisfied because we assume
total supply and demand are equal).
97
Operations Research
5 1 9
Farm B 150 50 200
7 6 3
Farm C 200 200
98
Operations Research
We can easily verify that this is a feasible solution by checking to see that the row and column
totals of the assigned cell quantities equal the supply and demand totals for the rows and
columns. Now let us compute the total cost of this solution and compare it to that of the
northwest corner solution.
Total cost = 50(4) + 50(8) + 150(1) + 50(9) + 200(3) = $1800
Compared to the plan generated using the Northwest-corner method, this one has a total cost that
is $100 less. This is due to the fact that the previous one did not involve the use of cost
information in allocating units.
This method is preferred over the other two methods because the initial feasible solution
obtained with VAM is either optimal or very close to the optimal. With VAM the basis of
allocation is unit cost penalty i.e. that column or row which has the highest unit cost penalty
(difference between the lowest and the next highest cost) is selected first for allocation and the
subsequent allocations in cells are also done keeping in view the highest unit cost penalty.
Steps in VAM
1. Construct the cost, requirement, and availability matrix i.e. cost matrix with column and row
information.
2. Compute a penalty for each row and column in the transportation table. The penalty is merely
the difference between the smallest cost and the next smallest cost element in that
particular row or column.
3. Identify the row and column with the largest penalty. In this identified row (column), choose
the cell which has the smallest cost and allocate the maximum possible quantity to this cell.
Delete the row (column) in which capacity (demand) is exhausted. When there is a tie for
99
Operations Research
penalty, select one arbitrarily. After allocation, cross that row or column and disregard it
from further consideration.
4. Repeat steps 1 to 3 for the reduced table until the entire capabilities are used to fill the
requirement at different warehouses.
5. From step 4 we will get initial feasible solution. Now for initial feasible solution find the
total cost.
To: Penalty
From: Project Project Project Supply Hc NHC Hc- NHC
4 2 8
#1 #2 #3
Farm A 100
5 1 9 8 4 4
150
Farm B 200
1
7 6 3
Farm C 200 9 5 4 selected
100
Operations Research
Table2 Penalty
Table 3
Third To:
allocation Penalty
From: Project Project Project Supply
4 2 8
#1 50 #2 #3
4 Farm A 3 100 50 selected
5 1 9
150
Farm B 200 50
7 6 3
4
200
Farm C 200
Penalty 1 - 1
101
Operations Research
Table 4
Since there is no penalty for the remaining cells, we allocate for these cells according to their
cost.
To:
From: Project Project Project #3 Supply
4 2 4 8
#1 50 #2 50
Farm A 100
5 1 50 9 50
5
150
Farm B 200 Fourth allocation
7 6 3
50
200
Farm C 200
Fifth allocation
Therefore the final allocation will be:
To:
From: Project Project Project #3 Supply
4 2 8
#1 50 #2 50
Farm A 100
4
5 1 50 9
150
Farm B 200
7 6 3
200
Farm C 200
5
Demand 50 150 300
102
Operations Research
Total cost:
1x150 + 3x200+4x50 + 8x50 + 9x50
= Birr 1800
? Dear learners, could you make comparison among costs of the three
approaches? Why do you think cost of North West corner method has the
highest cost?
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
103
Operations Research
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.
Rules for tracing Stepping-stone paths:
i. All unoccupied cells must be evaluated. Evaluate cells one at a time.
ii. Except for the cell being evaluated, only add or subtract in occupied cells. (It is
permissible to skip over unoccupied cells to find an occupied cell from which the path
can continue.)
iii. A path will consist of only horizontal and vertical moves, starting and ending with the
empty cell that is being evaluated.
iv. Alter + and – signs, beginning with a + sign in the cell being evaluated.
Note that it is not necessary to actually alter the quantities in the various cells to reflect the
one-unit change, the + and – signs suffice.
The general implication of the plus and minus signs is that cells with + signs mean one unit
would be added, cells with a – sign indicate one unit would be subtracted. The net impact of such
a one-unit shift can be determined by adding the cell costs with signs attached and noting the
resulting value. Thus, for cell B-1, we have a net change of +2 (i.e., 5+2-4-1) which means that
for each unit shifted into cell B-1, the total cost would increase by $2.
Computed in similar way, the evaluations of cells C-1, A-3, and C-2 result in +10, -2, and +11
respectively. The negative value for cell A-3 indicates an improved solution is possible: For each
unit we can shift into that cell, the total cost will decrease by $2. The following table shows how
empty cell C-1 can be evaluated using the Stepping stone method.
104
Operations Research
There is one index number for each column and one for each row. These can be conveniently
displayed along the left and upper edges of a matrix. The index numbers are determined in such a
way that for any occupied cell, the sum of the row index and the column index equal the cell’s
unit transportation cost:
105
Operations Research
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.
The method will be illustrated by developing index numbers for the initial feasible solution for
the Harley problem generated by the northwest-corner method. We begin assigning a value of
zero for row 1. Once a 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. The complete set of row and column index numbers is shown in the following table.
Cell evaluations for Northwest Corner solution for the Harley Problem using the MODI method
k1 k2 k3
+4 +2 +10
To:
Project Project Project Supply
From: #1 #2 #3
4 2 8
r1 0 Farm A 50 50 100
-2
5 1 9
r2 -1 Farm B +2 100 100 200
7 6 3
+10 +11
r3 -7 Farm C 200 200
The cell evaluations (improvement potentials) for each of the unoccupied cells are determined
using the relationship:
106
Operations Research
For example, the cell evaluations for A-3 is 8 – 0 – 10 = -2. Similarly, the evaluation for B-1 is
+2, for C-1, +10, and for C-2, it is +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
evaluation of –2, which represented an improvement potential of $2 per unit. Hence, an
improved solution is possible.
After reallocating the units using the stepping stone method, the empty cells will be A-2, B-1, C-
1 and C-2. Suppose we use the MODI method for evaluation. After assigning all the row and
column indices, we find the cell evaluations to be as follows:
Cell A-2: 2 – 0 – 0 = +2
Cell B-1: 5–1–4= 0
Cell C-1: 7-(-5)- 4 = +8
Cell C-2: 6-(-5)- 0 = +11
107
Operations Research
Because none of these numbers is negative, this is an optimal solution. You may recall that this
was the same solution obtained using the intuitive method for the initial feasible solution. At that
point, it was determined that the total cost for the distribution plan was $1800.
+4 0 +8
To:
Project Project Project Supply
From: #1 #2 #3
4 2 8
+2
0 Farm A 50 50 100
0
5 1 9
+1 Farm B +8 150
+11 50 200
7 6 3
-5 Farm C 200 200
? Dear learner, which of the two approaches for improvement is lengthy and
difficulty to use?
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
108
Operations Research
7 6 3
Farm C 200 200
109
Operations Research
Degeneracy
A solution is degenerate if the number of occupied cells is less than the number of rows plus the
number of columns minus one. i.e., 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.
Obviously, some modification has to be made to determine if such a degenerate solution is
optimal. The modification is to treat some of the empty cells as occupied cells. This is
accomplished by placing a delta () in one of the empty cells. The delta represents an extremely
small quantity (e.g., 0.001 units); it is so small that supply and demand for the row and column
involved will be unaffected even without modifying other quantities in the row or column, and so
small that total cost will not change.
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 Harley problem.
Suppose that after some experimentation, cell A-1 has been selected for the location of delta. The
resulting index numbers generated using MODI and the improvement potential for empty cells
based on delta in cell A-1 are shown in the following table. This confirms that the solution is
optimal Harley Alternate Solution Modified for Degeneracy.
110
Operations Research
+4 0 +8
To:
Project Project Project Supply
From: #1 #2 #3
4 2 8
+2
0 Farm A Δ 100 100
5 1 9
0
+1 Farm B 50 150 200
7 6 3
-5 Farm C +8 +11 200 200
Unacceptable Routes
In some cases, an origin-destination combination may be unacceptable. This may be due to
weather factors, equipment breakdowns, labor problems, or skill requirements that either
prohibit, or make undesirable, certain combinations (routes).
Suppose that in the Harley problem route A-3 was suddenly unavailable because of recent
flooding. In order to prevent that route from appearing in the final solution (as it originally did),
the manager could assign a unit cost to that cell that was large enough to make that route
uneconomical and, hence, prohibit its occurrence. One rule of thumb would be to assign a cost
that is 10 times the largest cost in the table (or a very big +M). Then, this revised problem could
be solved using either of the methods we have discussed earlier. Note that the prohibited route
may appear in a non-optimal solution, but it will be eliminated by the time the optimal solution is
reached.
111
Operations Research
Dear learner, would you find the optimal solution if route A-3 is not available? How do you
compare the cost with the original cost?
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’s consider an example. Suppose that Farm C in the Harley 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 final solution is shown in the following table.
We interpret the solution indicating that Project #3 will be short by 80 units per week until the
equipment is repaired. Note, though, that this analysis has considered only transportation costs,
and that other factors, such are shortage costs or schedules of the projects, may dictate some
other course of action.
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
nonzero cost, then the next lowest nonzero cost, and so on. For the Harley problem this would
mean that units would be assigned first to cell B-2 because its cost of $1 is the lowest nonzero
cell cost.
112
Operations Research
To:
Project Project Project Supply
From: #1 #2 #3
4 2 8
Farm A 50 50 100
5 1 9
Farm B 150 50 200
7 6 3
Farm C 120 120
0 0 0
Dummy 80 80
? Dear learner, would you complete the above case by evaluating the
assignments? What would assignments in the dummy row or column in the
optimal solution indicate?
_________________________________________________________________
_________________________________________________________________
_________________________________________________________________
______________________________
Some transportation type problems concern profits or revenues rather than costs. In such cases,
the objective is to maximize rather than to minimize. Such problems can be handled by adding
one additional step at the start: Identify the cell with the largest profit and subtract all the other
113
Operations Research
cell profits from that value. Then replace the cell profits with the resulting values. These values
reflect the opportunity costs that would be incurred by using routes with unit profits that are less
than the largest unit profit. Replace the original unit profits with these opportunity cost solution.
This will be identical to maximizing the total profit. For example, suppose in the Harley
problem, the cell values had been unit profits instead of unit costs. Cell B-3 had the largest dollar
value: $9. Hence, each cell’s dollar amount would be subtracted from 9. For cell A-1, the
resulting opportunity cost would have been 9-4 = 5 and so on. Cell B-3 would have an
opportunity cost of 0 making it the most desirable route.
The remainder of the steps for developing an initial feasible solution, evaluation of empty cells,
and reallocation are identical to those used for cost minimization. When the optimal distribution
plan has been identified, use the original cell values (i.e., profits) to compute the total profit for
that plan.
? Dear learner, would you complete the above case by evaluating the assignments?
Which one would you consider the original price or opportunity cost of each cell to
calculate the total profit in the optimal solution?
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
ACTIVITY
1. A transportation problem involves the following costs, supply, and demand.
To
From 1 2 3 4 Supply
1 $5 750 300 450 12
2 65 800 400 600 17
00
040
3 700 500 550 11
0
Demand 10 10 10 10
b. Find the initial solution using the northwest corner method, the minimum cell cost
method, and Vogel's Approximation Method. Compute total cost for each.
c. Using the VAM initial solution, find the optimal solution using the modified
distribution method (MODI).
114
Operations Research
4 Oranges are grown, picked, and then stored in warehouses in Tampa, Miami, and Fresno.
These warehouses supply oranges to markets in New York, Philadelphia, Chicago, and
Boston. The following table shows the shipping costs per truckload ($100s), supply, and
demand.
To
From New York Philadelphia Chicago Boston Supply
Tampa 9 14 12 17 200
Miami 11 10 6 10 200
Fresno 12 8 15 7 200
Demand 130 170 100 150
Because of an agreement between distributors, shipments are prohibited from Miami to
Chicago.
a.Set up the transportation tableau for this problem and determine the initial solution
using the minimum cell cost method.
b.Solve using MODI.
c.Are there multiple optimum solutions? Explain. If so, identify them.
d. Formulate this problem as a linear programming model.
115
Operations Research
To
From 1 2 3 4
A $14 9 16 18
B 11 8 7 16
C 16 12 10 22
116
Operations Research
Section objectives:
Up on completion of this section, the learner will be able to:
Define assignment model
Formulate LP model for assignment problems
Identify areas of application
Find optimal allocation or solution to the model
Deal with special cases of the model
? Dear learner, can you make any difference between assignment and transportation
problems?
___________________________________________________________________________
___________________________________________________________________________
__________________________________________________________________
There are many situations where the assignment of people or machines and so on, may be called
for. Assignment of workers to machines, clerks to various counters, salesmen to different sales
areas, service crews to different districts, are typical examples of these. The assignment is a
problem because people posses varying abilities for performing different jobs and, therefore, the
costs of performing the jobs by different people are different. Obviously, if all persons could do a
job in the same time or at the same cost then it would not matter who of them is assigned the job.
Thus, in assignment problem, the question is how should the assignment be made in order that
the total cost involved is minimized (or the total value is maximized when pay-offs are given in
terms of, say, profits).
A typical assignment problem follows:
Example
A production supervisor is considering how he should assign the four jobs that are
performed, to four of the workers working under him. He want to assign the jobs to the
workers such that the aggregate time to perform the job in the least. Based on the previous
117
Operations Research
experience, he has the information on the time taken by the four workers in performing
these jobs, as given in below
Job
Worker A B C D
1 45 40 51 67
2 57 42 63 55
3 49 52 48 64
4 41 45 60 55
Example
A computer centre has got four Expert Programmers. Centre needs four application
programmers to be developed. The head of dept., estimate the computer required by the
respective experts to develop the application programs as follows. Make appropriate
selection of experts.
Program A B C D
Expert
1 120 100 80 90
2 80 90 110 70
3 110 140 120 100
4 90 90 80 90
1. The Assignment Problem (A.P) is a special case of Transportation Problem (T.P) under
the condition that the number of origins is equal to the number of destinations,
i.e. m=n
Hence assignment is made on the basis of 1:1
Number of jobs equal to number of machines or persons.
Each man or machine is loaded with one and only one job.
118
Operations Research
Each man or machine is independently capable of handling any of the jobs being
presented.
Loading criteria must be clearly specified such as “ minimizing operating time or “
maximizing profit”, or “ minimizing production cost” or minimizing production cycle
time e.t.c
A.P
The Assignment Problem (A.P.) is a special case of Transportation Problem (T.P.) in
which the number of sources and destinations are the same, and the objective is to assign
the given job (task) to most appropriate machine (person) so as to optimize the objective
like minimizing cost.
Cost Vector (Cij)
Cost vector (Cij) is the cost of assigning ith job (Task) to jth machine (person),
Assignment Vector (Xij) is defined as follows
Xij = 0; If ith job (Task) is not assigned by jth machine (person) or
Xij = 1; If ith job (Task) is assigned to jth machine (person).
Cost Matrix (Cij)
Assignment problem is stated in the form of (n*n) matrix. This is called cost
matrix. This is illustrated as given below.
Cij = cost of assigning ith job to jth machine
(Symbols j = Job (Task) M = Machine (person)
General Assignment Problem Table
M 1 2 3 … k … n
J
1 C11 C12 C13 … C1k … C1n
2 C21 C22 C23 … C2k … C2n
3 C31 C32 C33 … C3k … C3k
… … … … … … … …
k Ck1 Ck2 Ck3 … Ckk … Ckn
… … … … … … … …
n Cn1 Cn2 Cn3 … Cnk … Cnn
119
Operations Research
Effective Matrix
A cost Matrix in A.P. is called an “Effectiveness Matrix” when there is at least
one zero in each row and column. Following is an example of Effectiveness
Matrix.
1 2 3 4
1 0 1 3 4
2 5 0 6 0
3 7 8 0 9
4 0 4 3 8
2. Mathematical Modeling of an A.P.
Let there be ‘n’ jobs in a manufacturing plant. Let there be ‘n’ machines to process the
product. A job i (i = 1, 2… n) when processed in a machine j (j = 1, 2… n), it is assumed
to incur a cost of Cij.
The assignment is made in such a way that one job is associated with one machine (see
assumption). Hence we have the following:
n n
i 1Xij 1 = j 1Xij 1
n n
Z= i 1 j 1
Cij * xij
n n
Z= i 1 j 1
Cij * xij
Subject to
n
x i 1
ij 1 i = 1, 2, 3… n
x
j 1
ij 1 j = 1, 2, 3…, n
120
Operations Research
This special structure of A.P. makes solution much easy compared to the conventional T.P.
Remark:
1. It may be noted that assignment problem is a variation of transportation problem with two
characteristics (i) the cost matrix is square matrix, and (ii) the optimum solution for the problem
would always be such that there would be only one assignment in a given row or column of the
cost matrix.
In assignment problem if a constant is added or subtracted from every element of any row or
column in the given cost matrix then an assignment that minimizes the total cost in one matrix
also minimizes the total cost in the other matrix.
Step 1. Locate the smallest cost element in each row of the cost table. Now subtract this smallest
from each element in that row. As a result, there shall be at least one zero in each row
of this new table, called the Reduced Cost Table (Row Reduction).
Step 2. In the reduced cost table obtained, consider each column and locate the smallest element
in it. Subtract the smallest value from every other entry in the column. As a
consequence of this action, there would be at least one zero in each of the rows and
columns of the second reduced cost table (Column Reduction).
Step 3. Draw the minimum number of horizontal and vertical lines (not diagonal ones) that are
required to cover the entire ‘zero’ elements. If the number of lines drawn is equal to n
(the number of rows/columns) the solution is optimal, and proceeds to step 6. If the
number of lines drawn is smallest than n, go to step 4.
121
Operations Research
Step 4. Select the smallest uncovered (by the lines) cost element. Subtract this element from all
uncovered elements including it self and add this element to each value located at the
intersection of any lines. The cost elements through which only one line passes
remain unaltered.
Step 5. Repeat steps 3 and 4 until an optimal solution is obtained.
Step 6. Given the optimal solution, make the job assignments as indicated by the ‘zero’ elements.
This done as follows:
a) Locate a row which only ‘zero’ element. Assign the job corresponding to this element to
its corresponding person. Cross out the zeros, if any, in the column corresponding to the
element, which is indicative of the fact that the particular job and person are no more
available.
b) Repeat (a) for each of such rows which contain only one zero. Similarly, perform the
same operation in respect of each column containing only one ‘zero’ element, crossing
out the zero(s), if any, in the row in which the element lies.
c) If there is no row or column with only a single ’zero’ element left, then select a
row/column arbitrarily and choose one of the jobs (or persons) and make the assignment.
Now cross the remaining zeros in the column and row in respect of which the assignment
is made.
d) Repeat steps (a) through (c) until all assignments are made.
e) Determine the total cost with reference to the original cost table.
Example
Solve the assignment problem given in Illustrative Example 1 for optimal solution using HAM.
The information is reproduced in the following table
Time Taken (in minutes) by 4 workers
Job
Worker A B C D
1 45 40 51 67
2 57 42 63 55
3 49 52 48 64
4 41 45 60 55
122
Operations Research
Step 1: The minimum value of each row is subtracted from all elements in the row. It is shown in
the reduced cost table, also called opportunity cost table, given as follows.
Reduced Cost Table 1
Job
Worker A B C D
1 5 0 11 27
2 15 0 21 13
3 1 4 0 16
4 0 4 19 14
Step 2: For each column of this table, the minimum value is subtracted from all the other values.
Obviously, the columns that contain a zero would remain unaffected by this operation. Here only
the fourth column values would change. The table below shows this.
Reduced Cost Table 2
Job
Worker A B C D
1 5 0 11 14
2 15 0 21 0
3 1 4 0 3
4 0 4 19 1
Step 3: Draw the minimum number of lines covering all zeros. As a general rule, we should first
cover those rows/columns which contain larger number of zeros. The above table is reproduced
in the next table and the lines are drawn.
Reduced Cost Table3
Job
Worker A B C D
1 5 0 11 14
2 15 0 21 0
3 1 4 0 3
4 0 4 19 1
123
Operations Research
Step 4: Since the number of lines drawn is equal to 4(=n), the optimal solution is obtained. The
assignments are made after scanning the rows and columns for unit zeros. Assignments made are
shown with squares, as shown in the following table.
Assignment of Jobs
Job
Worker A B C D
1 5 0 11 14
2 15 0 X 21 0
3 1 4 0 3
4 0 4 19 1
Assignments are made in the following order. Rows 1, 3, and 4 contain only one zero each. So
assign 1-B, 3-C and 4-A. Since worker 1 has been assigned job B, only worker 2 and job D are
left for assignment. The final pattern of assignments is 1-B, 2-D, 3-C, and 4-A, involving a total
time of 40+55+48+41=184 minutes. This is the optimal solution to the problem-the same as
obtained by enumeration and transportation methods.
Example
Using the following cost matrix, determine (a) optimal assignment, and (b) the cost of
assignments.
Reduced Cost Table 1
Job
Machinist 1 2 3 4 5
A 10 3 3 2 8
B 9 7 8 2 7
C 7 5 6 2 4
D 3 5 8 2 4
E 9 10 9 6 10
124
Operations Research
Since the number of lines covering all zeros is less than the number of columns/rows, we modify
the Table 6.13. The least of the uncovered cell values is 2. This value would be subtracted from
each of the uncovered values and added to each value lying at the intersection of lines
(corresponding to cells A-4, D-4, A-5 and D-5). Accordingly, the new table would appear as
shown as follows.
125
Operations Research
Iteration 3
Job
Machinist 1 2 3 4 5
A 7 0 0 X 2 6
B 4 2 3 0 3
C 2 0 X 1 0 X 0
D 0 2 5 2 2
E 0 X 1 0 0 X 2
The optimal assignments can be made as the least number of lines covering all zeros in Table
6.14 equals 5. Considering rows and columns, the assignments can be made in the following
order:
i. Select the second row. Assign machinist B to job 4. Cross out zeros at cells C-4 and E-4.
ii. Consider row 4, Assign machinist D to job 1. Cancel the zero at cell E-1.
iii. Since there is a single zero in the row, put machinist E to job 3 and cross out the zero at
A-3.
iv. There being only a single left in each of the first and third rows, we assign job 2 to
machinist A and job 5 to C.
The total cost associated with the optimal machinist-job assignment pattern A-2, B-4, C-5, D-1
and E-3 is 3+2+4+3+9 = 21
3.5 Special Case in Assignment Problems
When we solve assignment problems, there are cases which are treated differently from the usual
way.
Unbalanced Assignment Problems
The Hungarian Method of solving an assignment problem requires that the number of
columns should be equal to the number of rows. They are equal, the problem is balanced
problem, and when not, it is called an unbalanced problem. Thus, where there are 5 workers
and 4 machines, or when there are 4 workers and 6 machines, for instance, we have
unbalanced situations in which one-to-one match is not possible. In case the machines are in
excess, the excess machine(s) would remain idle and so is the case when men are in excess-
the number of excess people would get an assignment.
126
Operations Research
Example:
A company has 4 machines to do 3 jobs. Each job can be assigned to one and only one
machine. The cost of each job on each machine is given below. Determine the job
assignments which will minimize the total cost.
Machine
W X Y Z
A 18 24 28 32
Job
B 8 13 17 18
C 10 15 19 22
Constrained/Prohibited/ Assignment Problems
It happens sometimes that a worker cannot perform a certain job or is not to be assigned a
particular job. To cope with this situation, the cost of performing that job by such person is
taken to be extremely large (which is written as M). Then the solution to the assignment
problem proceeds in the manner discussed earlier. The effect of assigning prohibitive cost to
such person-job combinations is that they do not figure in the final solution.
Example:
You are given the information about the cost of performing different jobs by different
persons. The job-person marking X indicates that the individual involved cannot perform the
particular job. Using this information, state (i) the optimal assignment of jobs, and (ii) the
cost of such assignment,
Job
J1 J2 J3 J4 J5
P1 27 18 X 20 21
31 24 21 12 17
person
P2
P3 20 17 20 X 16
Job
P4 22 28 20 16 27
127
Operations Research
Solution: - Balancing the problem not assigning a high cost to the pairings P1-J3 and P3-J4,
we have the cost given in the table below.
Job
J1 J2 J3 J4 J5
P1 27 18 M 20 21
P2 31 24 21 12 17
P3 20 17 20 M 16
P4 22 28 20 16 27
person
P5 0 0 0 0 0
Job
dummy
Now we can derive the reduced cost table as shown in table shown below. Note that the cells
with prohibited assignments continue to be shown with the cost element M, since M is
defined to be extremely large so that subtraction or addition of value does not practically
affect it. To test optimality, lines are drawn to cover all zeros. Since the number of lines
covering all zeros is less than n, we select the lowest uncovered cell, which equals 4. With
this value, we can obtain the revised reduced cost table, shown in the final table.
Reduced Matrix
Job
J1 J2 J3 J4 J5
P1 9 0 M 2 3
P2 19 12 9 0 5
P3 4 1 44 M 0
P4 6 12 4 0 11
person
P5 0 0 0 0 0
Job
dummy
128
Operations Research
Reduced Matrix
Job
J1 J2 J3 J4 J5
P1 9 0 M 2 3
P2 19 12 9 0 5
P3 4 1 4 M 0
P4 6 12 4 0 11
person
P5 Job 0 0 0 0 0
dummy
Assignment of Job
Job
J1 J2 J3 J4 J5
P1 9 0 M 2 3
P2 15 8 9 0 1
P3 4 1 4 M 0
P4 2 8 0 0 X 7
person
P5 0 0X 0X 0 0 X
Job
dummy
The number of lines covering zeros is equal to 5(=n), hence the optimal assignment can be
made. The assignment is: P1-J2, P2-J4, P3-J5, P4-J3, while job J1 would remain unassigned.
This assignment pattern would cost 18+12+16+20=66 in the aggregate.
Unique Vs Multiple Optimal Solutions
In the process of making assignments, it was stated earlier that we select a row/column with
only a single zero to make an assignment. However, a situation may wherein the various
rows and columns, where assignment are yet to be done, have all multiple zeros. In such
cases, we get multiple optimal solutions to the given problem. In any of the problems
discussed so far, we have not experienced such a situation. Hence, each one of them has had
a unique optimal solution. When a problem has a unique optimal solution, it means that no
other solution to the problem exist which yields the same objective function value (cost, time,
129
Operations Research
profit e. t. c) as the one obtained from the optimal solution derived. On the other hand in a
problem with multiple optimal solutions, there exists more than one solution which all is
optimal and equally attractive. Consider the following example.
Example:
Solve the following assignment problem and obtain the minimum cost at which all the jobs
can be performed.
Job (cost in ’00 Br.)
Worker 1 2 3 4 5
A 25 18 32 20 21
B 34 25 21 12 17
C 20 17 20 32 16
D 20 28 20 16 27
Solution: This problem is unbalanced since number of jobs is 5 while the number of workers
is 4. We first balance it by introducing a dummy worker E, as shown in table below.
Step 1: Obtain reduced cost values by subtracting the minimum value in each row from
every cell in the row. This is given in Table below.
130
Operations Research
Reduced Cost 1
Job (cost in ’00 Br.)
Worker 1 2 3 4 5
A 7 0 14 2 3
B 22 13 9 0 5
C 4 1 4 16 0
D 4 12 4 0 11
E 0 0 0 0 0
Since there is at least one zero in each row and column, we test it for optimality.
Accordingly, lines are drawn. All zeros are covered by 4 lines, which is less than 5 (the order
of the given matrix). Hence, we proceed to improve the solution. The least uncovered value
is 4. Subtracting from every uncovered value and adding it to every value lying at the
intersection of lines, we get the revised values as shown below.
The solution given in the reduced cost 2 table is optimal since the number of lines covering
zeros matches with the order of the matrix. We can, therefore, proceed to make assignments.
To begin with, since each of the columns has multiple zeros, we cannot start making
assignments considering columns and have, therefore, to look through rows. The first row
has a single zero. Thus, we make assignment A-2 and cross out zero at E-2.
131
Operations Research
Further, the second and the third rows have one zero each. We make assignments B-4 and C-
5, and cross out zeros at D-4 and E-5. Now, both the rows left two zeros each and so have
both the columns. This indicates existence of multiple optimal solutions. To obtain the
solutions, we select zeros arbitrarily and proceed as discussed below.
i. Select the zero at D-1, make assignment and cross out zeros at D-3 and E-1 (as both,
worker D and job 1, are not available any more). Next, assign worker E to job 3,
corresponding to the only zero left. Evidently, selecting the zero at E-3 initially would have
the effect of making same assignments.
ii. Select the zero at D-3, make assignment and cross at D-1 and E-3. Next, make assignment
at the only zero left at E-1. Obviously, selecting the zero at E-1 making assignment in the
first place would lead to the same assignments.
132
Operations Research
For dealing with a maximization problem, we first change it into an equivalent minimization
problem. This is achieved by subtraction each of the elements of the given pay-off matrix
from a constant (value) k. Thus, we may simply put a negative sign before each of the pay-
off values (which is equivalent to subtracting each value from zero). Usually, the largest
value of all values in the given matrix is located and then each one of the values is subtract
from it (the largest value is taken so as to avoid the appearance of negative signs). Then the
problem is solved the same way as a minimization problem is.
Example:
A company plans to assign 5 salesmen to 5 districts in which it operates. Estimates of sales
revenue in thousands of birr for each salesman in different districts are given in the following
table. In your opinion, what should be the placement of the salesmen if the objective is to
maximize the expected sales revenue?
District
Salesman D1 D2 D3 D4 D5
S1 40 46 48 36 48
S2 48 32 36 29 44
S3 49 35 41 38 45
S4 30 46 49 44 44
S5 37 41 48 43 47
Solution: Since it is a maximization problem, we would first subtract each of the entries in
the table from the largest one, which equals 49 here. The resultant data are given in Table
below.
Opportunity Loss Matrix
District
Salesman D1 D2 D3 D4 D5
S1 9 3 1 13 1
S2 1 17 13 20 5
S3 0 14 8 11 4
S4 19 3 0 5 5
S5 12 8 1 6 2
133
Operations Research
Step 2: Subtract minimum value in each column in reduced cost table 1 from each value in
the column. Test for optimality by drawing lines to cover zeros. These are shown in table
below (in the Reduced cost Table 2)
Reduced cost Table 2
District
Salesman D1 D2 D3 D4 D5
S1 8 0 0 7 0
S2 0 14 12 14 4
S3 0 12 8 6 4
S4 19 1 0 0 5
S5 11 5 0 0 1
Since the number of lines covering all zeros is fewer than n, we select uncovered cell value,
which equals 4. With this, we can modify the table as given in the Reduced Cost Table 3.
Steps 4, 5, 6: Find improved solution. Test for optimality and make assignments.
Reduced cost Table 3
District
Salesman D1 D2 D3 D4 D5
S1 12 0 0 X 7 0 X
S2 0 10 8 10 0 X
S3 0 X 8 4 2 0
S4 23 1 0 0 X 5
S5 15 5 0 X 0 1
134
Operations Research
More than one optimal assignment is possible in this case because of the existence of
multiple zeros in different rows and columns. The possible assignments are:
S1-D2, S2-D5, S3-D1, S4-D3, S5-D4; or
S1-D2, S2-D1, S3-D5, S4-D3, S5-D5; or
S1-D2, S2-D1, S3-D1, S4-D4, S5-D3; or
S1-D2, S2-D1, S3-D5, S4-D4, S5-D
Each of these assignment patterns would lead to expected aggregated sales equal to 231 thousand
birr. START
Is it a Add dummy
No
balanced row(s)/column(s)
problem?
Yes
STOP
135
Operations Research
Determine the optimal assignment that will minimize the total average
number of defects per month.
2. The Bunker manufacturing firm has five employees and six machines, and wants to
assign the employees to the machines so as to minimize cost. A cost table showing the
cost incurred by each employee on each machine is given below.
Machine
Employee A B C 0 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.
3. A university department head has five instructors to be assigned to four different courses.
All of the instructors have taught the courses in the past and have been evaluated by the
students. The rating for each instructor for each course is given in the following table (a
perfect score is 100).
Course
Instructor A B C D
1 80 75 90 85
2 95 90 90 97
3 85 95 88 91
4 93 91 80 84
5 91 92 93 88
The department head wants to know the optimal assignment of instructors to courses that
will maximize the overall average evaluation. The instructor who is not assigned to teach a
course will be assigned to grade exams. Solve this problem using the assignment method.
137
Operations Research
CHAPTER FOUR
DECISION THEORY
Unit objective:
After completing this unit, the learner should be able to:
Describe the basic characteristics of decision theory problems
Differentiate between decision analysis under certainty and uncertainty.
Describe the different approaches (criteria) to decision making under complete
uncertainty.
1. Maximax
2. Maximin
3. Minimax regret
4. Hurwicz
Use decision tree as decision making tools.
? Dear learner, from your previous courses, can you define decision making? What
steps are involved in it? Can you mention conditions in which decision at different
levels are made?
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
Dear learner, in the previous units 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).
138
Operations Research
2. 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.
3. Payoffs: - 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.
4. 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 action.
5. 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.
4.2. THE PAYOFF TABLE
A payoff table is a device a decision maker can use to summarize and organize information
relevant to a particular decision. It includes a list of alternatives, the possible future states of
nature, and the payoffs associated with each of the alternative/state of nature combinations. If
probabilities for the states of nature are available, these can also be listed. The general format
of the table is illustrated below:
States of nature
S1 S2 S3
A1 V11 V12 V13
Alternatives A2 V21 V22 V23
A3 V31 V32 V33
where:
Ai = the ith alternative
Sj = the jth states of nature
139
Operations Research
Vij = the value or payoff that will be realized if alternative i is chosen and event j
occurs.
Decision situations can be categorized in to three classes: Situation of certainty, Situations
where probabilities can not be assigned to future occurrences and Situations where
probabilities can be assigned to future occurrences. In this chapter we will discuss each of
these classes of decision situations separately.
4.3. DECISION MAKING UNDER CERTAINTY
The simplest of all circumstances occurs when decision making takes place in an
environment of complete certainty. When a decision is made under conditions of complete
certainty, the attention of the decision maker is focused on the column in the payoff table that
corresponds to the state of nature that will occur. The decision maker then selects the
alternative that would yield the best payoff, given that state of nature.
EXAMPLE
The following payoff table provides data about profits of the various states of
nature/alternative combination.
S1 S2 S3
A1 4 16 12
A2 5 6 10
A3 -1 4 15
If we know that S2 will occur, the decision maker then can focus on the first raw of the
payoff table. Because alternative A1 has the largest profit (16), it would be selected.
4.4. DECISION MAKING UNDER COMPLETE UNCERTAINTY (With out
probabilities)
Under complete uncertainty, the decision maker either is unable to estimate the probabilities
for the occurrence of the different state of nature, or else he or she lacks confidence in
available estimates of probabilities, and for that reason, probabilities are not included in the
analysis.
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.
140
Operations Research
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.
4.4.1. MAXIMAX
With the maiximax criterion, the decision maker selects the decision that will result in the
maximum of the maximum payoffs. (In fact this is how this criterion derives its name-
maximum of maximum). The maximax is very optimistic. The decision maker assumes that
the most favorable state of nature for each decision alternative will occur. For example, the
investor would optimistically assume that good economic conditions will prevail in the
future. The best payoff for each alternative is identified, and the alternative with the
maximum of these is the designated decision.
For the previous problem:
S1 S2 S3 Row Maximum
A1 4 16 12 16*maximum
A2 5 6 10 10
A3 -1 4 15 15
? Dear learner, how would the decision in the above example change if the
values in the table stand for costs instead of profit?
________________________________________________
________________________________________________
________________________________________________
___
141
Operations Research
? Dear learner, how would the decision in the above example change if the
values in the table stand for costs instead of profit?
________________________________________________
________________________________________________
______________________________________________
142
Operations Research
143
Operations Research
? Dear learner, how would the decision in the above example change if the
values in the table stand for costs instead of profit?
_______________________________________________
_______________________________________________
_______________________________________________
_____
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
EXAMPLE
S1 S2 S3 S4 S5 Row Average
A1 28 28 28 28 4 23.2*maximum
A2 5 5 5 5 28 9.6
A3 5 5 5 5 28 9.6
Decision: A1 is selected
The basis for the criterion of insufficient reason is that under complete uncertainty, the decision
maker should not focus on either high or low payoffs, but should treat all payoffs (actually, all
states of nature), as if they were equally likely. Averaging row payoffs accomplishes this.
144
Operations Research
? Dear learner, how would the decision in the above example change if the values in the
table stand for costs instead of profit?
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
_
4.4.5. The Hurwitz Criterion
The Hurwitz criterion strikes a compromise between the maximax and maximin criterion. The
principle underlying this decision criterion is that the decision maker is neither totally optimistic,
nor totally pessimistic. With Hurwitz criterion, the decision payoffs are weighted by a coefficient
of optimism, a measure of a decision maker’s optimism. The coefficient of optimism, which is
defined as, is between zero and one (0< <1). If = 1, then the decision maker is said to be
completely optimistic, if = 0, then the decision maker is completely pessimistic. Given this
definition, if is coefficient of optimism, 1- is coefficient of pessimism.
The Hurwitz criterion requires that for each alternative, the maximum payoff is multiplied by
and the minimum payoff be multiplied by 1-.
Example: If = 0.4 for the above example,
A1 = (0.4x16) + (0.6x4)
= 8.8
A2 = (0.4x10) + (0.6x5)
=7
A3 = (0.4x15) – (0.6x1)
= 5.4
Decision: A1 is selected
A limitation of Hurwicz criterion is the fact that must be determined by the decision maker.
Regardless of how the decision maker determines , it is still a completely a subjective measure
of the decision maker’s degree of optimism. Therefore, Hurwicz criterion is a completely
subjective decision making criterion.
? Dear learner, can you mention conditions under which Hurwicz criterion criteria can be
considered as maximin or minimax criterion
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
__ 145
Operations Research
EXAMPLE:
146
Operations Research
A1 4 16 12 12.40*maximum
A2 5 6 10 7
A3 -1 4 15 6.30
Decision: A1 will be chosen.
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.
Note: The EOL approach resulted in the same alternative as the EMV approach
(Maximizing the payoffs is equivalent to minimizing the opportunity losses).
147
Operations Research
The difference between this figure and the expected payoff under risk (i.e., the EMV) is the
expected value of perfect information. Thus:
EVPI = EPC – EMV
= 13.50 – 12.40 = 1.10
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.
? Dear learner, can you make differences between decision making situations under
??uncertainty and risk?
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___
4.6. DECISION TREES
Decision trees some times are used by decision makers to obtain a visual portrayal of decision
alternatives and their possible consequences. The term gets its name from the tree-like
appearance of the diagram.
Decision tree format:
Decision tree, like probably tree is composed of squares, circles, and lines:
The squares indicate decision points
Circles represent chance events( circles and squares are called nodes)
o The lines (branches) emanating from squares represent alternatives.
148
Operations Research
Apartment 2 $30,000
building Poor economic
conditions (0.4)
Purchase
Good economic $100,000
conditions (0.60
Office building
1 3
Poor economic -$40,000
conditions (0.4)
Warehouse Good economic
conditions (0.60 $30,000
4
149
Operations Research
signifies a decision to purchase an apartment building. Office building, or ware house. The
circles are probability nodes, and the branches emanating from them indicate the state of
nature that can occur: good economic conditions or poor economic conditions. The
decision tree represents the sequence of events in a decision situation. First, one of the
three decision choices is selected at node 1. Depending on the branch selected, the decision
maker arrives at probability node 2, 3, or 4, where one of the states of nature will prevail,
resulting in one of six possible payoffs.
Determining the best decision using a decision tree involves computing the expected value
at each probability node. This is accomplished by starting with the final outcomes
(payoffs) and working backward through the decision tree toward node 1. First, the
expected value of the payoffs is computed at each probability node.
EV(node 2) = .60($ 50,000) + .40($ 30,000) = $42,000
EV(node 3) = .60($100,000) + .40($-40,000) = $44,000
EV(node 4) = .60($ 30,000) + .40($ 10,000) = $22,000
These values are now shown as the expected payoffs from each of the three branches
emanating from node 1 in figure below. Each of these three expected values at nodes 2, 3,
and 4 is the outcome of a possible decision that can occur at node 1. Moving toward node
1, we select the branch that comes from the probability node with the highest expected
payoff. In figure below, the branch corresponding to the highest payoff, $44,000 is from
node 1 to node 3. This branch represents the decision to purchase the office building. The
decision to purchase the office building, with an expected payoff of $44,000, is the same
result we achieved earlier using the expected value criterion. In fact, when only one
decision is to be made (i.e., there is not a series of decisions), the decision tree will always
yield the same decision and expected payoff as the expected value criterion. As a result, in
these decision situations the decision tree is not very useful. However, when a sequence or
series of decisions is required, the decision tree can be very useful.
150
Operations Research
2
$50,000
Apartment $44,000
building
3
1 Poor economic
Conditions(0.4) $30,000
Good economic
Warehouse Conditions (0.6)
$30,000
Poor economic
Conditions(0.4) $10,000
4.6.1. Sequential Decision Trees
As noted above, when a decision situation requires only a single decision, an expected value
payoff table will yield the same result as a decision tree. However, a payoff table is usually
limited to a single decision situation like our real estate investment example. If a decision
situation requires a series of decisions, then a payoff table cannot be created and a decision
tree becomes the best method for decision analysis.
151
Operations Research
In order to demonstrate the use of a decision tree for a sequence of decisions, we will alter
our real estate investment example to encompass a ten-year period during which several
decisions must be made. In this new example, the first decision facing the investor is whether
to purchase an apartment building or land. If the investor purchases the apartment building,
two states of nature are possible. Either the population of the town will grow (with a
probability of 0.60), or the population will not grow (with a probability of 0.40). Either state
of nature will result in a payoff. On the other hand, if the investor chooses to purchase land,
three years in the future another decision will have to be made regarding the development of
the land. The decision tree for this example, shown in figure below, contains all the
pertinent data, including decisions, states of nature, probabilities, and payoffs.
At decision node 1 in figure below, the decision choices are to purchase an apartment
building and to purchase land. Notice that the cost of each venture ($800,000 and $200,000,
respectively) is shown in parentheses. If the apartment building is purchased,
two states of nature are possible at probability node 2. The town may exhibit population
growth, with a probability of .60, or there may be no population growth or a decline, with a
probability of .40. If the population grows, the investor will achieve a payoff of $2,000,000
over a ten-year period. (Note that this whole decision situation encompasses a ten-year time
span.) However, if no population growth occurs, a payoff of only $225,000 will result.
If the decision is to purchase land, two states of nature are possible at probability node 3.
These two states of nature and their probabilities are identical to those at node 2; however,
the payoffs are different. If population growth occurs for a three-year period, no payoff will occur,
but the investor will make another decision at node 4 regarding development of the land. At that
point either apartment will be built at a cost of $800,000 or the land will be sold with a payoff of
$450,000. Notice that the decision situation at node 4 can occur only if population growth occurs
first. If no population growth occurs at node 3, there is no payoff and another decision situation
becomes necessary at node 5: the land can be developed commercially at a cost of $600,000 or
the land can be sold for $210,000. (Notice that the sale of the land results in less profit if there is
no population growth than if there is population growth.)
If the decision at decision node 4 is to build apartments, two states of nature are possible. The
152
Operations Research
population may grow, with a conditional probability of .80, or there may be no population
growth, with a conditional probability of .20. The probability of population growth is higher (and
the probability of no growth is lower) than before because there has already been population
growth for the first three years, as shown by the branch from node 3 to node 4. The payoffs for
these two states of nature at the end of the ten-year period are $3,000,000 and $700,000,
respectively, as shown in figure below.
If the investor decides to develop the land commercially at node 0. 5, then two states of nature
can occur. Population growth can occur, with a probability of .30 and an eventual payoff of
$2,300,000, or no population growth can occur, with a probability of .70 and a payoff of
$1,000,000. The probability of population growth is low (i.e., .30) because there has already
been no population growth, as shown by the branch from node 3 to node 5
Sequential Decision Tree
$ 2,000,000
2 $ 225,000
$ 3,000,000
.60
6
6
.20
.40 ,00
1 0,0
.80 $ 700,000
4 00
$ 450,000
Sell land
.30
3 ,00
7 0,0 $ 2,000,000
00
.70
,00
0,0
5 00 $ 1,000,000
Sell land
$ 210,000
.60
153
Operations Research
.40
This decision situation encompasses several sequential decisions that can be analyzed using the
decision tree approach outlined in our earlier (simpler) example. As before, we start at the end of
the decision tree and work backward toward a decision at node 1.
First we must compute the expected values at nodes 6 and 7.
EV (node 6) = .80($3,000,000) + .20($ 700,000) = $2,540,000
EV (node 7) = .30($2,300,000) + .70($1,000,000) = $1,390,000
Both of these expected values (as well as all other nodal values) are shown in boxes in Figure 4.4.
At decision nodes 4 and 5, we must make a decision. As with a normal payoff table, we make
the decision that results in the greatest expected value. At node 4 we have a choice between two
values: $1,740,000, the value derived by subtracting the cost of building an apartment building
($800,000) from the expected payoff of $2,540,000, or $450,000, the expected value of selling
the land computed with a probability of 1.0. The decision is to build the apartment building, and
the value at node 4 is $1,740,000.
This same process is repeated at node 5. The decisions at node 5 result in payoffs of $790,000
(i.e., $1,390,000 - 600,000 = $790,000) and $210,000. Since the value $790,000 is higher, the
$1,290,000
2 $ 225,000 $ 7540,000
.60
6
Purchase
6 $ 3,000,000
.20
Apartment .40 .80
$1,740,000 ,00
1Building 0,0
$1,160,000 00
4
$ 450,000
Sell land
$1,390,000 .20
.60 .30
3 .40 ,00
7 0,0 $ 700,000
00
$1,360,000 $790,000 .70
,00
0,0
5 00 $ 2,300,000
$ 1,000,000
Sell land
$ 210,000
154
Operations Research
(Note that the expected value for node 3 is computed from the decision values previously
determined at nodes 4 and 5.)
Now we must make the final decision for node 1. As before, we select the decision with
the greatest expected value after the cost of each decision is subtracted.
Since the highest net expected value is $1,160,000, the decision is to purchase land and the
payoff of the decision is $1,160,000.
This example demonstrates the usefulness of decision trees for decision analysis. The
decision tree allows the decision maker to see the logic of decision making, because it
provides a picture of the decision process. Decision trees can be used for decision problems
more complex than the example above without too much difficulty.
Earlier in this unit we discussed the concept of the expected value of perfect information. We
noted that if perfect information could be obtained regarding which states of nature would
occur in the future the decision maker could obviously make better decisions. Although
perfect information about the future is rare, it is often possible to gain some amount of
additional (imperfect) information that will improve decisions.
In this section we will present a process for using additional information m the decision-
making process by applying Bayesian analysis, a probabilistic technique. This process will
be demonstrated using the real estate investment example employed throughout this
chapter. To briefly review this example, a real estate investor is considering three
alternative investments, which will occur under one of two possible economic conditions
155
Operations Research
Recall that using the expected value criterion, we found the best decision to be the purchase of
the office building, with an expected value of $44,000. We also computed the expected value of
perfect information to be $28,000. Therefore, the investor would be willing to pay up to $28,000
for information about the states of nature, depending on how close to perfect the information
was.
Now suppose that the investor has decided to hire a professional economic analyst who will
provide additional information about future economic conditions. The analyst is constantly
researching the economy, and the results of this research are what the investor will be
purchasing.
The economic analyst will provide the investor with a report predicting one of two outcomes.
The report will be either positive, indicating that good economic condition are most likely to
prevail in the future, or negative, indicating that poor economic conditions will probably occur.
Based on the analyst's past record in forecasting future economic conditions, the investor has
determined conditional probabilities of the different report outcomes given the occurrence of each
state of nature in the future. We will use the following notations to express these conditional
probabilities:
g = good economic conditions
p = poor economic conditions
P = positive economic report
156
Operations Research
157
Operations Research
P(g/N) = .250
P(p /P) = .077
P(p/N) = .750
4.6.3. Decision Trees with Posterior Probabilities
The original decision tree analysis of the real estate investment example is shown in Figures 4.1
and 4.2. Using these decision trees, we determined that the appropriate decision was the purchase
of an office building, with an expected value of $44OOO. However, if the investor hires an
economic analyst, the decision regarding which piece of real estate to invest in will not be made
until after the analyst presents the report. This creates an additional stage in the decision-making
process, which is shown in the decision tree in Figure 4.5.
The decision tree shown in Figure 4.5 differs in two respects from the decision trees in Figures
4.1 and 4.2. The first difference is that there are two new branches at the beginning of the
decision tree that represent the two report outcomes. Notice, however, that given either report
outcome, the decision alternatives, the possible states of nature, and the payoffs are the same as
those in the first two figures.
The second difference is that the probabilities of each state of nature are no longer the prior
probabilities given in Figure 4.1; instead they are the revised posterior probabilities computed in
the previous section using Bayes's rule. If the economic analyst issues a positive report, then the
upper branch in figure below (from node 1 to node 2) will be taken.
If an apartment building is purchased (the branch from node 2 to node 4), the probability of
good economic conditions is .923, whereas the probability of poor conditions is .077. These are
the revised posterior probabilities of the economic conditions given a positive report. However,
before we can perform an expected value analysis using this decision tree, one more piece of
probabilistic information must be determined-the initial branch probabilities of a positive and a
negative economic report.
The probability of a positive report, P(P), and of a negative report, P(N), can be determined
according to the following logic. Recall from Chapter 10 that the probability that two dependent
events, A and B, will both occur is
P(AB) = P(A/B) P(B)
158
Operations Research
$50,000
Pig p1=.923
4
Apartment
building
2
5 P/P/p) = 077 $30,000
Office building PigP)= 923
$100,00
Positive 6
$ 10,000
P(p/N)= 750
159
Operations Research
If event A is a positive report and event B is good economic conditions, then according to the
above formula,
P(Pg) = p(p / g)P(g)
We can also determine the probability of a positive report and poor economic conditions the
same way.
P(Pp) = P(P/p)P(p)
Next consider the two probabilities P(Pg) and P(Pp). These are, respectively, the probability of a
positive report and good economic conditions and the probability of a positive report and poor
economic conditions. These two sets of occurrences are mutually exclusive, since both good and
poor economic conditions cannot occur simultaneously in the immediate future. Conditions will
be either good or poor, but not both. To determine the probability of a positive report, we add the
mutually exclusive probabilities of a positive report with good economic conditions and a
positive report with poor economic conditions, as follows.
P(P) = P(Pg) + P(Pp)
Now, if we substitute into this formula the relationships for P(Pg) and P(Pp) determined
earlier, we have
P(P) = P(P/g)P(g) + P(P/p)P(p)
You might notice that the right-hand side of this equation is the denominator of the Bayesian
formula we used to compute P(g/P) in the previous section. Using the conditional and prior
probabilities that have already been established, we can determine that the probability of a
positive report is
P(P) = P(P/g)P(g) + P(P/p)P(p) = (.80) (.60) + (.10) (.40)
= .52
Similarly, the probability of a negative report is
P(N) = P(N/g)P(g) + P(N/p)P(p)
= (.20) (.60) + (.90) (.40)
= .48
Now we have all the information needed to perform a decision tree analysis. The decision tree
analysis for our example is shown in Figure 11.6. To see how the decision tree analysis is
conducted, consider the result at node 4 first. The value $48,460 is the expected value of the
purchase of an apartment building given both states of nature. This expected value is computed
as follows.
160
Operations Research
$30,000
$100,000
-$40,000
$30,000
$10,000
$50,000
$30,000
$100,000
-$40,000
$30,000
$10,000
$15,000
P (p/N) =.750
161
Operations Research
This amount, $63,190, is the expected value of the investor's decision strategy given that a report
forecasting future economic condition is generated by the economic analyst.
5.6.4. Computing Posterior Probabilities with Tables
One of the difficulties that can occur with this type of decision analysis with additional
information is that as the size of the problem increases (i.e., as we add more decision
alternatives and states of nature) the application of Bayes's rule to compute the posterior
probabilities becomes more complex. In such cases, the posterior probabilities can be computed
using tables. This tabular approach will be demonstrated with our real estate investment
example. The table for computing posterior probabilities for a positive report and P(P) is initially
set up as shown in table below.
The posterior probabilities for either state of nature (good or poor economic conditions) given a
negative report are computed similarly.
(1) (2) (3) (4) (4)
States Prior Conditional Prior Posterior
Of Nature Probabilities Probabilities Probability x Probabilities:
Conditional (4) (4)
Probability:
(2) x (3)
Good P(g) = .6 P(P/g) = 0.80 P(Pg) = .48 .48
P(g/P) = .923
Conditions .52
Poor P(P) = .4 P(p/P) = 0.10 P ( Pp ) .04 .04
P(p/P)= . .077
Conditions P ( P ) .52 52
No matter how large the decision analysis, the steps of this tabular approach can be
followed the same way as in this relatively small problem. This approach is more
systematic than the direct application of Bayes's rule, making it easier to compute the
posterior probabilities for larger problems.
162
Operations Research
$63,190 using the decision tree in Figure 4.6. The difference between these two expected
values is called the expected value of sample information (EVSI), and it is computed as follows.
EVSI = EV with information - EV with out information
For our example, the expected value of sample information is
EVSI = $63,190 - 44,000
= $19,190
This means that the real estate investor would be willing to pay the economic analyst up
to $19,190 for an economic report that forecasted future economic conditions.
After we computed the expected value of the investment without additional information,
we computed the expected value of perfect information, which equaled $28,000. However, the
expected value of the sample information was only $19,190. This is a logical result, since
it is rare than absolutely perfect information can be determined. Since the additional
information that is obtained is less than perfect, it will be worth less to the decision maker.
We can determine how close to perfect our sample information is by computing the
efficiency of sample information as follows.
EVSI
Efficiency = EVPI
= $ 19,190
28,000
=.68
Thus, the analyst's economic report is viewed by the investor to be 68% as efficient as
perfect information. In general, a high efficiency rating indicates that the information is
very good, or close to being perfect information, and a low rating indicates that the
additional information is not very good. For our example, the efficiency of .68 is relatively
high; thus it is doubtful that the investor would seek additional information from an
alternative source. (However, this is usually dependent on how much money the decision
maker has available to purchase information.) If the efficiency had been lower, however,
the investor might seek additional information elsewhere.
163
Operations Research
Summary
Decision theory problems are characterized by, list of alternatives, states of nature,
payoffs, degree of certainty, decision criteria.
There are several approaches (criteria) to decision making under complete uncertainty.
Some of these discussed in this section include: maximax, maximin,minimax regret,
Hurwitz, and equal likelihood.
Decision making under risk (with probabilities) involves several decision criteria
including Expected Monetary Value (EMV), Expected Opportunity Loss (EOL),
Expected Value of Perfect Information (EVPI).
Decision trees represent an alternative approach to payoff tables; which are used for
problems that involve a series of chronological decisions by portraying sequential
decisions graphically.
The circles ( ) and squares ( ) in the above figure are referred to as nodes. The
squares are decision nodes, and the branches emanating from a decision node reflect
the alternative decisions possible at that point.
164
Operations Research
CHAPTER FIVE
NETWORK MODELS
? Dear learner, could you discuss about importance of network diagrams with your
colleagues?
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_______________
Drawing a logic diagram is a skill requiring practice and ingenuity, and for major projects may
require two or three attempts before a satisfactory network or diagram is completed correctly.
Computer packages are often used to carry out this process, cutting drastically the time taken.
5.2.1. Basic Components of Network Diagram
i) Network
It is the graphic representation of logically and sequentially connected arrows and nodes
representing activities and events of a project. Networks are also called arrow diagram.
ii) Activity
An activity represents some action and is a time consuming effort necessary to complete a
particular part of the overall project. Thus each and every activity has a point where it ends.
It is represented in the network by an arrow.
A
Activity
Tail Head
165
Operations Research
Merge event
If the event happened to be the beginning event of two or more activities, it is defined as a Burst
event.
Burst event
166
Operations Research
D
A
B
Dummy
C
v) Numbering the Events
After the network is drawn in a logical sequence, every event is assigned a number. The number
sequence must be in such a way that it should reflect the flow of the network. In event
numbering, the following rules should be observed:
i. Event numbers should be unique.
ii) Event numbering should be carried out a sequential basis from
left to right.
iii) The initial event, which has all outgoing arrows with no incoming arrow, is
numbered 0 or 1.
iv) The head of an arrow should always bear a number higher than the one
assigned at the tail of the arrow.
vi) Gaps should be left in the sequence of event numbering to accommodate subsequent
inclusion of activities, if necessary.
5.2.2. Rules for drawing a network
A complete network should have only one point of entry -the start event, and one point of
exit -the finish event.
Every activity must have one preceding event -the tail, and one following event - each
activity has one head.
Several activities may use the same tail event, and the same head event, but no two
activities may share the same head and tail events.
Time flows from left to right.
An activity must be completed in order to reach the end-event.
Dummy activities should only be introduced if absolutely necessary.
167
Operations Research
168
Operations Research
B
A
b) Dangling: No activity should end without being joined to the end event. If it is not so,
a dummy activity is introduced in order to maintain the continuity of the system.
Such end-events other than the end of the project as a whole are called dangling
events. All activities must contribute to the progression of the network or be
discarded as irrelevant.
B
A E
B
D
B C
B F
Danglin
g
d) Redundancy: If a dummy activity is the only activity emanating from an event, it
can be eliminated.
Dummy D F
A
C
E
B
? Dear learner, can you mention and discuss on the common mistakes made in drawing
net work diagrams.
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
____________
169
Operations Research
170
Operations Research
2 13
5
5 4
6
7
8 3
1 1
7 16 6
4
1st step
Shade node 1 and temporarily label node 2, 3 and 4, which can be directly reached from node 1.
The label should show the distance from node 1.
(5.1)
2 13
5 4
(O,
( S) (8, 1)
8 7
3 5 6
1
7
1
(7, 1)
16 6
2nd Step 4
Select the node, which has the smallest distance from node 1, and label it permanent and shade
the node (i.e. node 2), then temporarily label nodes that can be directly reached from node 2.
Therefore node 5 is labeled as (18, 2.)
171
Operations Research
(5, 1)
2
13
5 4 (18,2)
(O, S)
(8,1)
8
3 5
7
7 6
7, 1
1 16
6
3rd Step
Identify the smallest distance from node 1 i.e. from node 3, 4, and 5, which have values of 8, 1,
7,1 and 18,2 respectively. Permanently label and shade node 4, which has the smallest distance
of 7. Identify non-permanent labels; directly reached from this node and temporarily label it by
the distance from node 1.
(5,1)
13
2
5 (18, 2)
(O, S) 4
(8, 1)
7 5
8 3
3
1
6
7 3
(7,1) (23, 4)
1
3
16
4 6
172
Operations Research
4th Step
The node with the smallest temporary label is node 3. Thus, its label becomes permanent and the
node is shaded. Node 3 can be reached directly from node 1 through node 4 with the same
distance of 8 (i.e. tie exists). Next, find each non-Permanent label that can be reached directly
from node 3. Node 5 is the only node with a value of (18, 2). However, the cumulative distance
of node 5 from node 1 through node 3 is 15 (i.e. 8+7=15). Because the route through node 3 is
shorter, we update the temporary label of node 5 to reflect this shorter route.
(5,1)
2
13
5 (15, 3)
(O, S)
(18,2)
(8,1) tie
8 7
1 5
3
7 6
1
(7, 1)
(23,4)
4 16
6
5th Step
Identify the node, which have smallest label from the un-shaded nodes or temporary labels. Node
5 with a distance of 15,3 is selected and becomes permanent label.
173
Operations Research
(5,1)
2
13
5 4 (15,3)
18,2
(8,1)
(O,S) tie
8 3 7 5
1 6
7 (7,1) 1 (23,4)
16
4 6
6th Step
The only node which is not shaded and can be reached directly from the new permanent node is
node 6. Using this route, its cumulative distance from node 1 would be 15+6=21. Because this is
less than its current table update label to 21, 5 and make permanent & shade it.
13 (15, 3)
18,2
5
4
(O,S)
8, 1 tie
7
8 5
1 3 6
(21,5)
7 (23,4)
(7,1)
1
16 6
4
174
Operations Research
Permanent label of the final network indicates the shortest distance of each node from node 1
(the starting node). In order to identify the route that yields the shortest distance to a particular
node, it is necessary to work backtracking. The shortest route of the nodes from node 1 to each
node is summarized below.
Node Distance Shortest Route Alternative Route
2 5 1-2 -
3 8 1-3 1-4-3
4 7 1-4 -
5 15 1-3-5 1-4-3-5
6 21 1-3-5-6 1-4-3-5-6
5.2.3 Minimum Spanning Tree Model
The minimum spanning tree problem involves in connecting all of the nodes of a network using
as little of the connecting material as possible. For example, the nodes might represent oil
storage tanks, and lines represent pipeline that are used to carry the oil between tanks. The cost
of the pipeline would be proportional to the length of the pipeline used. Hence, the objective
would be to connect all of the tanks using as little pipeline as possible. Similar activities include
designing communication systems by using minimum amount of wiring, designing highway
networks by using minimal amounts of materials etc.
Algorithm of Minimum Spanning Tree
Step 1. Start at any node, (usually, node 1 is used as the starting point), identify the node that
has shortest distance from node 1 and connect it to the node 1 using a line. If a tie occurs, break
it arbitrarily
Step 2. Find the shortest distance form the existing portion of the tree (i.e. the connected nodes)
to a node that is not yet connected. Make the connecting line from previously connected tree to
the new node which has shortest distance.
Step 3. Continue until all nodes have been connected to the tree.
Step 4. To find the total (minimal) length of the connecting distance, sum up their values.
Example:
Consider the following network where the nodes represent fuel storage tanks and the connecting
lines represent possible pipeline connections. The numbers on the lines represent the distance in
175
Operations Research
meters for a particular pipeline connection. Determine the spanning tree for the network storage
tanks and the amount of pipe that will be needed to make the connections.
22 6
2 26
4
13 18 24
27 33
1 5
20 30
32
18
49 7
3
Arbitrarily choose node 1 as a starting node consider all branches incident on it. They are 1-2 and
1-3 with distance of 13 and 18 respectively. Since 1-2 is the shortest, select this line and connect
it. Now node 1 and 2 are connected.
Next consider all arcs incident either on node 1 or node 2 that connect to other nodes. Such lines
are 1-3, 2-3 and 2-4 with a distance of 18, 20 and 22 respectively. Node 1-3 with a distance of 18
of selected. Now the connected nodes are 1, 2, and 3.
Next consider all braches incident to Node 1, 2 and 3. These are 2-4, 3-4, 3-5 and 3-7 with
distance of 22, 27, 30 and 49. The shortest distance is 22 i.e. 2-4. Make 2-4 part of the network
2 4 6 2 2
13 2
5
1
7 1
18 2
3
A 3
2
176
B
Operations Research
22
22
2 4 2 4
13 13 6
6
1 18
1 5
3 7
18
5 7
18
C 3
The next step will be to identify the shortest line that is incident to node 3 and 4. These are 3-5,
3-7, 4-5 and 4-6 with a distance of 30, 49, 18 and 26. Since 4-5 is the shortest distance, include it
in the network.
Continue in this manner until all nodes are connected with their shortest distance. The network
solution for the above problem is shown on the following figure
The length of pipe that will be needed for this system can be found by summing the line lengths
(distance): i.e. 18+13+22+18+24+32= 127 meters.
177
Operations Research
It is assumed that there is a single input node (called a source) and a single output node
(called a sink).
There is flow conservation, i.e. the flow out of any node is equal to the flow into that
node.
Junctions or nodes cannot serve as a store, i.e. any flow arriving at a node is transferred
immediately to another location.
Example:
Determine the maximum flow through the system of pipeline. The flow is from node 1 to node 4.
10 2 6
2
1 4
3 6
178
Operations Research
Step 1. Choose any path that will allow a positive flow from the source (node 1) to the sink
(node
4). The possible paths are 1-2-4, 1-2-3-4, 1-3-4 and 1-3-2-4. Suppose arbitrary select path
1-2-4.
The maximum flow of 10 (Node 1-2) is limited by the 6 capacity of node 2-4. Therefore adjust
the capacity of the total path of 1-2-4 by flow of 6. (i.e. reduce by 6)
4 2 6
2
1 4 6
6 6
3
Here, branch 2-4 is fully loaded and no additional flow to this path. But, path 1-2 still accept
additional flow of 4. Therefore, we can use path 1-2-3-4 to pass 2 units through path 1-2-3-4.
2
2 0
0
1
2+6
4
6+2
3
4
179
Operations Research
The flow capacity of 1-2-3-4 is fully utilized. i.e. no further positive flow is allowed through this
path. But there is a positive flow through path 1-3-4. Therefore a flow of 3 can be assigned to
this path. The resulting network will be as shown below.
2 0
2
2
3+2+6 4 6+2+3
1
0 1
At this point, no additional flow is possible because no path has a positive flow capacity. Hence
the situation is optimal and maximal flow rate is 11 (6+2+3 = 11).
? Dear learner, please discuss on the different type of network models and their application areas.
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
__
180
Operations Research
CHAPTER SIX
GAME THEORY
Introduction
Unlike a pure monopoly or a perfectly competitive firm, most firms must consider the likely
responses of competitors when they make strategic decisions about price, advertising
expenditure, investment in new capital, and other variables. Although we began to explore some
of these strategic decisions in the last chapter, there are many questions about market structure
and firm behavior that we have not yet addressed. For example, why do firms tend to collude in
some markets and compete aggressively in others'? How do some firms manage to deter entry by
potential competitors? And how should firm’s intake price decisions when demand or cost
conditions are changing, or new competitors are entering the market? To answer these questions,
we will use game theory to extend our analysis of strategic decision making by firms. The
application of game theory has been an important development in microeconomics. This chapter
explains some of this theory and shows how it can be used to understand how markets evolve
and operate and how economic agents should think about the strategic decisions they continually
face. We will discuss how firms can make strategic moves that give them an advantage over their
competitors or the edge in a bargaining situation.
Game theory is perhaps the most important tool in the economists’ analytical kit for analyzing
the strategic behavior. Strategic behavior is concerned with how individuals make decisions
when they recognize that their actions affect, and are affected by, the actions of other individuals
or groups. The Prisoner’s Dilemma is an example of a two-person, non-cooperative,
simultaneous-move, one-shot game in which both players have a strictly dominant strategy A
player has a strictly-dominant strategy if it results in the largest payoff regardless of the strategy
adopted by other players. Nash equilibrium occurs in a non-cooperative game when each player
adopts a strategy that is the best response to what is believed to be the strategy adopted by the
other players. When a game is in Nash equilibrium, neither player can improve their payoff by
unilaterally changing strategies
Dear learner, first, we should clarify what gaming and strategic decision making are all about. In
essence, we are concerned with the following question: If I believe that my competitors are
rational and act to maximize their own profits, how should I take their behavior into account
181
Operations Research
when making my own profit-maximizing decisions? As we will see, this question can be difficult
to answer, even under conditions of complete symmetry and perfect information (i.e., my
competitors and I have the same cost structure and are fully informed about each others' costs,
about demand, etc.). Moreover, we will be concerned with more complex situations in which
firms have different costs, different types of information, and various degrees and forms of
competitive "advantage" and "disadvantage."
The economic games that firms play can be either cooperative or no 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.
An example of a cooperative game is the bargaining between a buyer and a seller over the price
of a rug. If the rug costs $100 to produce and the buyer values the rug at $200, a cooperative
solution to the game is possible because an agreement to sell the rug at any price between $101
and $199 will maximize the gum of the buyer's consumer surplus and the seller's profit, while
making both parties better off. Another cooperative game would involve two firms in an
industry, which negotiate a joint investment to develop a new technology (where neither firm
would have enough know-how to succeed on its own). 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. 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. Note that the fundamental difference between
cooperative and non cooperative games lies in the contracting possibilities. In cooperative games
binding contracts are possible; in non cooperative games they are not. We will be concerned
mostly with non cooperative games. The oligopoly theories we discussed so far are the classical
theory of strategic interaction among firms. Oligopoly economic agents can have been studied by
using the apparatus of game theory. Game theory is concerned with the general analysis of
strategic interaction. It can be used to study:
- Parlor games
- Political negotiation and
- Economic behavior
Thus, in this chapter we will briefly explore this fascinating subject to give you a flavor or how it
works and how it can be used to study economic behavior in oligopolistic markets.
182
Operations Research
Dear colleague, how can we decide on the best strategy for playing a game? How can we determine
the most likely outcome? We need something to help us determine how the rational behavior of each
player will lead to an equilibrium solution. In the above example, from the viewpoint of person A, it
is always better for him to play bottom. Since his/her payoff from this choice (2 or 1) are always
greater than their corresponding entries in top (1 or 0). Similarly, it is always better for B to play
left. Since 2 and 1 dominate 1 and 0. Thus, we would expect that the equilibrium strategy for A is
to play bottom and B to play left
A dominant strategy is the optimal (best) choice of strategy for each player no matter what the
other player does. Whatever choice B makes, player A will get a higher payoff if he/she plays
183
Operations Research
bottom, so it make sense for A to play bottom. And whatever choice A makes, B will get a higher
payoff if he plays left. Hence, bottom and left dominates the alternatives and we have equilibrium in
dominant strategy.
If there is a dominant strategy for each player, in some game, then we would predict that it would be
the equilibrium outcome of the game. In this example, we would expect an equilibrium outcome in
which A plays bottom, receiving an equilibrium pay off of 2, and B plays left, receiving an
equilibrium pay off of 1.
Here when B chooses right, the payoffs to A are 0 or 1. This means that when B chooses left, A
would want to choose top, and when B choose right, A would want to choose bottom. Thus, A’s
optional choice depends on what he thinks B will do and vice versa.
Thus, we will say that a pair of strategies is a Nash equilibrium If A’s choice is optimal given B’s
choice, and B’s choice is optimal given A’s choice. Remember that neither person knows what the
other player will do when he has to make his own choice of strategy. But each person may have
some expectation about what the other person’s choice will be.
Nash equilibrium can be interpreted as a pair of expectations about each person’s choice such that,
when the other person’s choice is revealed neither individual wants to change his behavior.
Therefore,
184
Operations Research
- If A choose top, then the best thing for B is to choose left, since the payoffs to B from
choosing left is 2 and from choosing right is 0.
- And if B chooses left, then A will be better off by choosing top than bottom because (1>0).
Thus (Top, left) is Nash equilibrium. Similarly.
- If A choose bottom, B will choose right and
- If B chooses right, A will choose bottom. Thus (bottom, right) is also Nash equilibrium.
From the above we can conclude that the Nash equilibrium is a generalization of the Cournot
equilibrium for each firm chooses its output level taking the other firm’s choice as being fixed.
Though Nash equilibrium has certain logic, it has the following problems.
1. The game may have more than one Nash equilibriums. From example 2, bottom and
right can also be another equilibrium.
2. There are games that have no Nash equilibrium of the sort we have been describing at all.
The game on Example 3 has no Nash equilibrium..
Player B
Left Right
0,0 0, -1
Top
Player A 1,0 -1,3
Bottom
The above payoff matrix doesn’t have unique or some Nash equilibrium. And, all of them cannot be
equilibrium outcomes. From the above payoff matrix for example,
- If A chooses top, B will choose left- (top, left)
- If B chooses left, A will choose bottom- (left, bottom)
- If A chooses bottom, B will choose right- (bottom, right)
- If B chooses right, A will choose top- (right, top)
- If A chooses top, B will choose left- (top, left)
Although there is a possibility of no Nash equilibrium in pure strategies there exist Nash
equilibrium in Mixed strategies. A pure strategy is a strategy in which the player makes a
specific choice and sticks to it. Dear student, in the previous section we have seen pure
strategies. Mixed strategies are strategies in which a player makes random choice among two or
more possible actions, based on the set of chosen probabilities.
185
Operations Research
If A and B follow the mixed strategy, Let player A chooses Top with a probability p and player B
chooses left with a probability q. The computation of mixed strategy payoffs for each player is as
shown below.
Player B
Left(q) Right(1-q) Player A’s expected payoff
Top(p) 0,0 0,-1 0(q)+0(1-q) = 0
Bottom(1-p) 1,0 -1,3 1(q)+ (-1)(1-q)
Player A
Player A’s 0(p)+0(1-p) 0(p)+3(1-p)
Expected payoffs
Thus, the excepted payoff to A from Top is
0(q) +0(1-q) = 0
Thus, the excepted payoff to A from Bottom is
1(q) + (-1)(1-q) = 2q-1
Therefore, Player A chooses bottom if 2q-1 > 0 and chooses Top if 2q-1 < 0.
The same logic applies to player B.
5.3.The Prisoner’s Dilemma
Another problem of Nash equilibrium is that it doesn’t necessarily lead to Pareto efficient outcome.
Consider for example, the game depicted in the table 4. It refers to a situation where two prisoners
who were partners in a crime were being questioned in separate rooms. Each prisoner has a choice
186
Operations Research
of confessing (guilty) in the crime and there by implicating the other or denying (not guilty) that
he/she had participated in the crime.
- If only one prisoner confessed, then he would go free and the authority (judges) will
throw the book (sentenced) at the other prisoner, requiring him to spend 6 months in
prison.
- If both prisoner denied being involved, then both would be held for 1 month on a
technicality (labor work) and
- If both prisoners confessed they would be both held for 3 months. The payoff matrix
for this game is given as
The prisoner, s dilemma
Player B
Confess Deny
-3, -3 0, -6
Confess
Player A -6, 0 -1, -1
Deny
187
Operations Research
could both be made better off. This applies to a wide range of economic and political phenomena.
Consider, for example, the problem of arms control. Interpret “confess” as “deploy a new missiles”
and the strategy of “deny” as “don’t deploy”. Note that the payoffs are reasonable. If my opponent
deploys his missile, I certainly want to deploy. But if there is no way to make a binding agreement
not to deploy a missile, we each end up deploying the missile and are both made worse off, which is
Pareto inefficient for both of us. However, if there had been a strong binding agreement that forces
us not to deploy a missile or absolute trust among us, both would have been better off by reducing
the likely hood of human and physical capital loss and using the money in activities that will
enhance economic growth and is not only Pareto efficient but also Pareto optimal for both of us.
Another good example is the problem of cheating in a cartel. Now interpret confess a “produce more
than your quota” and interpret deny as “stick to the original quota”. If one firm (A) thinks the other
firm (B) is going to stick to its quota, it will pay to it to produce more than its quota. And if A thinks
that B will overproduce, then A might as well, too. The prisoner’s dilemma provoked controversy
as to what is a reasonable way to play the game. The answer seems to depend on whether you are
playing a one-shot game or the game is to be repeated an indefinite number of time.
188