Академический Документы
Профессиональный Документы
Культура Документы
Set 2 MB0032
1. Describe in details the OR approach of problem solving. What
are the limitations of the Operations Research?
Set 2 MB0032
past data available for the actual system. The model will be valid if
under similar conditions of inputs, it can reproduce the past
performance of the system. There is no assurance that the future
performance ill replicate past performance. Also, since the models
based on the past performance data, the comparison always reveals
favorable results. In some instances, this problem may be overcome
by using data from the trail runs of the system. It must be noted that
such a validation method is not appropriate for nonexistent systems,
since data will not be available for comparison.
Set 2 MB0032
• The right hand side element of each constraint equation is non-
negative.
• All variables are nonnegative.
• The objective function is of the maximization or minimization type.
The inequality constraints can be changed to equations by adding or
subtracting the left hand side of each such constraint by a non negative
variable. The non negative variable that has to be added to a constraint
inequality of the form < to change it to an equation is called a slack
variable. The non negative variable that has to be subtracted from a
constraint inequality is called a surplus variable. The right hand side of
a constraint equation can be made positive by multiplying both sides of
the resulting equation with -1 wherever necessary. The remaining
characteristics are achieved by using the elementary transformations
introduced with the canonical form.
Set 2 MB0032
problem. The resulting objective function is optimized by the simplex
method with the constraints of the original problem. If the problem has a
feasible solution, the optimal value of the new objective function is zero.
Then we proceed to Phase II. Otherwise, if the optimal value of the new
objective function is non zero, the problem has no solution and the
method terminates.
Phase II: Use the optimum solution of the phase I as the starting
solution of the variables and is solved by simplex method.
Example:
Use the two phased method to
Maximise Z=3x1-x2
Subject to 2x1 +x2 >2; x1+3x2 <2;
x2<4; x1,x2>0
Maximise Z=3x1-x2+0S1-MA1+0S2+0S3
Subject to
2x1 +x2 –S1+A1=2; x1+3x2+S2=2;
x2+S3 =4;
x1,x2,S1,S2,S3,A1>0
Phase I:
Consider the new objective,
Maximise Z* =-A1
Subject to
2x1 +x2 –S1+A1=2; x1+3x2+S2=2;
x2+S3 =4;
x1,x2,S1,S2,S3,A1>0
x1 x 2 S1 A1 S2 S3
0 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
Work column * Pivot element
x1 x2 x1 A1 S2 S3
0 0 0 -1 0 0
Set 2 MB0032
x1 0 1 ½ -½ ½ 0 0 1
S2 0 0 5/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,
Maximise Z=3x1-x2+0S1-MA1+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,A1>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 0 0 1
S2 0 0 5/2 ½* 1 0 1 1/(1/2) = 2
S3 0 0 1 0 0 1 4
0 5/2 -3/2 0 0 3
Work column, * Pivot table
x 1 x 2 S1 S2 S3
3 -1 0 0 0
x1 3 1 3 0 1 0 1 2
S2 0 0 5 1 2 0 1 2
S3 0 0 1 0 0 1 4 4
0 10 0 3 0 3 6
Since all elements of the last row are non negative, the current solution is
optimal.
Set 2 MB0032
Transportation problem is an important model of linear programming.
This model studies the minimization of the cost of transporting a
commodity from a number of sources to several destinations. The supply
at 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 ith source to jth destination is given for each I and j.
The objective is to develop integral transportation schedule that meets all
demands from the inventory at a minimum total transportation cost.
Assumption:
It is assumed that the total supply and the total demand are equal.
i.e.,i=1nai = j=1nbj ------------- (1)
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 the
total demand exceeds total supply. The cost of transportation from the
fictitious destination to all sources and from the destinations to the
fictitious sources are assumed to be zero so that the total cost of
transportation will remain the same.
Minimize
i=1mj=1nCij Xij
Subject to
j=1nXij=ai, i = 1,2,3…..m (2)
j=1mXij=bj, j = 1,2,3….n
Set 2 MB0032
direct application of the simplex method it is more efficient to work with
the table given below called the transportation table. The transportation
algorithm is the simplex method specialized to the format of table it
involves:
• Finding the integral basic feasible solution
• Testing the solution for optimality.
• Improving the solution, when it is not optimal.
• Repeating steps above until the optimal solution is obtained.
The solution to transportation problem is obtained in two stages. In the
first stage we find the basic feasible solution by any one of the following
methods.
a. North-west corner method
b. Matrix minima method
c. Vogel’s approximation method.
In the second stage we test the B.Fs for its optimality either by MODI
method or by stepping stone method.
D1 D2 Dn Supply ui
S1 C11 C12 C1n a1 u1
X11 X12 X2n
S2 C21 C22 C3n a1 u2
X21 X22 X3n
S3 C31 C32 C4n a1 u3
X31 X32 X4n
1. Describe the North-West Corner rule for finding the initial basic
feasible solution in the transportation problem.
Set 2 MB0032
satisfied. This can be achieved either by inspection or by following some
simple rules.
Step 1:
The first assignment is made in the cell occupying the upper left hand
(north west) corner of the transportation table. The maximum feasible
amount is allocated there, that is x11 = min (a1,b1)
So that, either the capacity of origin O1 is used up; or the requirement at
the destination D1 is satisfied or both. This value of x11 is entered in the
upper left hand corner (small square) of cell (1,1) in the transportation
table.
Step 2:
If b1>a1 the capacity of origin O, is exhausted but the requirement at
destination D1 is still not satisfied, so that 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,). This either exhausts the capacity of
origin O2 or satisfies the remaining demand at destination D1.
Step 3:
Start from the new north-west corner of the transportation table
satisfying destination requirements and exhausting the origin capacities
one at a time, move down towards the lower right corner of the
transportation table until al the rim requirements are satisfied.
Set 2 MB0032
Sometimes a few or all variables of an IPP are constrained by their upper
or lower bounds or by both. The most general technique for the solution
of such constrained optimisation problems is the branch and bound
technique. The technique is applicable to both all IPP as well as mixed
IPP. The technique for a maximisation problem is discussed below:
Xj>l+1 -------------------------(6)
Or the linear constrain xj<l------(7)
To explain how this partition helps, let us assume that there were no
integer restrictions (3), and suppose that this then yields an optimal
solution to LPP (1), (2), (4) and (5). Indicating, x1 =1.66 (for example).
Then we formulate and solve two LPP’s 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 constants (3).
Then the solution having the larger value for z is clearly the optimum
solution for the given IPP. However, it usually happens that one of these
problems has no optima 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), we also have a list of
LPP’s differing only in the bounds (5). Th start with the master list
contains a single LPP, consisting of (1), (2), (4) and (5). We now discuss
below ,the step by step procedure that specifies how the partitioning (6)
Set 2 MB0032
and (7) can be applied systematically to eventually get an optimum
integer – valued solution.
Step 0:
If the master list is not empty, choose an LPP out of it. Otherwise stop
the process, Go the step 1.
Step 2:
Obtain the optimum solution to the objective function z is less than or
equal to z(t) , then let z(t+1) = z(t) and return to step 0 otherwise go to step
3.
Step 3:
Select any variable xj, j = 1,2,...p. that does not have an integer value in
the obtained optimum solution to the LPP chosen in step 0. Let xj* denote
his optimal value of xj. Add two LPP’s to the master list; these LPP’s are
identical with the LPP chosen in step 0, except that in one, the lower
bound on xj is replaced by [xj*] +1. Let z(t+1) = z(t) , return to step 0.
Set 2 MB0032