Académique Documents
Professionnel Documents
Culture Documents
Research
[Assignment SET1 & SET2]
Name : P. Srinath
SMDUE ID : 520923307
Center : Mehbub College Campus, Secunderabad
Subject Code : MB0032
Subject : Operations Research
ASSIGNMENT MBA SEM II Subject Code:
MB0032 SET 1
1. Describe in details the different scopes of application of Operations
Research?
2|Page
MB0032 520923307
Road traffic management and 'one way' street allocations i.e. allocation
problems.
Determining the routes of school buses (or city buses) so that as few
buses are needed as possible
designing the layout of a computer chip to reduce manufacturing time
(therefore reducing cost)
Managing the flow of raw materials and products in a supply chain based
on uncertain demand for the finished products
Efficient messaging and customer response tactics
Robotizing or automating human-driven operations processes
Globalizing operations processes in order to take advantage of cheaper
materials, labor, land or other productivity inputs
Managing freight transportation and delivery systems (Examples: LTL
Shipping, intermodal freight transport)
Scheduling:
Personnel staffing
Manufacturing steps
Project tasks
Network data traffic: these are known as queuing models or
queueing systems.
sports events and their television coverage
blending of raw materials in oil refineries
determining optimal prices, in many retail and B2B settings, within the
disciplines of pricing science
Operations research is used extensively in government where evidence-
based policy is used.
c1, c2,. Cn, a11, a12,. amn are all known constants
Z is called the "objective function" of the LPP of n variables which is to be
maximized or
minimized.
3|Page
MB0032 520923307
Requirements of L.P.P: There are mainly four steps in the mathematical
formulation of linear programming problem as a mathematical model. We will
discuss formulation of those problems which involve only two variables.
Identify the decision variables and assign symbols x and y to
them. These decision variables are those quantities whose values we
wish to determine.
Identify the set of constraints and express them as linear
equations/inequations in terms of the decision variables. These
constraints are the given conditions.
Identify the objective function and express it as a linear function
of decision variables. It might take the form of maximizing profit or
production or minimizing cost.
Add the non-negativity restrictions on the decision variables, as
in the physical problems, negative values of decision variables have no
valid interpretation.
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.
Suggested answer:
The above information can be represented as
4|Page
MB0032 520923307
Basic Assumptions of L.P.P:
Linear programming is applicable only to problems where the
constraints and objective function are linear i.e., where they can be
expressed as equations which represent straight lines. In real life situations,
when constraints or objective functions are not linear, this technique cannot
be used.
Factors such as uncertainty, weather conditions etc. are not taken into
consideration.
There may not be an integer as the solution, e.g., the number of men
required may be a fraction and the nearest integer may not be the
optimal solution. i.e., Linear programming techqnique may
give practical valued answer which is not desirable.
Only one single objective is dealt with while in real life situations,
problems come with multi-objectives.
Parameters are assumed to be constants but in reality they may not be
so.
Simplex method
5|Page
MB0032 520923307
At each iteration, this simplex is updated by applying certain transformations
to it so that it "rolls downhill" until it finds a minimum.
The Simplex Method is "a systematic procedure for generating and
testing candidate vertex solutions to a linear program." (Gill, Murray, and
Wright, p. 337) It begins at an arbitrary corner of the solution set. At each
iteration, the Simplex Method selects the variable that will produce the
largest change towards the minimum (or maximum) solution. That variable
replaces one of its compatriots that is most severely restricting it, thus
moving the Simplex Method to a different corner of the solution set and
closer to the final solution. In addition, the Simplex Method can determine if
no solution actually exists. Note that the algorithm is greedy since it selects
the best choice at each iteration without needing information from previous
or future iterations.
The Simplex Method solves a linear program of the form described in
Figure 3. Here, the coefficients represent the respective weights, or costs,
of the variables . The minimized statement is similarly called the cost of
the solution. The coefficients of the system of equations are represented by
, and any constant values in the system of equations are combined on the
right-hand side of the inequality in the variables . Combined, these
statements represent a linear program, to which we seek a solution of
minimum cost.
Figure 3
A Linear Program
6|Page
MB0032 520923307
and thus removed from the basis. At this point, a new solution has been
determined at a different corner of the solution set.
The process is then repeated with a new variable becoming basic as
another becomes non-basic. Eventually, one of three things will happen. First,
a solution may occur where no non-basic variable will decrease the cost, in
which case the current solution is the optimal solution. Second, a non-basic
variable might increase to infinity without causing a basic-variable to become
zero, resulting in an unbounded solution. Finally, no solution may actually
exist and the Simplex Method must abort. As is common for research in linear
programming, the possibility that the Simplex Method might return to a
previously visited corner will not be considered here.
The primary data structure used by the Simplex Method is "sometimes called
a dictionary, since the values of the basic variables may be computed
(looked up) by choosing values for the non-basic variables." (Gill, Murray,
and Wright, p. 337) Dictionaries contain a representation of the set of
equations appropriately adjusted to the current basis. The use of dictionaries
provide an intuitive understanding of why each variable enters and leaves
the basis. The drawback to dictionaries, however, is the necessary step of
updating them which can be time-consuming. Computer implementation is
possible, but a version of the Simplex Method has evolved with a more
efficient matrix-oriented approach to the same problem. This new
implementation became known as the Revised Simplex Method.
7|Page
MB0032 520923307
If can decrease without If for all i, the solution is
causing another variable to unbounded.
leave the basis, the solution is
unbounded.
Examples:
x1 x2 S1 A1 S2 S3
2 0 0 1 0
0 Ratio
A1 1 2* 1 1 1 0 0 2 2/2=1
S2 0 1 3 0 0 1 0 2 2/1=2
S3 0 0 1 0 0 0 1 4
2 1 1 0 0 0 2
8|Page
MB0032 520923307
Work column * pivot element
x1 x2 x1 A1 S2 S3
0 0 0 1 0 0
X1 0 1 1/2 1/2 0 0 1
S2 0 0 5/2 1/2 1 0 1
S3 0 0 1 0 0 0 1 4
0 0 0 1 0 0 0
Phase I is complete, since there are no negative elements in the last row. The
Optimal solution of the new objective is Z* = 0.
Phase II: Consider the original objective function,
Maximize z = 3x1 x2 + 0S1 + 0S2 + 0S3
Subject to x1 + x2/2 S1/2=1
5/2 x2 + S1/2 + S2=1
x2 + S3 = 4
x1, x2, S1, S2, S3 0
with the initial solution x1 = 1, S2 = 1, S3 = 4, the corresponding simplex
table is
x1 x2 S1 S2 S3
3 1 0 0 0 Ratio
X1 3 1 1/2 1/2 0 0 1
S2 0 0 5/2 1/2* 1 0 1 1/1/2
=2
S3 0 0 1 0 0 1 4
0 5/2 3/2 0 0 3
x1 x2 S1 S2 S3
3 1 0 0 0
X1 0 1 3 0 1 0 2
S1 0 0 5 1 2 0 2
S3 0 0 1 0 0 1 4
0 10 0 3 0 6
Since all elements of the last row are non negative, the current solution is
optimal.
9|Page
MB0032 520923307
The maximum value of the objective function Z = 6 which is attained for x1 =
2, x2 = 0.
Primal
Maximize
C .xj j
z = j =1
n
a x
j =1
ij j b j
Subject to , i = 1,2,., m
xj 0, j = 1,2,., n
Dual
Minimize
10 | P a g e
MB0032 520923307
m
b .yi i
w = i =1
i =1
a ij yi ci
Subject to , 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.
n m
C x b y
j j i i =w
z = j =1 i =1
The strict equality, z = w, holds when both the primal and dual
solutions are optimal.
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].
11 | P a g e
MB0032 520923307
With 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.
5. How can you use the Matrix Minimum method of finding the initial
basic feasible solution in the transportation problem?
Step 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.
12 | P a g e
MB0032 520923307
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 In distribution, a shipment must
involve a discrete number of trucks or aircrafts or freight cars
and xj 0 j = 1, 2, ,n
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.
13 | P a g e
MB0032 520923307
Step 2: Introduce the slack or surplus variables, wherever necessary to
convert the inequations into equations and obtain the optimum solution of
the given L.P.P. by using simplex algorithm.
Step 3: Test the integrality of the optimum solution
a) If the optimum solution contains all integer values, an optimum basic
feasible integer solution has been obtained.
b) If the optimum solution does not include all integer values then proceed
onto next step.
Step 4: Examine the constraint equations corresponding to the current
optimum solution. Let these equations be represented by
n1
y x
j =0
ij j = bi
( i 0 , 1, 2 , ........, m1 )
Let it be [bk 1]
f
or write is as ko
Step 5: Express each of the negative fractions if any, in the k th row of the
optimum simplex table as the sum of a negative integer and a nonnegative
fraction.
Step 6: Find the Gomorian constraint
n1
f
j =0
kj x j f ko
14 | P a g e
MB0032 520923307
ASSIGNMENT MBA SEM II Subject Code:
MB0032 SET 2
1. What are the important features of Operations Research? Describe
in details the different phases of Operations Research.
15 | P a g e
MB0032 520923307
minimize the objective functions. The general linear programming model is
usually defined as follows:
Maximize or Minimize
Z = c1 x1 + c2 x 2 +.. +cn x n
subject to the constraints,
a11 x1 + a12 x2 + .+ a1n xn ~ b1
a21 x1 + a22 x2 +..+ a2n xn ~ b2
am1x1 + am2 x2 +. +amn xn ~ bm
and x1 > 0, x2 > 0, xn > 0.
Where cj, bi and aij (i = 1, 2, 3, .. m, j = 1, 2, 3.. n) are constants
determined from the technology of the problem and xj (j = 1, 2, 3 n) are the
decision variables. Here ~ is either < (less than), > (greater than) or =
(equal). Note that, in terms of the above formulation the coefficient cj, aij, bj
are interpreted physically as follows. If bi is the available amount of resources
i, where aij is the amount of resource i, that must be allocated to each unit of
activity j, the worth per unit of activity is equal to cj.
Canonical forms:
The general Linear Programming Problem (LPP) defined above can
always be put in the
following form which is called as the canonical form:
Maximise Z = c1 x1+c2 x2 + .+cn xn
Subject to
a11 x1 + a12 x2 +.. +a1n xn < b1
a21 x1 + a22 x2 +.. +a2n xn < b2
am1x1+am2 x2 + + amn xn < bm
x1, x2, x3, xn > 0.
The characteristics of this form are:
1) all decision variables are nonnegative.
2) all constraints are of < type.
3) the objective function is of the maximization type.
Any LPP can be put in the cannonical form by the use of five
elementary transformations:
1. The minimization of a function is mathematically equivalent to the
maximization of the negative expression of this function. That is, Minimize Z
= c1 x1 + c2x2 + . + cn xn is equivalent to
Maximize Z = c1x1 c2x2 cnxn.
2. Any inequality in one direction (< or >) may be changed to an inequality in
the opposite direction (> or <) by multiplying both sides of the inequality by
1.
For example 2x1+3x2 > 5 is equivalent to 2x13x2 < 5.
3. An equation can be replaced by two inequalities in opposite direction. For
example, 2x1+3x2
= 5 can be written as 2x1+3x2 < 5 and 2x1+3x2 > 5 or 2x1+3x2 < 5 and
2x1 3x2 < 5.
16 | P a g e
MB0032 520923307
4. An inequality constraint with its left hand side in the absolute form can be
changed into two regular inequalities. For example: | 2x1+3x2 | < 5 is
equivalent to 2x1+3x2 < 5 and 2x1+3x2 >
5 or 2x1 3x2 < 5.
5. The variable which is unconstrained in sign (i.e., > 0, < 0 or zero) is
equivalent to the difference between 2 nonnegative variables. For example, if
x is unconstrained in sign then x
= (x + x ) where x + > 0, x < 0.
17 | P a g e
MB0032 520923307
each source and the demand at each destination are known. The
transportation problem involves m sources, each of which has available ai (i
= 1, 2, ..,m) units of homogeneous product and n destinations, each of
which requires bj (j = 1, 2., n) units of products. Here ai and bj are positive
integers. The cost cij of transporting one unit of the product from the i th
source to the j th destination is given for each I and j. The objective is to
develop an integral transportation schedule that meets all demands from the
inventory at a minimum total transportation cost. It is assumed that the total
supply and the total demand are equal.
The condition (1) is guaranteed by creating either a fictitious
destination with a demand equal to the surplus if total demand is less than
the total supply or a (dummy) source with a supply equal to the shortage if
total demand exceeds total supply. The cost of transportation from the
fictitious destination to all sources and from all destinations to the fictitious
sources are assumed to be zero so that total cost of transportation will
remain the same.
18 | P a g e
MB0032 520923307
5. Describe the North-West Corner rule for finding the initial basic
feasible solution in the transportation problem.
19 | P a g e
MB0032 520923307
Further let us suppose that for each integer valued xj, we can assign lower
and upper bounds for the optimum values of the variable by
Lj xj Uj j = 1, 2, . r (5)
x j > I + 1 ( 6)
Or the linear constraint xj I ...(7)
To explain how this partitioning helps, let us assume that there were
no integer restrictions (3), and suppose that this then yields an optimal
solution to L.P.P. (1), (2), (4) and (5). Indicating x1
= 1.66 (for example). Then we formulate and solve two L.P.Ps each
containing (1), (2) and (4). But (5) for j = 1 is modified to be 2 x1 U1 in
one problem and L1 x1 1 in the other.
Further each of these problems process an optimal solution satisfying
integer constraints (3).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. We 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.
We 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. In addition to the lower bound z (0) , we
also have a list of L.P.Ps (to be called master list) differing only in the bounds
(5). To start with (the 0 th iteration) the master list contains a single L.P.P.
consisting of (1), (2), (4) and (5). We 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.
20 | P a g e
MB0032 520923307