c
c c V
c c
Subject code:
%&
'
(c c
$)
Submitted By:
V !
""#
!*#!!#+
,'
!
""#
$
c c
c c V
$.
'%
/0

011
/'2
122'/12
/
'
2
/
' 34 is an interdisciplinary branch of applied
mathematics and formal science that uses methods such as mathematical modeling,
statistics, and algorithms to arrive at optimal or near optimal solutions to complex
problems. It is typically concerned with optimizing the maxima (profit, assembly line
performance, crop yield, bandwidth, etc) or minima (loss, risk, etc.) of some objective
function. Operations research helps management achieve its goals using scientific
methods.
'2
12
/
'34
In general, whenever there is any problem simple or complicated, the OR
techniques may be applied to find the best solution. In this section we shall try to find
the scope of OR by seeing its application in various fields of everyday life.
1.V / .
1
/
2
/(In modern warfare the defense operations are
carried out by a number of independent components namely Air Force,
Army and Navy. The activities in each of these components can be further
divided in four subcomponents viz.: administration, intelligence,
operations and training, and supply. The application of modern warfare
techniques in each of the components of military organizations requires
expertise knowledge in respective fields. Further more, each component
works to drive maximum gains from its operations and there is always a
possibility that strategy beneficial to one component may have an adverse
effect on the other. Thus in defence operations there is a necessity to co
ordinate the activities of various components which gives maximum
benefit to the organization as a whole, having maximum use of the
individual components. The final strategy is formulated by a team of
scientists drawn from various disciplines who study the strategies of
different components and after appropriate analysis of the various courses
of actions, the best course of action, known as optimum strategy, is
chosen.
2.V / /05(The systems of modern industries are so complex that the
optimum point of operation in its various components cannot be intuitively
judged by an individual. The business environment is always changing and
!
""#
c c
c c V
any decision useful at one time may not be so good some time later. There
is always a need to check the validity of decisions continually, against the
situations. The industrial revolution with increased division of labour and
introduction of management responsibilities has made each component an
independent unit having their own goals. For example: Production
department minimize cost of production but maximizes output. Marketing
department maximizes output but minimizes cost of unit sales. Finance
department tries to optimize capital investment and personnel department
appoints good people at minimum cost. Thus each department plan their
own objectives and all these objectives of various department or
components come to conflict with each other and may not conform to the
overall objectives of the organization. The application of OR techniques
helps in overcoming this difficulty by integrating the diversified activities
of various components so as to serve the interest of the organization as a
whole efficiently. OR methods in industry can be applied in the fields of
production, inventory controls and marketing, purchasing, transportation
and competitive strategies etc.
3.V ///(In modern times it has become necessary for every government
to have careful planning, for economic development of the country. OR
techniques can be fruitfully applied to maximize the per capita income,
with minimum sacrifice and time. A government can thus use OR for
framing future economic and social policies.
4.V c'
(åith increase in population there is a need to increase
agriculture output. But this cannot be done arbitrarily. There are a number
of restrictions under which agricultural production is to be studied.
Therefore there is a need to determine a course of action, which serves the
best under the given restrictions. The problem can be solved by the
application of OR techniques.
5.V / 2( The OR methods can be used to solve waiting problems in
outpatient department of big hospitals. The administrative problems of
hospital organization can also be solved by OR techniques.
6.V //2(£ifferent OR methods can be applied to regulate the arrival
of trains and processing times, minimize the passengers waiting time and
!
""#
c c
c c V
72
1 22'/ / 8' 2
/
' '
/5
0
/'0
:
V Oritical path analysis or project planning: identifying those processes in a
complex project which affect the overall duration of the project
V £esigning the layout of a factory for efficient flow of materials
V constructing a telecommunications network at low cost while still
guaranteeing QoS (quality of service) or QoS (Quality of Experience) if
particular connections become very busy or get damaged
V Road traffic management and 'one way' street allocations i.e. allocation
problems.
V £etermining the routes of school buses (or city buses) so that as few buses are
needed as possible
V designing the layout of a computer chip to reduce manufacturing time
(therefore reducing cost)
V Managing the flow of raw materials and products in a supply chain based on
uncertain demand for the finished products
V Efficient messaging and customer response tactics
V Robotizing or automating humandriven operations processes
V Êlobalizing operations processes in order to take advantage of cheaper
materials, labor, land or other productivity inputs
V Managing freight transportation and delivery systems (Examples:
LTLhttp://en.wikipedia.org/wiki/LessThan
Truckload_%28LTL%29_Shipping Shipping, intermodal freight transport)
V Scheduling:
oV Personnel staffing
oV Manufacturing steps
oV Project tasks
oV Network data traffic: these are known as queuing models or queueing
systems.
!
""#
*
c c
c
c
V
V
oV tVtVVt iVtliiV V
V li V
VVtilViVilV
iiV
V tii V tilV i
V iV V tilV V B BV tti
V it iV t V
ii liV
V ii ViV
tiV V iV lV V tilV iV tV V iV
liViVV
! " #! #! $" %# # $&
'# (%& $ ) #(%&
V V %# # $V V iV V lV
V ttilV
i V iV iV tV
tiV ti V tV jtiV V tV titV
V liV
V V tii ti
V V V itV tV ii V V iii V tV
jtiV
tiVV
V V lVliV i VlViVllV
iVV
ll:
Mii VVMiii
â x x
jtVtVtVtit
x
V
VO
Vxx
Vx
VVVllVVttV
V iV llV tV jtiV
tiV
V tV V V !V ilV iV iV tV V
ii VViii VV
'# (%*V
V £iiVilVVtiVltii V
V llV
iVjtiV
tiV
'2/1%
1.V %/
5ë Both objective function and constraints must be expressed as linear
inequalities.
2.V .
/'( All coefficients of decision variables in the objective and
constraints expressions should be known and finite.
3.V c0065( The value of objective function for the given values of decision
variables and the total sum of resources used must be equal to sum of the
contributions earned from each decision variable and the sum of resources
used by decision variables respectively.
4.V .6%5( The solution of decision variables and resources can be any non
negative values including fractions.
There are many real life situations where an LPP may be formulated. The
following examples will help to explain the mathematical formulation of an LPP.
72
( A diet is to contain at least 4000 units of carbohydrates, 500 units of fat
and 300 units of protein. Two foods A and B are available. Food A costs 2 dollars per
unit and food B costs 4 dollars per unit. A unit of food A contains 10 units of
carbohydrates, 20 units of fat and 15 units of protein. A unit of food B contains 25
units of carbohydrates, 10 units of fat and 20 units of protein. Formulate the problem
as an LPP so as to find the minimum cost for a diet that consists of a mixture of these
two foods and also meets the minimum requirements.
0/8
(
The above information can be represented as
9052
%50
9
/ /.2
/
A 10 20 15 2
B 25 10 20 4
Requirement 4000 500 300
Let the diet contain x units of A and y units of B
The LPP formulated for the given diet problem is
!
""#
"
c c
c
c
V
V
Miii VV"V V#V$V
jtVtVtVtitVV
V
V
V
V
,$ !((# )#!!  )$$"). !
V
V Vi lVtV iVV
ilVltiVtVtV l
 #( %## ). !V
OiVVV iViVtVtV
V
V tii V&V"VxVxV#V V V#V'#VVV
jtVtVV
' ' '
' ' '
//////////////////
///////////////////
' ' '
01202//0#2 12 /2 3
V V V
V tV titV (tiV V V V ilV llV V (
4$VV tV l
tV V iV
V V (tiV iV V tV tiV V lV
ilV V V titV (tiV itV V lV ilV V V ti
iilV
ilV
V
V V ittiV
V lV V lV ilV V tV ltV itV tV
titV V tV jtiV
tiV V V ilV V V i tV iV tV
jtiV
tiVitV&V
the constraints, since these are added only to one side i.e., to the left hand side of the
equations. The new constraint equations so obtained is equivalent to the original
equations if and only if all artificial variables have value zero. To guarantee such
assignments in the optimal solutions, artificial variables are incorporated into the
objective function with very positive coefficient M in the minimization program and
very large negative coefficient ± M in the maximizing program. These coefficients
represent the penalty incurred in making a unit assignment to the artificial variable.
!
""#
#
c c
c c V
9.V £ivide the quantities by the corresponding values of the key column to get
ratios select the minimum ratio. This becomes the key row. The Basic
variable corresponding to this row will be replaced by the variable found
in step 6.
10.VThe element that lies both on key column and key row is called Pivotal
element.
11.VRatios with negative and ³Į´ value are not considered for determining key
row.
12.VOnce an artificial variable is removed as basic variable, its column will be
deleted from next iteration.
13.VFor maximization problems decision variables coefficient will be same as
in the objective function. For minimization problems decision variables
coefficients will have opposite signs as compared to objective function.
14.VValue of artificial variable will always is ± M for both maximization and
minimization problems.
15.V The process is continued till all Zj Oj 0.
*.
'%
'/'2/'
1
.5'/'
2
2/'
1.5/'
2.
8/
/
i.VIf the primal contains a large number of constraints and a smaller
number of variables, the labour of computation can be considerably
reduced by converting it into the dual problem and then solving it.
ii.VThe interpretation of the dual variable from the loss or economic point
of view proves extremely useful in making future decisions in the
activities being programmed.
!
""#
!
c c
c c V
model. åe consider here a representation of the general primal and dual problems in
which the primal takes the role of a resource allocation model.

Maximize
º
z=
.
1
Subject to
1
, i = 1,2,«., m
xj 0, j = 1,2,«., n
.
Minimize
w=
.
1
Subject to
1
, i = 1,2,«., n
yj 0, i = 1,2,«., m
From the above resource allocation model, the primal problem has n economic
activities and m resources. The coefficient cj in the primal represents the profit per
unit of activity j. Resource i, whose maximum availability is bi, is consumed at the
rate aij units per unit of activity j.
/
2
/1.
:%
For any pair of feasible primal and dual solutions,
(Objective value in the maximization problem) (Objective value in the
minimization problem)
At the optimum, the relationship holds as a strict equation. Note: Here the sense of
optimization is very important. Hence clearly for any two primal and dual feasible
solutions, the values of the objective functions, when finite, must satisfy the following
inequality.
!
""#
$
c c
c c V
º
z=
1
1
The strict equality, z = w, holds when both the primal and dual solutions are
optimal.
Oonsider the optimal condition z = w first given that the primal problem
represents a resource allocation model, we can think of z as representing profit in
Rupees. Because bi represents the number of units available of resource i, the
equation z = w can be expressed as profit (Rs) = 8 (units of resource i) x (profit per
unit of resource i)
This means that the dual variables yi, represent the worth per unit of resource i
[variables yi are also called as dual prices, shadow prices and simplex multipliers].
The same logic, the inequality z < w associated with any two feasible primal
and dual solutions is interpreted as (profit) < (worth of resources)
This relationship implies that as long as the total return from all the activities
is less than the worth of the resources, the corresponding primal and dual solutions are
not optimal. Optimality is reached only when the resources have been exploited
completely, which can happen only when the input equals the output (profit).
Economically the system is said to remain unstable (non optimal) when the input
(worth of the resources) exceeds the output (return). Stability occurs only when the
two quantities are equal.
8'/5
7/
01/0
/%'1
%
//
/2/ 2%
;
/ '9
%
//7/
0
Let us consider a T.P involving morigins and ndestinations. Since the sum of
origin capacities equals the sum of destination requirements, a feasible solution
always exists. Any feasible solution satisfying m + n ± 1 of the m + n constraints is a
redundant one and hence can be deleted. This also means that a feasible solution to a
!
""#
$$
c c
c c V
T.P can have at the most only m + n ± 1 strictly positive component, otherwise the
solution will degenerate.
2( If xij = ai cross off the ith row of the transportation table and decrease bj by ai
go to step 3.
If xij = bj cross off the ith column of the transportation table and decrease ai by
bj go to step 3.
if xij = ai= bj cross off either the ith row or the ith column but not both.
2
( Repeat steps 1 and 2 for the resulting reduced transportation table until the
entire rim requirements are satisfied whenever the minimum cost is not
unique make arbitrary choice among the minima.
".
'%
/
/%
.
'%
5<c
016/
2%
/
/%
The Integer Programming Problem I P P is a special case of L P P where all or
some variables are constrained to assume nonnegative integer values. This type of
problem has lot of applications in business and industry where quite often discrete
nature of the variables is involved in many decision making situations. Eg. In
manufacturing the production is frequently scheduled in terms of batches, lots or runs;
!
""#
$
c c
c c V
If all the variables are constrained to take only integral value i.e. k = n, it is
called an all (or pure) integer programming problem. In case only some of the
variables are restricted to take integral value and rest (n ± k) variables are free to take
any non negative values, then the problem is known as mixed integer programming
problem.
The iterative procedure for the solution of an all integer programming problem
is as follows:
2 $( Oonvert the minimization I.P.P. into that of maximization, if it is in the
minimization forms. The integrality condition should be ignored.
2 ( Introduce the slack or surplus variables, wherever necessary to convert the
in equations into equations and obtain the optimum solution of the given
L.P.P. by using simplex algorithm.
2
(Test the integrality of the optimum solution
i.V If the optimum solution contains all integer values, an optimum basic
feasible integer solution has been obtained.
ii.V If the optimum solution does not include all integer values then proceed onto
next step.
!
""#
$
c c
c c V
2 *( Examine the constraint equations corresponding to the current optimum
solution. Let these equations be represented by
º1
0
ÿ
åhere µº¶ denotes the number of variables and µ¶ the number of equations.
Ohoose the largest fraction of ie to find {bi}i
0
À
ÿ
0
2 +( Starting with this new set of equation constraints, find the new optimum
solution by dual simplex algorithm. (So that Êsla (1) is the initial leaving basic
variable).
2#(If this new optimum solution for the modified L.P.P. is an integer solution. It
is also feasible and optimum for the given I.P.P. otherwise return to step 4 and
repeat the process until an optimum feasible integer solution is obtained.
!
""#
$*
c c
c c V
$@
2/1
12
/
';.
'%
/0

011
/2
12
/
'
2/1
1
18(
1.V It is System oriented: OR studies the problem from over all point of view of
organizations or situations since optimum result of one part of the system
may not be optimum for some other part
2.V It imbibes Inter ± disciplinary team approach. Since no single individual can have
a thorough knowledge of all fast developing scientific knowhow, personalities
from different scientific and managerial cadre form a team to solve the
problem.
3.V It makes use of Scientific methods to solve problems.
4.V OR increases the effectiveness of a management £ecision making ability.
5.V It makes use of computer to solve large and complex problems.
6.V It gives Quantitative solution.
7.V It considers the human factors also.
12
/
'
The scientific method in OR study generally involves the following three
phases:
1.V Â0
/
(This phase consists of
i.V £etermination of the operation.
ii.V Establishment of the objectives and values related to the
operation.
iii.V £etermination of the suitable measures of effectiveness and
iv.V Formulation of the problems relative to the objectives.
2.V
'
(This phase utilizes
i.V Operations and data collection for a better understanding of the
problems.
ii.V Formulation of hypothesis and model.
iii.V Observation and experimentation to test the hypothesis on the
basis of additional data.
iv.V Analysis of the available information and verification of the
hypothesis using preestablished measure of effectiveness.
!
""#
$
c c
c
c
V
V
V itiV
V iV ltV V itiV
V lttiV
tV
)V c #*%tVitV
Vi VtiV
VtViiV V
V tV V
itV V tV lV
V itiV V V V iV V
itiVtVVVii
Vi
li VtV tiViViVtV lViV
V
V
,$%##$#! ###(
V %# # $V V iV V lV
V ttilV
i V iV iV tV
tiV ti V tV jtiV V tV titV
V liV
V V tii&ti
V V V itV tV ii&V V iii&V tV
jtiV
tiVV
V V lVliV i VlViVllV
iVV
ll:
.A#A
â x x
jtVtVtVtit
x
V
VO
Vxx
Vx
VVVllVVttV
V iV llV tV jtiV
tiV
V tV V V !V ilV iV iV tV V
ii&VViii&VV
##(:
V V lV iV i V lV V
iV V
V lV V tV iV tV
lli V
V iV iV llV VtV ilV
:V
Mii&VV"VxVx# V V#V#VV
Subject to
a11 x1 + a12 x2 +................. a 1n xn < b1
a21 x1 + a22 x2 + ................. +a 2n xn < b2
.....................................................................
am1x1+am2 x2 + ...... + a mn xn < bm
x1 , x2, x3, ... xn > 0.
''
'11
(
i.V All decision variables are nonnegative.
ii.V All constraints are of type.
iii.V The objective function is of the maximization type.
Any LPP can be put in the canonical form by the use of five elementary
transformations:
!
""#
$+
c c
c c V
@
011
/
2 /
0
0 6
5
1
B/ %5
2
7
0;
6
%
%5 2
7
0(
!
""#
$#
c c
c
c
V
V
x$V®lV
V ti
iilV ilV illVlV iV*V MV
VtV ii&tiVV
iii&tiV lV
xVVV ViVtiVtillVllVjVOjV+,V
V
V
G ! " #! #! $" #) # )$& $
) # $#! #) # )$& ,$
, ! (
4# #) #)$
V
V iV lVtiVtV iii&tiV
VtVtV
Vt ti VVitV
VV V
VVtVlV titiVV lVtV VVVtV
V tV V titiV V V V t ttiV lV ilV V
V V
V iV VillV iV iV "V x
V
V
V itV
V V
tVVVtiti
VV
ViV(iVjVjV"Vx
V
VVitV
V tV
V iV V jV V itiV it V V tV ijV
Vt ti V V itV
V tV
tV
V tV itV V tV tV jtV titiV iV iV
V V iVV jV V
jtiV iV tV l V V it lV t ttiV lV ttV tV llV V
V
V
V itiV xV iV tV V ti V itV V
ititiV titiV
itVV V (lVtVtV lVi
VttlV ViVlVtVtVttlV lV V V
V V itV V lV (lVtV tV t V i
V ttlV V V ttlV
lVVtV
Vt ttiV
VtV
ititiVtitiVtVllVVV
V
llV titiV tV tV
ititiV V V V tV V &V V ttV ttlV tV
V
t ttiVillViVtVV
V
#) #c 5
, !6
V
itV itiV tV V iV lV it lV V t
V lV V
below called the transportation table. The transportation algorithm is the simplex
method specialized to the format of table it involves:
The solution to T.P is obtained in two stages. In the first stage we find Basic
feasible solution by any one of the following methods a) Northwest corner rale b)
Matrix Minima Method or least cost method c) Vogel¶s approximation method. In
the second stage we test the B.Fs for its optimality either by MO£I method or by
stepping stone method.
01
0.%/
0C0
0CD :
0.
2$: Under this method we construct penalties for rows and columns by
subtracting the least value of row / column from the next least value.
2 : åe select the highest penalty constructed for both row and column. Enter
that row / column and select the minimum cost and allocate min (ai, bj)
2
: £elete the row or column or both if the rim availability / requirements is met.
2*: åe repeat steps 1 to 2 to till all allocations are over.
2 : For allocation all form equation ui + vj = cj set one of the dual variable ui / vj
to zero and solve for others.
2 ": Use these values to find ǻij = cij ± ui ± vj of all ǻij , then it is the optimal
solution.
2+: If any £ij 0, select the most negative cell and form loop. Starting point of
the loop is +ve and alternatively the other corners of the loop are ±ve and + ve.
Examine the quantities allocated at ±ve places. Select the minimum. Add it
at +ve places and subtract from ±ve place.
2#: Form new table and repeat steps 5 to 7 till ǻij 0
.
'%
@
/

1 1/0/
/ %' 1
%
//
/2/2%
!
""#
c c
c c V
@
/

2$(The first assignment is made in the cell occupying the upper left hand (North
åest) corner of the transportation table. The maximum feasible amount is
allocated there, that is x11 = min (a1 ,b1 )
2 ( If b1 > a1 the capacity of origin O, is exhausted but the requirement at
destination £1 is still not satisfied , so that at least one more other variable in
the first column will have to take on a positive value. Move down vertically to
the second row and make the second allocation of magnitude
x21 = min (a2 , b1 ± x21 ) in the cell (2,1). This either exhausts the capacity of
origin O2 or satisfies the remaining demand at destination £1.
(a1 ± x11, b2 ) in the cell (1, 2). This either exhausts the remaining capacity of
origin O1 or satisfies the demand at destination £2 .
".
'%
/'/0 /0
'/B
6
/2%
/' /0 /0
'/B
( Sometimes a few or all the variables
of an IPP are constrained by their upper or lower bounds or by both. The most
!
""#
$
c c
c
c
V
V
lV ti(V
V tV ltiV
V V tiV tii&tiV lV iVt V
VVVti(VVti(ViV lilVtVtVllV%VVllVV
iV%VtVti(V
VVii&tiV lViViVl:V
V
tVtV%VV
V
VxV
jtVtVtVtitV
V
V V
V
jViVit VlV
VjV"Vx
V
V
VVVV****V)V
j V+V,V VjV"VV#Vx
VVV
VVV .........V$V
V
V /tV ltV V V ttV
V V it V lV j
V V V i V lV
V VV
VtV tiVlV
VtVilVV
jVVjVV0jV jV"Vx
V
VVV................VV
V
V V
lli ViViViVtVVVVti(V
V OiVVilVj
VVltV%VVVit VlVti
i VV
V V V V jVV%V0jV*VxVV
V VllVV tiVltiVtVxVt VVllVlVti
VitV
tVliVtitV
V
VjV+V%V#VxVV....................................VV1V
V
VtVliVtitVjVV%VV V2V
V
V liV V tiV titii V l
V ltV V V ttV tV V V
it V titiV )
V V V ttV tiV tV ilV V tilV ltiV tV
L.P.P. ± (1), (2), (4) and (5). Indicating x1 = 1.66 (for example). Then we formulate
and solve two L.P.P¶s each containing (1), (2) and (4).
Then the solution having the larger value for z is clearly optimum for the given
I.P.P. However, it usually happens that one (or both) of these problems has no
optimal solution satisfying (3), and thus some more computations are necessary.
åe now discuss step wise the algorithm that specifies how to apply the
partitioning (6) and (7) in a systematic manner to finally arrive at an optimum
solution.
åe start with an initial lower bound for z, say z (0) at the first iteration which
is less than or equal to the optimal value z*, this lower bound may be taken as the
starting Lj for some xj.
(0)
In addition to the lower bound z , we also have a list of L.P.P¶s (to be
called master list) differing only in the bounds (5). To start with (the 0th iteration) the
master list contains a single L.P.P. consisting of (1), (2), (4) and (5). åe now discuss
below, the step by step procedure that specifies how the partitioning (6) and (7) can
be applied systematically to eventually get an optimum integer valued solution.
!
""#
Much more than documents.
Discover everything Scribd has to offer, including books and audiobooks from major publishers.
Cancel anytime.