JNTUA JNTUH JNTUK - B Tech - 3 1 - Lecture Notes - MECH - Operations Research or Lecture Notes
JNTUA JNTUH JNTUK - B Tech - 3 1 - Lecture Notes - MECH - Operations Research or Lecture Notes
com
The technique used in operations research has very wide application in various fields of
business/industrial/government/social sector. Few areas of applications are mentioned below:
Production Management
an
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
1. Profit Planning
2. Cash flow analysis
3. Investment policy for maximum return
4. Dividend policies
5. Portfolio analysis
Personnel Management
4. Trade –off analysis for time-cost relationship and control of development project.
r.c
Business Operations
tR
production planning, transportation, financial and revenue management and risk management.
.F
Basically, OR could be used in any situation where improvements in the productivity of the
w
Control
With OR, organizations are greatly relieved from the burden of supervision of all the
routine and mundane tasks. The problem areas are identified analytically and quantitatively.
Tasks such as scheduling and replenishment of inventories benefit immensely from OR.
Decision Making
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Coordination
Various departments in the organization can be coordinated well with suitable OR. This
facilitates smooth functioning for the entire organization.
Systems
With OR, any organization follows a systematic approach for the conduct of its business.
OR essentially emphasizes the use of computers in decision making; hence the chances of errors
are minimum.
Classification of OR Models
The first thing one has to do to use O.R. technique after formulating a practical problem
is to construct a suitable model to represent the a practical problem. A model is a
reasonably simplified representation of a real-world situration. It is a abstraction of
reality. The model can broadly be classified as
om
Iconic(Physical) Models
r.c
Analog Models
ke
an
Mathematical Models
tR
Also as
irs
Static Models
.F
w
Dynamic Models
w
w
Deterministic Models
Stochastic Models
Descriptive Models
Prescriptive Models
Predictive Models
Analytic Models
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Simulation Models
Iconic Model:
This is physical or pictorial representation of various aspects of a system.
Example: Toy, Miniature Model of a building, scaled up model of a cell in biology etc.
This uses one set of properties to represent another set of properties which a system
under study has
This uses a set of mathematical symbols (letters, numbers etc) to represent the decision
variables of a system consideration. These variables related by mathematical equations
or in equations which describes the properties of the system.
om
Static Model:
an
tR
This is a model which does not take time into account. It assumes that the values of the
irs
variables do not change with time during a certain period of time horizon.
.F
problem etc.
w
w
Dynamic Model:
Deterministic model:
Stochastic model:
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Descriptive model:
Predictive Model is one which predicts something based on some data. Predicting
election results before actually the counting is completed.
Prescriptive model is one which prescribes or suggests a course of action for a problem
Example: Any programming (linear, non linear, dynamic, geometric etc.) problem
Analytic model:
device which will react in the same manner as reality under a given set of conditions.
Once a simulation model is designed, if takes only a little time, in general , to run a
r.c
simulation on a computers.
ke
an
tR
Phases of O.R
irs
.F
involved and the constraints that arise involving the decision variables.
w
which may be total profit, total cost, utility etc., to be optimized by a Mathematical
function called objective function. Representing the constraints like budget
constraints, raw materials constraints, resource mathematical equations or
inequalities.
3) Solving the Model constructed: Determining the solution by analytic or iterative or
Monte-Carlo method depending upon the structure of the mathematical model.
4) Controlling and Updating
5) Testing the model and its solution i.e., validating the model: Checking as far as
possible either from the past available data or by expertise and experience
whether the model gives a solution which can be used in practice.
6) Implementation: Implement using the solution to achieve the desired goal.
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Linear Programming
Linear programming is a mathematical programming technique to optimize the
performance (profit or cost), under a set of resource constraints (Machine hours, money,
material, time men hours etc). As a special by an organization the usefulness of this technique is
maximize even though the competitions in a linear programming model are two elaborate a
sample list of applications of the linear programming problem is presented below.
The model of any linear programming problem will contain objective fuction, set of
constraints and non – ve restrictions. Each of the company may consist of one of more of the
following.
1. Decision variables
2. Objective function coefficients
om
3. Technological co efficient
4. Resource availabilities
r.c
ke
A company manufactures two different types of product P1 and P2. Each type of product
tR
requires processing of milling machine and drilling machine. Each type of machine as limited
irs
hours available for week the net profit per unit of the product resource requirement of the
.F
products of the products and availability of the sources are summarizing in table.
w
w
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Solution
Let ‘n’ be the no. of products to be manufacture and ‘m’ be the different machine types
Decision variables
The decision variable is used represent the levels of achievement of a particular course of
action. The solution of LPP will provide the optimal value for each and every decision variable
of the model a generalize definition of a decision variable is presented below
From the example ‘x1’ is the production volume of product ‘P1’. ‘x2’ is the production
volume of the ‘P2’ and ‘x1’ and ‘x2’ are called decision variables.
It is a constant representing the profit or cost per unit of the caring out an activity.
Let C1, C2, …… Cn be the profit per unit of the products P1, P2, P3 … Pn respectively then
from the example C1 is the profit per unit of the product ‘P1’ which is equal to Rs. 250 and ‘C2’
be the profit per unit of the product ‘P2’. Which is equal to Rs.400 In this example ‘C1’ and ‘C2’
om
Objective function
ke
It is an expression representing the total profit or cost per caring our. A set of objectives
an
at some levels the objective function will be maximization or minimization. The benefit related
tR
objective function will come under maximization. Whereas the cost related objective function
irs
will come under minimization type a generalized format of the objective function is presented
.F
below.
w
w
Technological coefficients
The technological coefficients are the amount of resource ‘i’ required for activity ‘j’.
Where ‘i’ varies from 1, 2, 3 …n and j varies from 1, 2, 3, …… m. A generalized formal of the
technological coefficients matrix is
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Resource Availability
The constraints ‘b’ is the amount of resource ‘i’ available during the planning period.
b1
b
2
. b1 200
From the example =
. b2 240
.
bn
om
r.c
A constraint is kind of restriction and the total amount of a particular resource required to
an
carry out at various levels in a model there will be many such constraints so the constraints will
tR
reveal the levels of achievement different decision variables. A generalized form of the
irs
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
a11 x1 + a12 x2 b1
a21 x1 + a22 x2 b2
substitute the value of a11 , a12 , a21 , a22, b1 and b2
2x1 + 5 x2 200
4 x1 + 2 x2 240
Each and every decision variable in the linear programming model is a non negative
variable. The condition is represents as complete model this example
Optimum solution
r.c
ke
If there is no other superior solution to the solution obtained for a given linear
an
programming model then the solution is obtained a treated as the optimum solution.
tR
Feasible solution
irs
.F
If all the constraints of the linear programming model are satisfied by the solution of the
w
Infeasible solution
When the constraints are not satisfied simultaneously, the LPP has no feasible solution.
That solution is called infeasible solution. This means that there is no solution for the given
model which can be implements.
Unbounded solution
When the values of the decision variable may be increased indefinitely or infinitely
without violating any of constraints, the solution space (feasible region) is unbounded. The value
of objective function in such cases, may increase (for maximization) or decrease (for
minimization) indefinitely. Thus both solution space and objective function value are
unbounded.
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Bounded solution
When the values of the decision variable may by definite or finite with violating any of
constraints, the solution space (feasible region) is bounded.
The major steps in the solution of a linear programming problem by graphical method are
summarized as follows:
Step 1: identify the problem – the decision variables, the objective and restrictions.
Step 3: Plot a graph representing all the constraints of the problem and identify the feasible
region (solution space). The feasible region is the intersection of all the regions represented by
the constraints of the problem and is restricted to the first quadrant only.
om
Step 4: The feasible region obtained in “step – 3” may be bounded or unbounded. Compute the
r.c
Step 5: Find out the value of the objective function at each corner (solution) point determined in
“step -4”.
tR
irs
Step 6: Select the corner point that optimizes (maximizes or minimizes) the value of the
.F
Slack Variables:
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Ex:
2 x1 + 4 x2 3
3 x1 + 5 x2 4
convert them into equations
2 x1 + 4 x2 + s1 = 3
3 x1 + 5 x2 + s2 = 4
where s1 and s 2 are slack variables
Surplus variables
Ex:
2 x1 + 4 x2 3
3x1 + 5 x2 4
convert them into equations
2 x1 + 4 x2 − s1 = 3
om
3x1 + 5 x2 − s2 = 4
r.c
Min Z = -Max Z*
Step 2: check whether the right hand side constants are non – negative (positive)
Case b: if at least one of the constant is negative (-ve) then we converting into +ve value
by multiplying the corresponding constraint by “-1”.
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Step 3: Introduce slack and surplus variables to the constraints and the cost of objective function
becomes zero.
Step 4: Express the given objective functions and constraints in matrix form.
Step 5: Check whether there exist initial basic feasible solution (IBFS).
Cj C1 C2 C3……………………Cn
CB SB XB X1 X2 X3…………………… Xn S1 S2 S3 …………… Sn
Zj –Cj
Step 9: Check whether all the net evaluations are non –ve.
r.c
ke
Step 10: Find entering variable which is most –ve net evaluation i.e., Min −( Z j − C j )
irs
.F
w
XB
Min , Entering column elements > 0.
Entering column elements
Step 12: Find pivotal or key element which is intersection of both entering and leaving variables.
New values of the Non key row = Old values of the Non key row - (Non key element) (New values of the key row
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Step 14: Repeat the procedure. Step 5 to step 12. Until optimum solution are unbounded solution
has been obtained.
Case b: If it is minimization type then we convert them into maximization type by using
relation.
Min Z = -Max Z*
Step 2: Check whether the right hand side constants are non –ve
Case b: If it is –ve or negative then we convert them into positive (+ve) by multiplying
the corresponding constraint by “-1” Automatically the signs will also change.
om
Step 3: Express the given objective function and constraints in matrix form.
r.c
Case b: If it is not so, then introduce artificial variable to the constraints ≥ type and the
cost co-efficient objective function becomes “-M”.
irs
.F
C1 C2 C3………Cn
w
Cj
CB SB XB X1 X2 X3…… Xn S1 S2 S3 …..Sn A1,A2,…………An
Zj –Cj
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
i) If all net evaluations are non –ve. If at least one artificial variable.
Still in the basis not at zero level then there exist infeasible solution.
ii) If all net evaluations are non –ve and if at least one artificial variable still in the
basis at zero level then there exist optimum solution.
iii) If all net evaluations are non –ve there is no artificial variable in the basis then
there exist optimum solution.
Step 10: Find entering variable which is most –ve net evaluation i.e., Min −( Z j − C j )
XB
Min , Entering column elements > 0.
Entering column elements
om
Step 12: Find pivotal or key element which is intersection of both entering and leaving variables.
r.c
Key element
irs
New values of the Non key row = Old values of the Non key row - (Non key element) (New values of the key row)
.F
w
w
Step 14: Repeat the procedure. Step 7 to step 13. Until optimum solution are unbounded solution
w
Every LPP there always exist another LPP which is basing on the same data and having
same solution. The original problem is called “Primal problem” the associated one is called
“Dual Problem”.
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
If the system of constraints in a given LPP consist of mixed equations (or ) in equations
non –ve variables or unrestricted variables then the dual of the given problem can be obtained
by reducing to standard primal problem.
Step 2: If the constraints as ≥ type then we converts them into ≤ type by multiplying -1.
Step 3: If the constraints as an equal sign then it is replaced by two constraints involving the in
equalities is in opposite direction simultaneously.
Step 4: Every unrestricted variables is replaced by difference of “2” Non –ve variable.
Step 5: We get the standard primal form of the given LPP in which
Case a: All the constraints have ≤ type the objective function is maximization.
Case b: All the constraints have ≥ type when the objective function is minimization.
Step 6: Identify the variables to be used in the dual problem. The no. of these variables equals to
the no. of constraints in the primal problem.
om
Step7: Write the objective function. Objective function coefficient is the Right hand side
r.c
constraints of primal constraints. If the primal problem is of maximization type the dual will be
ke
Step 8: Making use of “Step 6” write the constraints for the dual problem
tR
irs
Case a: If the primal is a maximization problem the dual constraints must be all are ≥
.F
type, If the primal is minimization problem the dual constraints must be all are ≤ type.
w
w
Case b: The column co-efficient of the primal constraints become the row coefficients of
w
dual constraints.
Case c: The co-efficient the primal objective function become the right hand side
constants of the dual constraints.
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Agricultural Application:
This application fall into categories of farm economics and farm management. The farm
deals with agricultural economy of a nation or region.
Linear programming study of farm economics deals with interregional competition and
optimum allocation of crop production.
Production Management:
Product Mix: A company can produce several different products each of which requires the use
of limited production resources. In such cases, it is essential to determine the quantity of each
om
product to be produced knowing its marginal contribution and amount of available resources
r.c
used by it. The objective is to maximize the total contribution, subject to all constraints.
ke
Production planning: This deals with determination of minimum cost6 production plan over
an
planning period of an item with a fluctuating demand, considering the initial number of units in
tR
Financial Management
.F
w
Portfolio Selection: This deals with the selection of specific investment activity among several
w
other activities. The objective is to find the allocation which maximizes the total expected return
w
Profit planning: This deals with the maximization of the profit margin form investment in plant
facilities and equipment, cash in hand and inventory.
Marketing management:
Medial selection: Linear programming techniques help in determining the advertising media
mix. So as to maximize the effective exposure, subject to limitation of budget, specified
exposure rates. To different market segments, specified minimum and maximum no. of
advertisements in various media.
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Transportation Problem
Introduction:
The transportation problem is one of the subclasses of LPPs in which goods are
transported from a set of sources to a set of destinations subject to the supply and demand of
the source and destination, respectively, such that the total cost of transportation is minimized.
of shipping
tR
warehouses of shipping
.F
w
warehouses of shipping
w
The solution of transportation problem can be obtained in two stages, namely initial solution or
initial basic feasible solution and optimum solution.
Initial solution
Initial solution cam be obtained by using any one of the three methods viz.,
1
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
VAM is preferred over the other two methods, since the initial basic feasible solution obtained
by this method is either optimal of very close to the optimal solution.
Optimum solution
The improved solution of the initial basic feasible solution is called optimal solution which is the
second stage of solution that can be obtained by MODI (modified distribution method) or U-V
method.
Step 2 : Allocate this minimum value to the current northwest-corner cell and subtract this
minimum from the supply and demand values with respect to the current northwest-corner cell.
Step3 : Check whether exactly one of the row/column corresponding to the northwest-corner
cell has zero supply/demand, respectively. If so, go to step 4.
om
Step4 : Delete that row/column with respect to the current northwest-corner cell which has the
r.c
Step5 : Repeat above steps moving down towards the lower right corner of the transportation
an
Step 1 : Find the minimum of the values in the cost matrix (i.e. find the matrix minimum).
w
w
Step 2 : Find the minimum of the supply and demand values(X) with respect to the cell
w
Step 3 : Allocate X units to the cell with the matrix minimum. Also, subtract X units from the
supply and the demand values corresponding to the cell with the matrix minimum.
Step 4 : Check whether exactly one of the row/column corresponding to the cell with the matrix
minimum has zero supply/demand, respectively. If yes, go to step 5.
Step 5 : Delete that row/column with respect to the cell with the matrix minimum which has the
zero supply/zero demand.
Step 6 : Repeat above steps for the resulting reduced transportation table until all the rim
requirements are satisfied.
2
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Step 2 : Find column penalties, i.e. the difference between the first minimum and the second
minimum in each column. If the two minimum values are equal, then the column penalty is zero.
Step 3 : Find the maximum amongst the row penalties and column penalties and identify
whether it occurs in a row or in a column. If the maximum penalty is in a row, go to step 4
otherwise go to step 7.
Step 4 : Identify the cell for allocation which has the least cost in that row.
Step 5 : Find the minimum of the supply and demand values with respect to the selected cell.
Step 6 : Allocate this minimum value to that cell and subtract this minimum from the supply and
demand values with respect to the selected cell and go to step 10.
Step 7 : Identify the cell for allocation which has the least cost in that column.
Step 8 : Find the minimum of the supply and demand values with respect to the selected cell.
om
Step 9 : Allocate this minimum value to the selected cell and subtract this minimum from the
r.c
Step 10 : Check whether exactly one of the rows and the column corresponding to the selected
an
Step 11 : Delete the row/column which has the zero supply/zero demand and revise the
irs
Step 12 : Repeat the procedure until all the rim requirements are satisfied.
w
w
Step 2 : Check whether the number of basic cells (occupied cells) in the set of initial basic
feasible solution is equal to m+n-1. If yes go to next step.
Step 3 : Compute the values for U1, U2, U3, ………. Um and V1, V2, V3, V4, …………. Vn by applying the
following formula to all the basic cells only.
3
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Ui + Vj = cij
Step 5 : Compute penalties Pij or the non-basic cells by using the formula.
Pij = Ui + Vj - cij
Step 6 : Check whether all Pij values are less than or equal to zero . If yes, go to step 11,
otherwise, go to step 7.
Step 7 : Identify the non-basic cell which has the maximum positive penalty, and term that cell
as the new basic cell.
Step 8 : Starting from the new cell, draw a closed loop consisting of only horizontal and vertical
lines passing through some basic cells.(Note : Change of direction of the loop should be with 90
degrees only at some basic cell.)
Step 9 : Starting from the new basic cell, alternatively assign positive(+) and negative (-) signs at
the corners of the closed loop.
Step 10: Find the minimum of the allocations made amongst the negatively signed cells.
Step 11 : The optimality is reached. Treat the present allocations to the set of basic cells as the
optimum allocations.
om
r.c
ke
Assignment Problem
an
Introduction
tR
irs
The objective of assignment problem is to assign a number of origins (jobs) to the equal number
.F
Step 2: Add a dummy source or dummy destination, so that the cost table becomes a square
matrix. The cost entries of dummy source/destinations are always zero.
Step 3: locate smallest element in each row of the given cost matrix and then subtract the same
from each element of that row.
4
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Step 4: in the reduced matrix obtained in step3, locate the smallest element of each column and
then subtract the same from each element of that column. Each column and row now have at
least one zero.
Step 5: in the modified matrix obtained in step4, search for an optimal assignment as follows:
a. Examine the rows successively until a row with a single zero is found. Enrectangle this
zero (□) and cross off (x) all other zeros in its column. Continue in its manner until all the
rows have been taken care of.
b. Repeat the procedure of each column of the reduced matrix.
c. If a row and/or column has two or more zeros and one cannot be chosen byt inspection,
then assign arbitrary any one of these zeros and cross off all other zero of that
row/column.
d. Repeat (I) through (III) above successively until the chain of assigning (□) or cross (x)
ends. Solution is reached.
Step 6: if the number of assignments (□) is equal to n (the order of matrix) , an optimum
solution is reached
If the number of assignment is less than n (the order of matrix), go to next step.
Step 7: Draw the minimum number of horizontal and/or vertical lines to cover all the zeros of
om
the reduced matrix. This can be conveniently done be using a simple procedure:
r.c
d. Repeat (b) and (c) above until the chain of making is completed.
tR
e. Draw lines through all the unmarked rows and marked columns. This gives us the
irs
a. Find the smallest element of the reduced matrix not covered by any of the lines.
w
b. Subtract this element form all the unmarked elements and add the same to all the
Elements lying at the intersection of any two lines.
Step 9: Go to step 6 and repeat the procedure until an optimum solution is attained.
5
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Sequencing problems
Introduction:
The selection of an appropriate order for a series of jobs to be done on a finite
number of service facilities, in some pre-assigned order, is called sequencing.
The general sequencing problem may be defined as: Let there be n jobs to be
performed one at a time on on each of m machines. The sequence (order) of the
machines in which each job should be performed is given. The actual or
expected time required by the jobs on each of the machines is also given. The
general sequencing problem, therefore, is to find the sequence out of (n!)m
possible sequences which minimize the total elapsed time between the start of
the job in the first machine and the completion of the job on the last machine.
Assumptions:
om
• The time taken by each job in changing over from one machine to another
irs
is negligible.
.F
w
• A job starts on the machine as soon as the job and the machine both are
w
idle and job is next to the machine and the machine is also next to the job.
w
Basic Terms:
Number of Machines: It refers to the no. of service facilities through which a job
must pass before it is assumed to be completed.
6
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Processing Order: It refers to the order (sequence) in which given machines are
required for completing the job.
Total Elapsed Time: It is the time interval between starting the 1 st job and
completing the last job including the idle time in a particular order by the given
set of machines.
Idle time on a machine: It is the time for which a machine does not have a job
to process, i.e. idle time from the end of job (i-1) to the start of jobs i.
No passing rule: It refers to the rule of maintaining the order in which jobs are to
be processed on given machines.
M1 : t 11 t 12 t 13 .......... t 1n
ke
ProcessingTime on machine
an
M 2 : t 21 t 22 t 23 .......... t 2n
tR
irs
.F
2. Examine the rows for processing times on machines M1 and M2, and find
w
the smallest processing time in each row, i.e. find out min.(t1j, t2j) for all j.
w
3. If the smallest processing time is for the first machine M1, then place the
w
7
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
d) Cross off the jobs already assigned and repeat steps 1 through 4, placing
the remaining jobs next to first or next to last, until all the jobs have been
assigned
➢ Calculate idle time for machines M1 and M2:
Idle time for M1 = Total elapsed time –(time when the last job in a
sequence finishes on M1.
Idle time for M2= Time at which the 1st job in a sequence finishes on
M1 + (time when the jth job in a sequence starts on M 2) – {(time
when the (j-1)th job in a sequences finishes on M2)}
Total elapsed time = Time when the nth job in a sequence finishes on machine M 2
n n
= t 2j + I 2j
j= 2 j= 2
Let there be ‘n’ jobs, each of with is to be processed through ‘m’ machines, says
.F
M1, M2, M3,….. Mk, in order M1, M2, M3,….. Mk,. the list of jobs with their
w
w
8
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Step 1: Find Min t1j, Min tkj and Maximum of each of t2j,t3j,….tk-1j for all j = 1,2,…n
Step 3: If the inequalities of step 2 are not satisified, method fails. Otherwise go
to next step.
G = t1 j + t2 j + t3 j ....tk −1 j
om
H = t2 j + t3 j + t4 j ....tkj
r.c
ke
Step 5: Determine the optimal sequence for the ‘n’ jobs and ‘2’ machines equitant
an
discussed earlier the resulting sequence shall be optimum for the given problem.
irs
Example 1. Use graphical method to minimize the time needed to process the
w
following jobs on the machines shown below also calculate the total time needed
w
Job1 A B C D E
Job 2 C A D E B
Solution:
Step -1: First draw a set of axes, where the horizontal axis represents processing
time on job 1 and the vertical axis represents processing time on job 2.
Step 2: layout the machine time for two jobs on the corresponding axes in the
technological order machine A takes 2 hours for job 1 and 5 hours for job 2.
9
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Construct the rectangular PQRS for the machine A. Similarly, other rectangular
for machine B,C,D and E are constructed as shown in fig.
Step 3: make a program by starting from the origin O and moving through
various stages of Completion (points) until the point marked finish is obtained.
Physical interpretation of the path thus chosen involves the series of segments
which are horizontal or vertical or diagonal making an angle of 450 with the
horizontal. Moving to the right means that job1 is proceeding while job 2 is idle
and moving upward means that job 2 is proceeding while job 1 is idle and moving
diagonally means that both the jobs are proceeding simultaneously. Further both
the jobs cannot be processed simultaneously on the same machine. Graphically
diagonal movement through the
blocked out (shaded) area is not allowed and similarly for other machines too.
Step 4: (To find an optimal path) An optimal path is one that minimizes idle for
job1 (horizontal) and job 2 (vertical movement). Choose such a path on which
diagonal moment is as much as possible.
Step 5: (to find the elapsed time). The elapsed time is obtained by adding the
idle time either of the job to the processing time for that job. In this problem the
idle time for the chosen path is seen to be 3hrs for the 1 and 0 for the job 2. Thus
the total elapsed time, 17 + 3 = 20hrs
om
r.c
ke
an
tR
irs
.F
w
w
w
10
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Replacement problems
Introduction: Replacement problems `are concerned with the situation that arise
when some items such as men, machines, electric-light bulbs, etc. Need replacement
due to their decreased efficiency, failure or break down. The deteriorating efficiency or
complete breakdown may be either grzadual or sudden,
(i) An item fails and does not work at all or the item is expected to fail shortly.
(ii) An item deteriorates and need expensive maintenance.
(iii) A better design of the equipment is available.
(iv) It is economical to replace equipment in anticipation of costly failure.
1) Gradual Failure: The machanis under this category is progressive. That is, as
ke
For example: Mechanical items like bearings, rings etc. Another example is
.F
‘Automobile tires,
w
w
2) Sudden Failure: This type of failure is applicable to those items that do not
w
deteriorate markedly with service but which ultimately fail after some period of
using. The period between installation and failure is not constant for any
particular type of equipment but will follow some frequency distribution which
may be progressive, retrogressive or random in nature.
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Case I: When time (t) is a continuous variable: If the equipment is used for ‘n’ years,
then the total cost incurred during this period is given by
om
r.c
ke
an
tR
irs
.F
w
w
w
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
+ f ( t )dt = 0
dn n n0
d d d
Q Using dn (UV ) = V dn (U ) + U dn (V )
d 1
om
d C−S
n
+ f ( t )dt =0
dn n 0
n
dn n
r.c
1
U = n and V = f ( t )dt
ke
0
an
C−S 1
n
1 d n
=− +− 2 f ( t )dt + f ( n ) =0 Q f ( t )dt = f ( n )
tR
n2 n 0
n dn 0
irs
C−S 1
n
1
.F
= + 2 f ( t )dt − n f ( n ) =0
w
n2 n 0
w
w
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
C−S 1
n
1
f (n) = + 2 f ( t )dt
n n2 n 0
C−S 1
n
f (n) = + f ( t )dt
n n0
f ( n) = A( n)
d2
A ( n ) 0 at f ( n ) = A ( n )
dn 2
i.e., when the maintenance cost becomes equal to the average annual cost, the
decision should be to replace the equipment.
C−S 1 n
r.c
A( n) = + f (t )
ke
n n i =0
an
A ( n + 1) A ( n ) and A ( n − 1) A ( n ) or
irs
A ( n + 1) − A ( n ) 0 and A ( n − 1) − A ( n ) 0
.F
w
w
C−S 1 n +1
A ( n + 1) =
n +1
+ f
n + 1 i =0
(t )
C−S 1 n
=
n +1
+
n +1
f
i =0
(t ) + f ( n + 1)
C−S 1 n
1
=
n +1
+
n +1
f
i =0
(t ) +
n +1
f ( n + 1)
1 n
1
=
n +1
C−S + f ( t ) + n + 1 f ( n + 1)
i =0
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
n
=
1
n +1
( nA ( n ) ) +
1
n +1
f ( n + 1) Q nA ( n ) = C − S + f (t )
i =0
We subtract A ( n ) on both sides
A ( n + 1) − A ( n ) =
1
n +1
( nA ( n ) ) +
1
n +1
f ( n + 1) − A ( n )
=
1
n +1
( f ( n + 1) − A ( n ) )
A ( n + 1) − A ( n ) 0
1
n +1
( f ( n + 1) − A ( n ) ) 0
f ( n + 1) − A ( n ) 0
f ( n + 1) A ( n )
Similarly it can shown that
A ( n ) − A ( n − 1) 0 f ( n ) A ( n − 1)
th
maintenance cost in the year is more than
r.c
In this case, the investor is paying interest on the money that has been invested. We
assume that
(i) The maintenance costs are incurred at the beginning of time periods; and
(ii) The maintenance costs increase with time.
Let the money carry an interest rate of r% per year, i.e., one rupee in n years time is
equivalent to Rs. (1+r)-n today.
(1+r)-n is called the present worth factor of rupee one spent n years after now.
(1+r)n is the payment compound amount factor of rupee one spent in n years time.
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Let
C : Initial cost of equipment
R : Running cost of the equipment in year .
V : Rate of interest or Present worth factor
V = (1 + r )
−1
1−V n
Now Vn is minimum
Vn +1 Vn and Vn −1 Vn
om
r.c
n
C + V k Rk
ke
Vn +1 − Vn = k =0
− Vn
an
1 − V n +1
tR
C + V k Rk − Vn (1 − V n +1 )
n
irs
.F
= k =0
w
1 − V n +1
w
w
n −1
C +
n −1
V k
R
k + V R n − Vn (1 − V
n n +1
) C + V k
R k
k =0 Q Vn = k =0
= 1 − V n
1 − V n +1 −
( )n
n 1
1 − V n
V = C +
k =0
V k
Rk
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
=
(1 − V )V
n
n + V n Rn − Vn (1 − V n V )
1 − V n +1
Vn − V nVn + V n Rn − Vn + Vn V n V
=
1 − V n +1
V n ( Rn − Vn + Vn V )
=
1 − V n +1
V n ( Rn − (1 − V )Vn )
=
1 − V n +1
Vn +1 − Vn 0
V n ( Rn − (1 − V )Vn )
n +1
0
1−V
V n ( Rn − (1 − V )Vn ) 0
om
( R − (1 − V )V ) 0
r.c
ke
n n
Rn (1 − V )Vn − − − − − − − − − − − − − − − − (1)
an
tR
and similarly
irs
V n −1 ( Rn −1 − (1 − v )Vn )
.F
w
Vn − Vn −1 =
w
1 − V n −1
w
Vn − Vn −1 0
V n −1 ( Rn −1 − (1 − V )Vn )
0
1 − V n −1
Rn −1 (1 − V )Vn − − − − − − − − − − − − (2)
From (1) and ( 2 )
Rn −1 (1 − V )Vn Rn
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
GAME THEORY
Introduction:
For example: candidates for an election advertising and marketing campaigns by competing
business firms, countries involved in military bottles etc.
Player: the participants or competitors in the game are known as players. A player may be
individual or group of individuals.
om
r.c
Strategy: A strategy for a player is defined as a set of rules of alternative courses of action
available to him in advance, by which player decides the course of action that he should adopt
ke
➢ Pure strategy
irs
➢ Mixed strategy
.F
w
Pure strategy: If the player select the game strategy each time , then it is referred to as pure-
w
w
Mixed strategy: When the player use a combination of strategies and each player always kept
guessing as to which course of action is to be selected by the other player at a particular
occasion then this is known as mixed strategy. There is a probabilistic situation and objective of
the player is to maximize expected gains or to minimize losses.
Optimum strategy: A course of action or play which puts the player in the most preferred
position, irrespective of the strategy of his competitors is called an optimum strategy.
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Pay-off matrix:
When the players select their particular strategies. The pay-off (gains of losses) can be
represented in the form of a matrix called the payoff matrix.
Player B
a11 a12 a13
Player A a 21 a 22 a 23
a 31 a 32 a 33
Let player ‘A’ have ‘m’ strategies A and player ‘B’ have ‘n’ strategies. It is assume that
each player has his choices from amongst the pure strategies. Also it is assumed that player ‘A’
is always the gainer and player ‘B’ is always looser.
Value of the Game: It is the expected pay off of play when all the players of the game follow
their optimum strategies. The game is called value of the game
om
Optimum strategy:
r.c
A course of action or play which puts the player in the most preferred position
ke
It is the expected pay off of play when all the players of the game follow their optimum
.F
strategies. The game is called fair is the value of the game is zero and unfair if it is non-zero.
w
w
Saddle Point:
w
The definition of pure strategy states that both the players use the same strategy every
time and that is the best strategy from the points of both players. In such case, the strategy
indicates the saddle point, which is the point maximum gain for A and minimum loss for B.
We may now summarize the procedure of locating the saddle point of a pay off matrix
as follows:
Step 1: select the minimum element of each row of the pay off matrix and mark them (*)
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Step 2: select the maximum element of each column of the pay off matrix and mark them (+)
Step 3: if there appears an element in the pay off matrix in the pay off matrix marked (*) and (+)
both, the position of that element is a saddle point of the pay off matrix
When there are no saddle points in the game, pure strategies as optimal strategies are
not available. Such games can be resolved by using mixed strategy and following methods can
be adopted
1. Algebraic method.
2. Graphic method
3. Dominance method.
4. Linear programming method
Algebraic method:
The general formulae can be derived algebraically from the matrix in the following
om
manner. The matrix so obtained from rule of dominance can be written as:
r.c
Player B
ke
a a12 p1
Player A 11
an
a 21 a 22 p2
tR
q1 q2
irs
A A2
SA = 1
w
p1 p2
w
a22 − a21
p1 =
(a22 + a11 ) − (a12 + a21 )
p2 = 1 − p1
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
A A2
SB = 1
q1 q2
a22 − a12
q1 =
(a22 + a11 ) − (a12 + a21 )
q2 = 1 − q1
Where P = probability or chance of player A using strategy and q of player B using strategy.
Graphical Method:
Some games will be specialized nature like 2 n or m 2 m 2 games. The pay off matrix
for the 2 n games will contain 2 rows and n columns, where as the pay off matrix of the m 2
om
game will contain ‘m’ rows and 2 columns. If there is no saddle point for these games, one can
r.c
If the given pay off matrix is 2 n (no. of rows are 2 and no. of columns are more than 2). Then
irs
Step 1: Plot the gain function on a graph assuming a suitable scale. Keep x on X-axis and gain on
w
w
y-axis.
w
Step 2: Since the player A is a maximum player, find the highest intersection point in lower
boundary of the graph. Let it be maximum point
Step 3: if the number of lines passing through the maximum point is only two, from 2 2 pay
off matrix form the original problem by retaining and go to step 8 otherwise go to step 7.
Step 4: identify any two lines with opposite slopes passing through that point. Then from 2 2
pay off matrix form the original problem by retaining only column corresponding to those two
lines which is having opposite slopes.
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Step 5: Solve 2 2 game using oddments and find strategies for player ‘A’ and ‘B’ and also value
of game.
If the given pay off matrix is m 2 (no. of rows are more than 2 and no. of columns are 2). Then
we follow the steps
Step 1: plot the gain function on a graph function on a graph by assuming a suitable scale, keep
‘y’ on ‘x-axis’ and gain on ‘y – axis’.
Step 2: since B is minimax player, find lowest intersection point in the upper boundary of the
graph. Let it be the minimax point.
Step 3: if number of lines passing through minimax point is only two, form a m 2 pay off
matrix form original problem by retaining only the row corresponding to those two lines and go
to step 8, otherwise go to step 7.
Step 4: identify any two lines with opposite slopes passing through that point the form 2 2
pay off matrix form the original by retaining only the rows corresponding to two lines which are
om
Step 5: solve the 2 2 game using oddments and find strategies for player ‘A’ and player ‘B’
and also the value of the game.
r.c
ke
Dominance Method:
an
Some times it is observed that one of pure strategies of either player is always inferior
tR
to at least one of remaining one. The superior strategies are said to dominate the inferior one.
irs
Clearly a player would have to incentive to use inferior strategies which are dominated by
.F
superior one. In such cases of dominance, we can reduce the size of pay off matrix by deleting
w
those strategies which are dominated by others. Thus if each element in one row say k th of pay
w
w
off matrix (aij) is less than or equal to the corresponding elements in some other row say r th
then player A will never choose k th strategy in other words probability Pk =P (choosing the kth
strategy) is zero, if akj < arj for all j =1,2,3,….,n
The value of the game and the non – zero choice of probabilities remain unchanged
even after the deletion of kth row from the pay off matrix. In such a case the kth strategy is said
to be dominated by r th one.
1) If all the elements of a row say rth less than or equal to the corresponding elements of
any other row say rth then kth is dominated by r the row.
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
2) If all elements of a column, say kth are greater than or equal to the corresponding
elements of any other column say rth then kth column is dominated by rth column.
3) Dominated rows and columns can be deleted to reduce the size of pay off matrix is
optimal strategies will remain unaffected.
The dominance property is not always based on superiority of pure strategies only. A
given strategy can also be said to be dominated if it is inferior to an average of two or more
other pure strategies more generally. If some convex linear combination of some rows
dominates the ith row, then ith row will be deleted similar arguments follow for columns.
om
r.c
ke
an
tR
irs
.F
w
w
w
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Queue called the waiting line in order to maintain a proper discipline. Here the arriving
people are called customers and the persons issuing the ticket are called a Server.
Queuing System:
The input describes the way in which the customers arrive and join the system.
Generally the customers arrive in more or less random fashion which is not worth making the
prediction. Thus the arrival pattern can be described in terms of probability distribution for
inter arrival times (the time between two successive arrivals) must be defined. We deal with
those queuing system in which the customers arrive in ‘Poisson’ fashion. Mean arrival rate is
om
denoted by λ.
r.c
It described how many customer can be served at a time, what the statistical
tR
distribution of the service time is , and when the service is available. Service time may be a
irs
constant or a random variable. Distributions of service time which are important in practice are
.F
The Queue discipline is the route determining the formation of the queue, the manner
of the customer’s behaviors while waiting, and the manner in which they are chosen for
service. The simplest discipline is “First come, first served”. Such type of Queue discipline is
observed at a ration shop.
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Customer’s Behavior:
Queuing Models:
Generally Queuing Model may be completely specified in the following symbol form: (a/b/c:
d/e)
This model deals with a queuing system having single service channel. Poisson input,
.F
Exponential service and there is no limit on the system capacity while the customers are served
w
w
Characteristics of Model I
Ls =
−
2. Average number of customer in Queue
2
Ls =
( − )
8
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
1
ws =
( − )
4. Average waiting time in queue
wq =
( − )
N
P (Queue size N) =
6. Average length of non – empty queue is given by
m
om
E =
m 0 −
r.c
ke
n
irs
Pn = 1 −
.F
w
w
P0 = 1 −
9. Expected waiting time of a customer who has to wait
1
E (W / W 0) =
−
10. Probability ( waiting time in the system t )
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
= ( − )e − ( − ) w dw
t
= ( − )e − ( − ) w dw
t
This model deals with a queuing system having single service channel. Poisson input,
Exponential service and there is ‘N’ customers in the system capacity while the customers are
served on a “First in, First out” basis.
Characteristics of Model II
1 − ( )
Pn = ()
n
r.c
1 − ( )
N +1
ke
Where =
an
tR
irs
1 −
w
P0 =
w
1 − N +1
N
Ls = P0 n n
n=0
1−
where P0 =
1 − N +1
4. Average no. of customer in the Queue
10
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Lq = Ls −
5. Average waiting time in the system
Ls
Ws =
6. Average waiting in the Queue
Lq
Wq =
This model deals with a queuing system having more than one service channels. Poisson
input, Exponential service and there is no limit on the system capacity while the customers are
served on a “First in, First out” basis.
om
r.c
ke
Model IV M / M / C : N / FIFO
an
tR
This model deals with a queuing system having more than one service channels. Poisson input,
irs
Exponential service and there is ‘N’ customers in the system capacity while the customers are
.F
Simulation
Simulation is a imitation of reality. It representation of reality through the use of a model or
other device which will react in the same manner as reality under a set of condition.
Examples:
11
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
b. Driving automobiles on test tracks. The test track simulates the actual environment in
which the automobiles are driven.
This technique involves the selection of random observations within the simulation
model. It is constrained for application involving random numbers to solve deterministic and
stochastic problems the underlying principle of this technique is
1) Replace the actual statistical universe by another universe described by some assumed
probability distribution.
2) Sample from this theoretical population by mean of random numbers.
Steps in Simulation
a) Define a coding system that will correlate the factors defined in step with the random
numbers to be generated for the simulation
b) Select a random number generator and create the random numbers to used in the
simulation.
c) Associate the generated random numbers with the factors identified in step 1 and
coded in step 4 (a).
12
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Advantages to Simulation:
• Can be used to study existing systems without disrupting the ongoing operations.
• Allows us to gain insight into which variables are most important to system
performance.
• Business: Stock and commodity analysis, pricing policies, marketing strategies, cash
flow analysis, forecasting, etc..
om
• Government: Military weapons and their use, military tactics, population forecasting,
r.c
land use, health care delivery, fire protection, criminal justice, traffic control, etc.
ke
an
tR
irs
.F
Disadvantages to Simulation
w
w
• Model building is an art as well as a science. The quality of the analysis depends on the
w
quality of the model and the skill of the modeler (Remember: GIGO)
•
Simulation analysis can be time consuming and expensive should not be used when an
analytical method would provide for quicker results.
13
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
om
r.c
ke
an
tR
irs
.F
w
w
w
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
om
r.c
ke
an
tR
irs
.F
w
w
w
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
om
r.c
ke
an
tR
irs
.F
w
w
w
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
om
r.c
ke
an
tR
irs
.F
w
w
w
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
om
r.c
ke
an
tR
irs
.F
w
w
w
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
om
r.c
ke
an
tR
irs
.F
w
w
w
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
om
r.c
ke
an
tR
irs
.F
w
w
w
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
om
r.c
ke
an
tR
irs
.F
w
w
w
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
om
r.c
ke
an
tR
irs
.F
w
w
w
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Dynamic Programming
Introduction: Dynamic programming is to perform optimization (Minimization or
Maximization). It is to divide the original problem into many sub problems and solve the sub
problems individual obtain the optimum solution of the last problem by integrating the
optimum solution of original problem.
Characteristic of DPP
The features which characterize the dynamic programming problem are as follows:
1. The problem can be divided into stages with a policy decision required at each stage.
2. Every stage consists of a number of states associated with it. The states are the different
possible condition in which the system may find itself at that stage of the problem
3. Decision at each stage converts the current stage into state associated with the next
stage.
4. The state of the system at a stage is described by a set of variables called state variables.
5. When the current state is known, an optimal policy for the remaining stages is
independent of the policy of the previous ones.
6. The solution procedure begins by finding the optimal policy for each state to the last
om
stage.
r.c
7. A recursive relationship which identifies the optimal policy for each state with n stages
ke
remaining, given the optimal policy for each state with (n-1) stages left
an
8. Using recursive equation approach, each time the solution procedure moves backward
tR
stage by stage by stage for obtaining the optimum policy of each state for the particular
irs
stage, till it attains the optimum policy beginning at the initial stage.
.F
w
w
The computational procedure for solving a problem by dynamic programming approach can be
summarized in the following steps:
Step 1: Identify the decision variables and specify objective function to be optimized under
certain limitations, if any
Step 2: Decompose (or divide) the given problem into a number of smaller sub-problems (or
stages). Identify the state variables at each stage and write down the transformation function
as a function of the state variables and decision variables at the next stage.
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
Step 3 : write down a general recursive relationship for computing the optimal policy decide
whether forward or Backward method is to follow to solve the problem
Step 4: Construct appropriate stages to show the required values of the return function.
Step 5: Determine the overall optimal policy or decisions and its value at each stage there may
be more than one such optimal policy.
➢ In the production area, this technique has been used for production scheduling and
employment smoothing problems
➢ It has been used to determine the inventory level and for formulating the inventory
recording
➢ It can be applied for allocating the scarce resources to different alternative uses such as,
allocating the salesmen to different sales districts etc.
➢ It is used to determine the optimal combination of advertising media(TV, Radio, News
papers) and the frequency of advertising.
➢ It can apply in Replacement theory to determine at which age the equipment is to
replace for optimal return from the facilities.
om
equipment.
➢ Other areas: Scheduling methods, Monrovian decision models, infinite stage system,
ke
Simulation
.F
w
w
other device which will react in the same manner as reality under a set of condition.
Examples:
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
This technique involves the selection of random observations within the simulation
model. It is constrained for application involving random numbers to solve deterministic and
stochastic problems the underlying principle of this technique is
1) Replace the actual statistical universe by another universe described by some assumed
probability distribution.
2) Sample from this theoretical population by mean of random numbers.
Steps in Simulation
a) Define a coding system that will correlate the factors defined in step with the random
w
b) Select a random number generator and create the random numbers to used in the
simulation.
c) Associate the generated random numbers with the factors identified in step 1 and
coded in step 4 (a).
Advantages to Simulation:
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
• Can be used to study existing systems without disrupting the ongoing operations.
• Allows us to gain insight into which variables are most important to system
performance.
• Business: Stock and commodity analysis, pricing policies, marketing strategies, cash
flow analysis, forecasting, etc..
• Government: Military weapons and their use, military tactics, population forecasting,
land use, health care delivery, fire protection, criminal justice, traffic control, etc.
om
Disadvantages to Simulation
r.c
• Model building is an art as well as a science. The quality of the analysis depends on the
ke
quality of the model and the skill of the modeler (Remember: GIGO)
an
tR
•
.F
Simulation analysis can be time consuming and expensive should not be used when an
w
w
www.FirstRanker.com