Académique Documents
Professionnel Documents
Culture Documents
MB 0032
(2 credits)
Set 1
Marks 30
Operations Research
Note: Each Question carries 10 marks
1. Describe in details the different scopes of application of Operations Research.
Answer: Operations Research (OR) in the USA, South Africa and Australia, and Operational
Research in Europe and Canada, 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. The terms operations research and management science are often used
synonymously.
When a distinction is drawn, management science generally implies a closer relationship to the
problems of business management. The field of operations research is closely related to
Industrial
engineering. Industrial engineers typically consider Operations Research (OR) techniques to be
a
major part of their toolset. Some of the primary tools used by operations researchers are
statistics,
optimization, probability theory, queuing theory, game theory, graph theory, decision analysis,
and simulation. Because of the computational nature of these fields, OR also has ties to
computer
science, and operations researchers use custom-written and off-the-shelf software.
Operations research is distinguished by its frequent use to examine an entire management
information system, rather than concentrating only on specific elements (though this is often
done
as well). An operations researcher faced with a new problem is expected to determine which
techniques are most appropriate given the nature of the system, the goals for improvement, and
constraints on time and computing power. For this and other reasons, the human element of OR
is
vital. Like any other tools, OR techniques cannot solve problems by themselves.
Scope of operation Research
Examples of applications in which operations research is currently used include:
Critical path analysis or project planning: identifying those processes in a complex project
which
affect the overall duration of the project
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.
Example-1. 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.
Suggested answer:
The above information can be represented as
Let the diet contain x units of A and y units of B.
Total cost = 2x + 4y
The LPP formulated for the given diet problem is
Minimize Z = 2x + 4y subject to the constraints
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 techniques 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.
3. Describe the different steps needed to solve a problem by simplex method.
Answer: Simplex method
The simplex method is a method for solving problems in linear programming. This method,
invented by George Dantzig in 1947, tests adjacent vertices of the feasible set (which is a
polytope) in sequence so that at each new vertex the objective function improves or is
unchanged.
The simplex method is very efficient in practice, generally taking 2m to 3m iterations at most
(where m is the number of equality constraints), and converging in expected polynomial time
for
certain distributions of random inputs (Nocedal and Wright 1999, Forsgren 2002). However, its
worst-case complexity is exponential, as can be demonstrated with carefully constructed
examples (Klee and Minty 1972). A different type of methods for linear programming
problems
are interior point methods, whose complexity is polynomial for both average and worst case.
These methods construct a sequence of strictly feasible points (i.e., lying in the interior of the
polytope but never on its boundary) that converges to the solution. Research on interior point
methods was spurred by a paper from Karmarkar (1984). In practice, one of the best interiorpoint
methods is the predictor-corrector method of Mehrotra (1992), which is competitive with the
simplex method, particularly for large-scale problems.
Dantzig's simplex method should not be confused with the downhill simplex method (Spendley
1962, Nelder and Mead 1965, Press et al. 1992). The latter method solves an unconstrained
minimization problem in n dimensions by maintaining at each iteration n+1 points that define a
simplex. 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 cj represent the respective weights, or costs, of the variables xi. The minimized
statement is similarly called the cost of the solution. The coefficients of the system of equations
are represented by aij, and any constant values in the system of equations are combined on the
right-hand side of the inequality in the variables bi.
Combined, these statements represent a linear program, to which we seek a solution of
minimum
cost.
Solving this linear program involves solutions of the set of equations. If no solution to the set
of
equations is yet known, slack variables x n+1, x n+2, ., x n+m, adding no cost to the
solution,
are introduced. The initial basic feasible solution (BFS) will be the solution of the linear
program
where the following holds:
Once a solution to the linear program has been found, successive improvements are made to
the
solution. In particular, one of the nonbasic variables (with a value of zero) is chosen to be
increased so that the value of the cost function, , decreases. That variable is then
increased, maintaining the equality of all the equations while keeping the other nonbasic
variables
at zero, until one of the basic (nonzero) variables is reduced to zero 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 nonbasic.
Eventually, one of three things will happen. First, a solution may occur where no nonbasic
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
nonbasic 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.
The steps of the Simplex Method also need to be expressed in the matrix format of the
Revised
Simplex Method. The basis matrix, B, consists of the column entries of A corresponding to the
coefficients of the variables currently in the basis. That is if x2 is the fourth entry of the basis,
then [ a12 a22 am2]T is the fourth column of B. (Note that B is therefore an m X m matrix.)
The non-basic columns of A constitute a similar though likely not square, matrix referred to
here
as V.
1. Describe the broad classification of Operations Research models in details. Name the
different steps needed in OR approach of problem solving?
Answer: A model is known as the representation of the reality. It is known as an idealized
representation or abstraction of a real life system. The main objective of this model is to
identify
significant factors and their interrelationship. A model is helpful is decision making as it
provides
a simplified description of complexities and uncertainties of a problem in logical structure.
Once an appropriate model has been formulated the next stage in the analysis calls for its
solution
and the interpretation of the solution in the context of the given problem A solution to a
model
implies determination of a specific set of decision variables that would yield on optimum
solution. An optimum solution is one which maximizes or minimizes the performance of any
measure in a model subject to the condition and constraints imposed on the model.
4) Validation the model
A model is a good representative of a system, and then the optimal solution must improve the
systems performance. A common method for testing the validity of a model is to compare its
performance with some post data available for the actual system.
5) About Implementation of the final result
The optimal solution obtained from a model should be applied practice to improve the
performance of the system and the validity of the solution should be verified under changing
conditions.
2. Describe the graphical method to solve the Linear Programming Problem. Use the
following example
Maximize Z = 30x1 + 40x2
Subject to the constraints
1.5x1 + 1.9x2 600
0.3 x1 + 0.2x2 100
0.0x1 + 0.2x2 30
and x1 0, x2 0
Answer: A LPP with 2 decision variables x1 and x2 can be solved easily by graphical method.
We consider the x1 x2 plane where we plot the solution space, which is the space enclosed by
the constraints. Usually the solution space is a convex set which is bounded by a polygon
since a
linear function attains extreme (maximum or minimum) values only on boundary of the region,
it
is sufficient to consider the vertices of the polygon and find the value of the objective function
in
these vertices. By comparing the vertices of the objective function at these vertices, we obtain
the
optimal solution of the problem.
The method of solving a LPP on the basis of the above analysis is known as the graphical
method. The working rule for the method is as follows:
Working Rule:
Step I: Write down the equations by replacing the inequality symbols by the equality symbol
in
the given constraints.
Step II: Plot the straight lines represented by the equations obtained in step I.
Step III: Identify the convex polygon region relevant to the problem. We must decide on
which
side of the line, the halfplane is located.
Step IV: Determine the vertices of the polygon and find the values of the given objective
function Z at each of these vertices. Identify the greatest and least of these values. These are
respectively the maximum and minimum value of Z.
Step V: Identify the values of (x1, x2) which correspond to the desired extreme value of Z.
This
is an optimal solution of the problem.
Solution by Graphical Method
Let the horizontal axis represent x1and vertical axis represent x2. plot the constraint lines,
feasibility region has been shown in fig.
Any point on the thick line or inside the shaded portion will satisfy all the restrictions of the
problem then ABCDE is the feasibility region carried out by the constraints operating on the
objective function. This depicts the limits within which the values of the decision variables are
permissible. The intersection points C and D can be solved by the linear equations 0.1x2 < 30,
0.1x1 + 1.5x2 = 600, and 0.2x1 + 0.2x2 < 100 i.e. C(150,300) and D(300,180).
We work out the revenues at different corners points as tabulated below
At Point Feasible Solution of the
product mix
Corresponding revenue Total
revenue
X1 X2 From X1 From X2
A
B
C
D
E
0
0
15
0
30
0
50
0
0
30
0
30
0
18
0
0
0
0
7500
1500
0
2500
0
0
2400
2400
0
1440
0
0
0
24000
31500
29400
25000
From the above table we find that revenue is maximum at Rs.31500 when 150 unit of X1 and
300
units of X2 are produced.
3. Describe the Penalty Cost method (Big M Method) for solving L.P.P.
Answer: Penalty Cost Method Or Big-M Method
Consider a L.P.P. when atleast one of the constraints is of the type > or = . While expressing in
the standard form, add a non negative variable to each of such constraints. These variables are
called artificial variables. Their addition causes violation of the corresponding constraints,
since
they are added to only one side of an equation, the new system is equivalent to the old system
of
constraints if and only if the artificial variables are zero. To guarantee such assignments in the
optimal solution, artificial variables are incorporated into the objective function with large
positive coefficients in a minimization program or very large negative coefficients in a
maximization program. These coefficients are denoted by } M.
Whenever artificial variables are part of the initial solution X0, the last row of simplex table
will
contain the penalty cost M. The following modifications are made in the simplex method to
minimize the error of incorporating the penalty cost in the objective function. This method is
called Big M method or Penalty cost method.
1) The last row of the simplex table is decomposed into two rows, the first of which involves
those terms not containing M, while the second involves those containing M.
2) The Step 1 of the simplex method is applied to the last row created in the above
modification
and followed by steps 2, 3 and 4 until this row contains no negative elements. Then step 1 of
simplex algorithm is applied to those elements next to the last row that are positioned over zero
in
the last row.
3) Whenever an artificial variable ceases to be basic, it is removed from the first column of the
table as a result of step 4, it is also deleted from the top row of the table as is the entire column
under it.
4) The last row is removed from the table whenever it contains all zeroes.
5) If non zero artificial variables are present in the final basic set, then the program has no
solution.
In contrast, zero valued artificial variables in the final solution may exist when one or more of
the
original constraint equations are redundant.
4. Why Duality concept is important in OR? Describe the economic importance of the
Duality concept.
Answer: The Importance of Duality Concept Is Due To Two Main Reasons
i. If 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. The 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.
Economic importance of duality concept
The linear programming problem can be thought of as a resource allocation model in which the
objective is to maximize revenue or profit subject to limited resources. Looking at the problem
from this point of view, the associated dual problem offers interesting economic interpretations
of
the L.P resource allocation model. We consider here a representation of the general primal and
dual problems in which the primal takes the role of a resource allocation model.
Primal
Maximize
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.
Interpretation of Duel Variables
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.
The strict equality, z = w, holds when both the primal and dual solutions are optimal.
Consider 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) =
(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]. 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. Describe the Matrix Minimum method of finding the initial basic feasible solution in
the
transportation problem.
Answer: The Initial basic Feasible solution using Matrix Minimum Method
Let us consider a T.P involving m-origins and n-destinations. 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 T.P can have at the most only m + n
f 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
and add the equation
to the current set of equation constraints.
Step 7: Starting with this new set of equation constraints, find the new optimum solution by
dual
simplex algorithm. (So that Gsla (1) is the initial leaving basic variable).
Step 8: 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