OR Notes For MBA
OR Notes For MBA
OR Notes For MBA
• Negative right hand sides of the constraints can be made positive by multiplying the constraint by
−1 (reversing the sign of the inequality).
• Equality constraints require no modification.
• Inequality constraints can be converted to equalities through the introduction of additional variables
that make up the difference in the left and right sides of the inequalities.
• Less than or equal to (≤) inequalities require the introduction of variables called slack variables. For
example, a constraint such as 3x1 + 4x2 ≤ 7 becomes the equality 3x1 + 4x2 + s1 = 7 when we
introduce the slack variable s1, where s1 ≥ 0.
• Greater than or equal to (≥) constraints are modified by introducing surplus variables. For example,
the constraint 14x1 + 3x2 ≥ 12 becomes the equality 14x1 + 3x2 − s2 = 12, where s2 is the non-
negative surplus variable.
• Finally, all variables are required to be non-negative in the standard form.
Obtain a basic feasible solution from the standard form
• A basic solution to the system of m equations and n unknowns is obtained by setting (n − m) of the
variables to zero, and solving for the remaining m variables. The m variables that are not set equal
to zero are called basic variables, and the (n − m) variables set to zero are non-basic variables.
Determine whether the current basic feasible solution is optimal.
• Corresponding to each variable in the Objective function, we calculate Cj-Zj values.
• If all the Cj-Zj values are <=0 in case of a maximization problem, the solution is optimal.
• If all the Cj-Zj values are >= 0 in case of a minimization problem, the solution is optimal.
Iteration to improve the solution when not optimal
• This involves identifying a variable that should be replaced in the basis matrix.
• In a maxn problem, the variable that has the largest +ve value of Cj-Zj is called the entering
variable. This column are called the pivot column. The RHS of the constraint equations are divided
by the corresponding elements in the pivot column to find the ratios, and the row with the minimum
+ve ratio is the pivot row. The variable in the pivot row is the leaving variable.
• The simplex matrix is revised with the leaving variable removed and replaced with the entering
variable.
• The new Cj- Zj values are calculated, and optimality checked.
• The process is repeated until optimality is attained.
DUALITY
Associated with any LP is another LP called the dual.. When taking the dual of any LP, the given LP is
referred to as the primal. If the primal is a max problem, the dual will be a min problem and vice versa.
In general, the dual is constructed following the rules as below:
The dual problem is a minimization problem.
• For every variable xi in the primal problem, there is a constraint in the dual problem. If xi ≥ 0 in the
primal, the constraint is a ≥ inequality in the dual.
• If xi is unrestricted in sign, the i-th constraint is an equality in the dual.
• For every constraint in the primal problem, there is a variable yi in the dual.
• If the constraint is ≤, then yi ≥ 0 in the dual problem.
• If the constraint is an equality, then yi is unrestricted in sign in the dual.
• The right hand sides in the primal are the objective function coefficients in the dual.
• The objective function coefficients in the primal are the right hand sides in the dual.
• The coefficient matrix in the primal is transposed to form the coefficient matrix for the dual
TRANSPORTATION PROBLEMS
In general, a transportation problem is specified by the following information:
• A set of m supply points from which a good/service is shipped. Supply point i can supply at most si
units.
• A set of n demand points to which the good/service is shipped. Demand point j must receive at least
dj units.
• Each unit produced at supply point i and shipped to demand point j incurs a variable cost of cij.
The Objective is to minimize the cost of transportation so as to meet the demands and supply constraints.
There are three methods that can be used to find in initial feasible solution for a balanced transportation
problem:
1. Northwest Corner method
2. Minimum cost method
3. Vogel’s method
Vogel’s Method
Begin by computing for each row and column a penalty equal to the difference between the two smallest
costs in the row and column.
Next find the row or column with the largest penalty.
In the lowest cost cell in this row or column, allocate the maximum possible quantity,
cross out row or column, and change the supply or demand figures in the row or column as the case may be.
Now recomputed new penalties (using only cells that do not lie in a crossed out row or column)
Repeat the procedure until only one uncrossed cell remains.
Set this variable equal to the supply or demand associated with the variable, and cross out the variable’s row
and column.
PROJECT MANAGEMENT
The planning and coordination of large complex projects, consisting of many tasks or activities. These
activities are interconnected and interdependent defined through Precedence and Successor relationships.
A project network provides a graphical representation of the precedence relations among all the activities in
a project. Each activity is represented by an arc in the network. The nodes in the network denote events
corresponding to points in time when one or more activities are completed. Directions on the arcs indicate
the sequence in which events must occur. Additionally, a node is added at the beginning of the network to
represent the start event for the entire project. Similarly, a final node is introduced to denote the finish event
for the project.
Project activity networks are used to plan and coordinate large complex projects consisting of many tasks.
Critical paths in networks determine the minimum project completion time, and identify those tasks or
activities whose timely completion is critical to achieving this minimum project duration.
When the cost of crashing an activity in the critical path by a day is less than the indirect cost per day, then
crashing will reduce both the costs and duration of the project.
QUEING
Waiting lines represent people waiting for service, machines waiting for a repairman, parts waiting to be
assembled, and so on
Queues or Waiting lines inherently create inconvenience, inefficiency, delay, or other problems. and these
situations cost time and money.
Waiting lines can be reduced or eliminated by simply adding lots of servers, but this can be very expensive.
Therefore, the management of the queuing problem involves balancing these costs and optimizing.
Queueing models provide a set of tools by which we can analyze the behavior of systems involving waiting
lines, or queues. Queueing systems are characterized by the distribution of customers entering the system
and the distribution of times required to service the customers.
SIMULATION
Simulation is the process of studying the behavior of an existing or proposed system by observing the
behavior of a model representing the system.
Simulation is the imitation of a real system or process operating over a period of time.
By simulating a system, we may be able to make observations of the performance of an existing system,
hypothesize modifications to an existing system, or even determine the operating characteristics of a
non-existent system.
Through simulation, it is possible to experiment with the operation of a system in ways that would be too
costly or dangerous or otherwise infeasible to perform on the actual system itself.
Many systems are so complex that mathematical methods are inadequate to model the intricate
interaction among system elements. In these cases, simulation techniques may provide a framework for
observing, predicting, modifying, and even optimizing a system.
GAME THEORY
Game theory addresses possible approaches to decision-making under the assumption of complete
ignorance.
It is described in terms of players, payoffs, and strategies.
For example, in a two-person game: the decision-maker (player one) selects an alternative and then player
two selects a state. The payoff is given by the corresponding entry in a payoff matrix.
Player two is assumed to be indifferent to the choices of player one
Player one will make a selection based on some strategy intended to make the most of the opportunity.
Game theory provides a framework for classifying and analyzing general types of human behavior in the
presence of uncertainty.
Maximin Strategy
For each alternative, aj , pick the worst possible outcome (the minimum). Choose the alternative that
has the maximum value of this minimum.
The Maximin strategy is pessimist approach. The person who believes that, whatever they do will
always turn out badly, and that nature is working directly against them, and is characteristic of the
conservative decision-maker. The given decision has the lowest risk.
Maximax Strategy
For each alternative, pick the best possible outcome (the maximum).
Choose the alternative which has the maximum value of this maximum.
The Maximax player represents the optimist approach. Such people believe that anything they do will
turn out right, and are willing to take risks for a chance at the greatest possible return.
Hurwicz Principle
Define 0 ≤ α ≤ 1 to be the Decision-maker’s Degree of Optimism between the two extremes of
Maximin (α = 0) and Maximax (α = 1).
For each alternative, the Hurwicz measure: α*maximum + (1 – α)* minimum
Select the alternative with the highest value.
The Hurwicz principle is based on the assumption that the decision-maker is neither totally
pessimistic (as with the Maximin strategy), nor totally optimistic (as with Maximax).
Each individual decision-maker can select his own degree of optimism some where between these
two extremes.