Operation Research Theory
Operation Research Theory
with a quantitative basis for decision regarding the operation under their control.
OR is a scientific approach to problem solving for executive management.
Management Applications of OR
Scientific Method in OR
2. Research Phase - This includes observations and data collection for better
understanding of what the problem is, formulation of hypothesis and models,
observations and experimentation to test the hypothesis and verification of
the hypothesis using pre-established measures of effectiveness, predictions
of various results from the hypothesis, generalization of the result and
consideration of alternative methods.
3. Action Phase- This includes making recommendations for decision process
by those who first posed the problem for consideration to make a decision
influencing the operations in which the problem occurred.
The main phases through which the OR team would proceed to effect an
OR study include
The Second phase of the study deals with the model construction. Depending on
the definition of the problem, the operation research team should decide on the
most suitable model for representing the system. Such a model should specify
quantitative expressions for the objective and the constraints of the problem in
terms of its decision variables.
The third phase of the study deals with the model solution. In mathematical
models, this is achieved by using well-defined optimization techniques and the
model is said to yield an optimum solution.
The fourth phase calls for checking the model validity. A model is valid if despite
its in exactness in representing the system, it can give a reasonable prediction of
the system’s performance. A common method for using for tests the validity of
the model is to compare its performance with the some past data available for
the actual system.
The final phase of the study deals with the implementation of the tested results of
the model. The burden of executing these results lies primarily with the operation
researchers. It involves the translation of these results into detailed operating
instructions issued in an understandable from the individuals who will administer
and operate the recommended system.
The action phase in OR consists of making recommendations for decision
process by those who first posed the problem for consideration, or by anyone in
a position to make a decision influencing the operation in which the problem
occurred.
1. In Agriculture:
With the explosion of population and consequent shortage of food, every country
is facing the problem of
8. In LIC
Advantages of LPP
Linear programming problems in which constraint may also have > and = signs
after ensuring that all considered. In such problems basis matrix is not
obtained as an identity matrix in the starting simplex table. Therefore we
introduce a new type of variable called the artificial variable. These variables are
fictious and cannot have any physical meaning. The artificial variable technique
is merely a device to get the starting basic feasible solution, so that simplex
procedure may be adopted as usual until the optimal solution is obtained.
Artificial variables can be eliminated from the simplex table as and when they
become from the simplex table as and when they become zero. The process of
eliminating artificial variables is performed in phase I of the solution and phase II
is used to get an optimal solution. Since the solutions of the LP problem is
completed in two phases it is called “Two Phase simplex Method”.
At the state of improving the solution during simplex procedure, minimum ratio of
Xb/Xi is determined in the last column of simplex table to find out the key row, but
the ratio sometimes may not be unique. I.e., key element is not uniquely
determined or at the first iterations, the value of one or more basic variables in
the Xb column become equal to zero, this causes the problem of degeneracy.
The non-negative variables which is added to the left hand side of the constraint
to convert it into equation is called the slack variable.
The Positive variable is subtracted from left hand side of the constraint to convert
it into equation is called the surplus variable.
Basic Feasible Solution: A basic feasible solution is a basic solution which also
satisfies the non-negativity restrictions i.e. all basic variables are non-negative.
LPP in which constraints may also have > and = signs after ensuring that all bi>0
are considered. In such cases basis matrix cannot be obtained as an identity
matrix in the starting simplex table, therefore we introduce a new type of variable
called artificial variable.
Big M method
The following steps are involved in solving LPP using Big M method
Phase 1
In this phase, we construct an auxiliary LPP leading a final simplex table
containing a basic feasible solution to the original problem.
Step 1 Assign cost –1 to each artificial variable and a cost 0 to all other variables
and get a new objective function Z*= A1+A2+A3………… where A is artificial
variable
Step 2. Write down the auxiliary LPP in which the new objective function is to be
maximized subject to the given set of constraints.
Step 3. Solve the auxiliary LPP by simplex method until either of the following
three cases arise:
i) Max Z*<0 and at least one artificial variable appears in the Optimum
basis at positive level
ii) Max Z*=0 and at least one artificial variable appears in the optimum
basis at zero level.
iii) Max Z*=0 and no artificial variable appears in the optimum basis.
In case (i), given LPP does not possess any feasible solution, where as in case
(ii) and (iii) we go to Phase II
Phase II
Use the optimum basic feasible solution of phase I as a starting solution for the
original LPP. Assign the actual costs to the variable in the objective function and
a zero cost to every artificial variable in the basis at zero level. Delete the artificial
variable column from the table which is eliminated from the basis in Phase I.
Apply simplex method to the modified simplex table obtained at the end of Phase
I till an optimum basic feasible is obtained or till there is an indication of
unbounded solution.
Step1. First find out the rows for which the minimum non-negative ratio is the
same (tie), suppose there is a tie between first and third row.
Step2. Now rearrange the columns of the usual simplex table so that the columns
forming the original unit matrix come first in proper order.
Step 3. Find the minimum of the ratio
Elements of the first column of the unit matrix / Corresponding elements of the
key column
Only for the tied rows, i.e. for the first third rows.
If the third row has the minimum ratio then this row will be the key row and
key element can be determined by intersecting the key row with any key
column.
Step 4. Now find the minimum of the ratio, only for the tied rows. If this minimum
ratio is unique for the first row, then this row will be the key row for determining
the key element by intersecting with key column.
If the minimum is also not unique, then go to the next step.
Step 5. Find the minimum of the ratio. The above step is repeated till the
minimum ratio is obtained so as to resolve the degeneracy. After the resolution
of this tie, simplex method is applied to obtain the optimum solution.
Every LPP(Primal) is associated with another LPP (called its dual). Either of the
problem can be considered as primal with the other one as dual.
Z= c1x1+ c2x2+c3x3………
Subject to a1x1+a2x2+………<K1
b1x1+b2x2+………<K2
c1x1+c2x2+………<K3
x1,x2,x3…..≥0
Assignment Problem
The name assignment problem originates from the classical problems where the
objective is to assign number of origins to the equal number of destinations at a
minimum cost.
Suppose there are n jobs to be performed and n persons are available for doing
these jobs. Assume that each person can do job at a time, though with varying
degree of efficiency. Let Cij be the cost of the ith person is assigned the jth job.
The problem is to find out assignment so that the total cost for performing all jobs
minimum.
n n
Min Total cost = Z= Cij Xij
i=1 j=1
i=12……..n, j=1,2,………….n
Optimal Solution:
The first assignment is made in the cell occupying the uppar left hand (Noth-
west) corner of the transportation table. The maximum possible amount is
allocated therein. Ie.x11=min (a1,b1). This value of x11 is then entered in the cell
(1,1) of the transportation table.
Step 2. If b1>a1, move vertically downwards to the second row and make the
second allocation of amount x21=min (a1,b1-x11) in the cell (2,1).
If b1<a1, move horizontally right side to the such row and make the
second allocations of amount x12=min (a1-x11,b2) in the cell (1,2).
If b1=a1, there is a tie for the second allocation. One can make the second
allocation of magnitude x12=min (a1-b1,b2) =0 in the cell (1,2) or x21=min(x2,b1-
b1)=0 in the cell (2,1)
Step 3: Start from the new north-west corner of the transportation table and
repeats above steps until all the requirements are satisfied.
Step 1: Determine the smallest cost in the cost matrix of transportation table. Let
it be Cij
Allocate xij
Step2: If xij=ai, cross out the ith row of the transportation table and decrease bj by
ai
If xij=bi, cross out the jth column of the transportation table and decrease
ai by bj go to step 3
If xij=ai=bj,cross out either the ith row or jth column but not both
Step 3 Repeat steps 1 and 2 for the resulting reduced transportation table until all
requirements are satisfied.
Step1 For each row of the transportation table identify the smallest cost.
Determine the difference between for each row. These are called penalties. Put
them along side the transportation table by enclosing them in the parenthesis
against the respective rows. Similarly compute these penalties for each column.
Step 2. Identify the row or column with the largest penalty among the rows and
columns. If a tie occurs use any arbitrary tie breaking choice. Let the largest
penalty correspond to ith row and let cij be the smallest cost in the ith row.
Allocate the largest possible amount xij=min(ai, bj) in the cell (I,j) and cross out
the ith row and jth column in the usual manner.
Step 3. Again compute the column and row penalties for the reduced
transportation table and then go to step 2. Repeat the procedure until all the
requirements are satisfied.
The Planning phase is initiated by breaking down the project into distinct
activities. The time estimates for the activities are the determined and a network
diagram is constructed with each of its areas representing the activity. The entire
arrow diagram gives a graph representation of the interdependence between the
activities of the project. The ultimate objective of the scheduling phase is to
construct a time chart showing the start and finish times for each activity as well
as its relationship to other activities in the project. In addition the schedule must
pinpoint the critical activities that require special attention if the project is to be
completed on time. For the non-critical activities the schedule must show the
amount of slack or float times that can be used advantageously when such
activities are delayed or when limited resources are to be used effectively.
Activity: Any individual operation, which utilizes resources and has an end
and a beginning is called activity. An arrow is commonly used to represent an
activity with its head indicating the direction of progress in the project.
Dummy Activity: An activity which does not consume any kind of resource but
merely depicts the technological dependence is called dummy activity.
Define Optimistic time and most likely time, and pessimistic time
Optimistic time: It is the shortest possible time in which the activity can be
finished. This is denoted by t0
Most likely time: It is the estimate of the normal time the activity would take.
This assumes normal delays. It is denoted as tm.
Pessimistic time: It represents the longest time the activity could take if
everything goes wrong. It is denoted as tp
Critical path and how it helps project manager: The sequence of critical
activities in a network is called the critical path. Critical path is the longest
path in the network from the starting event to the ending event and defines
the minimum time required to complete the project
It helps project managers find the most important tasks in a project that critically
affect how long a project will take. It helps project managers make an efficient
schedule so they can finish the entire project on time and within budget.
The float of an activity is the amount of time by which it is possible to delay its
completion time without affecting the total project completion time.
Total Float: It is the difference between the time available to perform the activity
and the expected completion time of the activity.
Free Float: It is the time by which the completion of an activity can be delayed
beyond its earliest finish time without affecting the earliest start time of a
succeeding activity is called free float.
Critical Path: The critical path is the continuous chain of critical activities in a
network diagram. It is the longest path starting from time to the last event and is
shown by the thick line or double lines in the network diagram. The length of the
critical path is the sum of the individual time of all the critical activities lying on it
and defines the minimum time required to complete the project.
Total cost comprising of direct and indirect cost. Direct cost is associated with
manpower,leading equipment utilization, materials consumed directly etc, in
respect of various activities. The indirect cost are those expenditures which
cannot be allocated to individual activities of the project. These may include
administration or supervision costs, loss of revenue, fixed overheads etc, while
indirect cost allocated for a project goes up with the increase in project duration.
Direct cost go high as the time for individual activity is reduced, such deliberated
reduction of activity turns by putting extra effort is called crashing of an activity.
Project networks for planning and scheduling are based on two representation
types: Activities on Arcs (AOA) and Activities on Nodes (AON). Each
representation type (AOA or AON) has desirable features that are unique to their
type [16] (see next section for a comparison of AOA to AON). For example,
some advantages of Activities on Arcs (AOA) networks for project network
planning are: (1) each AOA arc has its origin and destination node, conforming
with a "from-to" matrix (incidence matrix), or with variables in a node arc matrix.
(2) AOAnetworks could be arranged in a total unimodular "node-arc" matrix that
ensures an integer solution for integer data. (3) AOA is suitable for some popular
formulations that use pairwise subtractions of AOA node variables.
Pure Strategy: It is decion rule which is always used by the player to select the
particular course of action. Thus each player knows in advance of all strategies
out of which he always selects only one particular strategy irrespective of the
strategy others may choose and the objective of the players is to maximize gains
or minimize losses.
Mixed Strategy: When both the players are guessing as to which course of action
is to be selected on a particular occasion with some fixed probability, it is a mixed
strategic game. Thus, there is a probabilistic situation and objective of the
players is to maximize expected gains or to minimize expected gains or to
minimize expected losses by making a solution among pure strategies with fixed
probabilities.
Maximin Principle: It is the point at which the player select the strategy that gives
largest gain among the row minimum values.
Minimax principle: It is the point at which the player select the strategy that gives
minimum loss among the column maximum values.
Two person, Zero sum games: A game with only two players is called a two
person game. If the value of the game is zero when two players are playing is
called zero sum game.
A game said to be fair if the value of the game is zero.
Value of the game: The payoff at the saddle point is called value of the game; it
is equivalent to maximin or minimax value of the game
When there are two competitors playing a game it is called a two person game.
In case the number of competitors exceeds two say n then the game is termed
as n person game. Games having the zero sum character that the algebraic sum
of gains and losses of all the players is zero are called zero sum games. The
play does not add a single paise to the total wealth of all the players it merely
results in a new distribution of initial money among them. Zero sum games with
two players are called two person zero sum games. In this case the loss(gain) of
one player is exactly equal to the gain(loss) of the other. If the sum of gains or
losses is not equal to zero, then the game is of non-zero sum character or simply
a non-zero sum game.
5.Server utilization.
Lq=λ2/µ(µ-λ)
Ls=λ/(µ-λ)
D1 D2 D3 D4 Supply
O1 5 3 6 2 19
O2 4 7 9 1 37
O3 3 4 7 5 34
Demand 16 18 31 25
p q r s t Supply
a 2 3 5 7 5 17
b 4 1 2 1 6 13
c 2 8 6 1 3 16
d 5 3 7 2 4 20
Demand 15 16 15 10 10
3)Find IBFS by north west corner rule and find out optimal solution by MODI
p q r s Supply
a 10 7 3 6 3
b 1 6 7 3 5
c 7 4 5 3 7
demand 3 2 6 4
4) Find IBFS by north west corner rule and find optimal solution by MODI
p q r Supply
A 0 2 0 70
B 1 4 0 30
C 0 2 4 50
demand 70 50 30 150
p q r Supply
A 4 3 2 10
B 2 5 6 13
C 3 8 6 12
demand 8 5 4
7) A leading firm has three auditors. Each auditor can work upto 160 hours
during the next month, during which time three projects must be
completed. Project I will take 130 hours, project 2 will take 140 hours,
project 3 will take 160 hours. The amount per hour that can be billed for
assigning each auditor to each project is given in the table.
Project
Auditor 1 2 3 Available
A 1200 1500 1900 160
B 1400 1300 1200 160
C 1600 1400 1500 160
Required 130 140 160
Find the optimum solution and also find out maximum total billings during the
next month.
Assignment Problem
2)
a b c d e
A 45 30 65 40 55
B 50 30 25 60 30
C 25 20 15 20 40
D 35 25 30 30 20
E 80 60 60 70 50
3)
a b c d e
A 11 10 18 5 9
B 14 13 12 19 6
C 5 3 4 2 4
D 15 18 17 9 12
E 10 11 19 6 14
4)
W X Y Z
A 18 24 28 32
B 8 13 17 19
C 10 15 19 22
5) Solve the assignment problem to maximize the profit
a b c d e
A 5 11 10 12 4
B 2 4 9 3 5
C 3 12 5 14 6
D 6 14 4 11 7
E 7 9 8 12 5
Game Theory
3)
1 -1 -2
-1 1 1
2 -1 0
4)
5 -2 3
4 2 7
-4 5 -2
Solve by graphically
1)
B1 B2 B3 B4
A1 2 1 0 -2
A2 1 0 3 3
2)
B1 B2 B3
A1 -4 3 -1
A2 6 -4 -2
3)
B1 B2
A1 2 7
A2 3 5
A3 11 2
Job Sequencing
find the sequence which minimizes elapsed time and hence find idle time of
machines
1)
Jobs 1 2 3 4 5
M/A 3 7 4 5 7
M/B 6 2 7 3 4
2)
Jobs 1 2 3 4 5 6
M/A 5 9 4 7 8 6
M/B 7 4 8 3 9 5
3)
Jobs 1 2 3 4 5
M/A 4 9 8 6 5
M/B 5 6 2 3 4
M/C 8 10 6 7 11
4)
Jobs 1 2 3 4 5 6 7
M/A 12 6 5 11 5 7 6
M/B 7 8 9 4 7 8 3
M/C 3 4 1 5 2 3 4