MBM 106-Unit 4 Formatted
MBM 106-Unit 4 Formatted
APPLICATION
We live in a world of shortages since our resources are limited. Thus there is always
a problem as to how to allocate the given resources in the best possible way. This
Lesson provides basic concepts of Operations Research. It covers some general
ideas on the subject, graphical method to solve the Linear Programming Problem
and the general concept of Linear Programming Problem. Once a LPP is formulated,
the next issue is to solve it for optimal values of decision variables, which leads to
maximization (say of profit) or minimization (e.g. cost). Simplex problem is a very
powerful tool for solving LPPs. It can handle any complexities in the LPPs
irrespective of the number and nature of the decision variables and constraints. The
application of Simplex Method allows not only the solution to the LPPs, but also
provides information which can be usefully employed by the manager in decision
making. Every LPP also has a mirror image problem which is also a linear
programming problem. This mirror LPP is called the Dual and the original problem is
called the Primal. The primal-dual relationship is very important for effective decision
making.
10.0 Objectives
10.1 Introduction
Operations Research (OR) has become increasingly important in the face of
the fast moving technology and increasing complexities in business and
industry. It has become more difficult to allocate the available resources to the
various activities in a way that is more effective for the organization as a
whole. These kinds of problems can be solved using Operation Research. It
was first coined in 1940 in UK. In the beginning, it was used by military
services in World War II.
In India, Operation Research came into existence in 1949 with the opening of
an OR unit at the Regional research Laboratory at Hyderabad. In 1953 an OR
353
unit was established in the Indian Statistical Institute, Calcutta, for the
application of OR methods in national planning and survey. In recent years
OR has had an increasingly great impact on the management of
organizations.
a. System (or executive) orientation: Operation research study is concern with
problems as a whole or as its system orientation. This means an activity by
any part of an organization has some effect on the activity of every other part.
The optimum operation of one part of a system may not affect the optimum
operation for some other part. Therefore to evaluate any decision, one must
identify all possible interactions and determine the impact on the organization
as a whole.
c. Scientific Approach: OR employs scientific method for the purpose of solving
problems. It is a formalized process of reasoning.
354
e. Improvement in the Quality of Decision: OR gives bad answers to problems,
to which, otherwise, worse answers are given. This implies that by applying its
scientific approach, it can only improve the quality of solution but it may not be
able to give perfect solution.
1. Formulating the Problem: The first step in OR is to develop a clear and
concise statement problem. After identification, formulation of the problem is
to be carried out. For this it is necessary to study comprehensively the
components of the problems
a. The environment
b. Decision maker,
c. The objective,
d. The alternative courses of action
3. Obtaining the Input Data: Once the mathematical model of the problem has
been formulated, the next step is to obtain the data to be used in the model as
input. Since the quality of data determines the quality of output, it is important
to obtain accurate and complete data
4. Deriving the solution from the Model: Having collected the input data, the next
step is to determine the values of decision variables that optimize the given
objective function. This deals with the mathematical calculations for obtaining
the solution to the model.
5. Validation of the Model: Validating a model requires determining if the model
can reliably predict the actual system’s performance. It also involves testing
the structural assumptions of the model to ascertain their validity. If during
validation, the solution cannot be implemented, one needs to find if some of
355
the original constraints were incorrect and need to be modified. In such a
case, one must return to the problem formulation step and carefully make the
appropriate modifications to represent more realistic situation.
6. Establishing control over the solution: After testing the model and its solution,
the next step of the study is to establish control over the solution, by proper
feedback of the information on variables which deviated significantly. As soon
as one or more of the controlled variables change significantly, the solution
goes out of control. In such a situation the model may accordingly be
modified.
7. Implementation of the final results: Finally, the tested results of the model are
implemented to work. This involves a careful explanation of the solution to be
adopted and its relationship with the operating realities.
Self-Check Questions
357
10.2.1 Components of a LPP
(i) The decision variables refer to the activities that are competing one another
for sharing the resources available. These variables are inter-related in terms
of utilization of resources and need simultaneous solutions. All the decision
variables are considered as continuous, controllable and non-negative. The
non-negativity shows that LP deals with real-life situations for which negative
quantities are generally illogical.
(ii) A linear programming problem must have an objective which should be clearly
identifiable and measurable in quantitative terms. It could be of profit (sales)
maximization, cost (time) minimization, and so on. The relationship among the
variables representing objective must be linear.
(iii) There are always certain limitations (or constraints) on the use of resources,
such as labor, space, raw material, money, etc. that limit the degree to which
an objective can be achieved. Such constraints must be expressed as linear
inequalities or equalities in terms of decision variables.
The following four basic assumptions are necessary for all linear programming
problems:
a. Certainty: In a LPP, it is assumed that all the parameters; such as availability
of resources, profit (or cost) contribution of a unit of decision variable and
consumption of resources by a unit decision variable must be known and
fixed. In other words, this assumption means that all the coefficients in the
objective function as well as in the constraints are completely known with
certainty and do not change during the period of study.
b. Divisibility (or continuity): This implies that solution values of the decision
variables and resources can take on any non-negative values, including
fractional values of the decision variables. For instance, it is possible to
produce 2.34 quintals of wheat or 12.12 thousand kilometers of cloth, so
these variables are divisible. But it is not possible to produce 2.6 refrigerators.
Such variables are not divisible and hence are to be assigned integer values.
When it is necessary to have integer variables, the integer programming
problem is considered to attain the desired values.
c. Proportionality: This requires the contribution of each decision variable in both
the objective function and the constraints to be directly proportional to the
value of the variable For example, if production of one unit of a particular
product uses 3 hours of a particular resource, then the production of 6 units of
that product uses 3 x 6, i.e., 18 hours of that resource.
358
d. Additivity: The value of the objective function for the given values of decision
variables and the total sum of resources used, must be equal to the sum of
the contributions (profit or cost) earned from each decision variable and the
sum of the resources used by each decision variable respectively. For
example, the total profit earned by the sale of two products A and B must be
equal to the sum of the profits earned separately from A and B.
Step 1: Study the given situation to find the key decisions to be made
Step 4: Identify the constraints in the problem and express them as linear
inequalities or equations, left hand side of which are linear functions
of the decision variables
359
Solution: The data of the problem is summarized below:
Departments Profit
Weaving Processing Packing (Rs. per
(in minutes) (in minutes) (in minutes) meter)
Suitings 3 2 1 2
Shirtings 4 1 3 4
Woollens 3 3 3 3
Availability (min) 60 × 60 40 × 60 80 × 60
Step 1: The key decision is to determine the weekly rate of production for
the three types of clothes
Step 2: Designate the weekly production of suiting, shirting and woolens by
x1 meters, x2 meters and x3 meters respectively.
Step 4: The constraints are the limited availability of three operational
departments. One meter of suiting requires 3 minutes of weaving.
The quantity being x1 meters, the requirement for suiting alone will
be 3x1 units. Similarly, x2 meters of shirting and x3 meters of woolen
will require 4x2 and 3x3 minutes respectively. Thus, the total
requirement of weaving will be 3x1 + 4x2 + 3x3, which should not
exceed the available 3600 minutes. So, the labor constraint
becomes
Step 5: The objective is to maximize the total profit from sales. Assuming
that whatever is produced is sold in the market, the total profit (Z) is
given by the linear relation
360
Illustration 10.2: The manager of an oil refinery must decide on the optimal
mix of two possible blending processes of which the inputs and outputs per
production run are as follows:
The maximum amounts available of crude A and B are 200 units and 150
units respectively. Market requirements show that at least 100 units of
gasoline X and 80 units of gasoline Y must be produced. The profits per
production run from process 1 and process 2 are ` 300 and ` 400 respectively.
Formulate the process.
Input (Units) Output (Units)
Crude A Crude B Gasoline X Gasoline Y
1 5 3 5 8
2 4 5 4 4
Solution: Let x1 and x2 be the two blending processes. The LPP formulation
is
max Z = 300x1 + 400x2
s.t. 5x1 + 4x2 ≤ 200
3x1 + 5x2 ≤ 150
5x1 + 4x2 ≥ 100
8x1 + 4x2 ≥ 80 x1, x2 ≥ 0
361
requires 72 minutes of cutting time, 3 hours of joining, 2 hours of pre finishing
and 5 hours 20 minutes of final finishing time. The daily capacity for each
operation amounts to 16 hours of cutting, 30 hours of joining, 16 hours of pre
finishing and 64 hours of final finishing time. The profit per unit produced is `
40 for the standard desk and ` 50 for the executive desk. Determine mix that
maximizes the revenue.
Solution: Let x1, x2, x3, x4, x5, x6 be the number of cashiers joining at the
beginning of the periods 1, 2, 3, 4, 5, 6. Then
max Z = x1 + x2 + x3 + x4 + x5 + x6
s.t. x1 + x6 ≥ 7
x1 + x2 ≥ 20
x2 + x3 ≥ 14
x3 + x4 ≥ 20
x4 + x5 ≥ 10
x5 + x6 ≥ 5
x1 ,.., x6 ≥ 0
Write this as LPP and determine how many bags of each type the farmer
should bring in order to obtain the required fertilizer at minimum cost.
362
Solution: Let x1 be the number of type A and x2 be the number of type B
mixture. Then
min Z = 40x1 + 20x2
s.t. 20x1 + 50x2 ≥ 4800
80x1 + 50x2 ≥ 7200 x1, x2 ≥ 0
● Identify the problem- the decision variables, the objective function and the
constraints.
● Plot a graph that includes all the constraints and identify the feasible region.
● Obtain the point on the feasible region that optimizes the objective function-
this is the optimal solution.
● Interpret the result.
For the problem, plot the 1st constraint by a line at x1 = 4, plot the 2nd
constraint by a line at 2x2 = 12 or x2 = 6 and for the 3rd constraint join the two
points (0,6) and (4,0). Now any point lying on or below the line satisfies the
three constraint equations. This is indicated by the direction of arrowheads as
shown in Figure 10.1.
The shaded area OACDE in the Figure satisfies all the three constraints and
also the non-negativity restrictions. This area is called the region of feasible
solutions or the feasible region. Any point in this shaded region is a feasible
solution to the given problem.
363
To determine the optimal solution, the five vertices of the region OACDE are
O(0, 0), A(0, 6), C(2.5,6), D(4,3) and E(4,0).
Fig 10.1
ZE = 4*3 + 0*5 = 12
Now choose the one which gives a maximum value as optimal solution.
Terminology
2. Feasible Solution: Any solution to a general LPP which also satisfies the
non-negative restrictions of the problem is called a feasible solution to the
general LPP.
3. Infeasible Solution: A solution for which at least one constraint is violated is
called an infeasible solution
4. Feasible Region: Collection of all feasible solutions represents the feasible
region
364
5. Optimal solution: The feasible solution that has the most favorable value of
the objective function is called an optimal solution. Most Favorable Solution
means largest value if objective function is to be maximized, or lowest value if
objective function is to be minimized
In the Example
1. Solution: Solution for this problem is O(0, 0), A(0, 6), B(0, 9), C(3,6), D(4.5, 4),
E(4, 0), F(2.5, 2.5), G(4, 0) and H(8, 0)
2. Feasible Solution: The solution O(0, 0), A(0, 6), C(2, 6), D(4, 3) and E(4, 0) is
a feasible solution as it satisfies all the constraints
3. Infeasible Solution: The solution B(0, 9), F(2.5, 2.5), G(4, 0) and H(8, 0) is
infeasible solution
4. Feasible Region: Collection of all feasible solutions i.e. the region OACDE
represents the feasible region
5. Optimal solution: The feasible solution C(2,6) has the maximum value of the
objective function, therefore is the optimal solution
Illustration 10.8
max Z = 5x1+7x2
s.t. x1+ x2 ≤ 4
3x1+ 8x2 ≤ 24
10x1+ 7x2 ≤ 35 x1, x2 ≥ 0
Fig 10.2
The optimal solution is x1 =1.5, x2 =2.5, with the maximum Z value of 25.
365
Solution: The graph is shown in Figure 10.3.
Fig 10.3
Fig 10.4
Special Cases
366
Illustration 10.11: max Z = 3x1 + 2x2
s.t x1 ≤ 4
2x2 ≤ 12
3x1 + 2x2 ≤ 18, x1, x2 ≥ 0
Fig 10.5
2. Unbounded Solution: When the values of the decision variables may be
increased indefinitely without violating any of the constraints, the solution
space (feasible region) is unbounded. The value of objective function, in such
cases, may increase (for maximization) or decrease (for minimization)
indefinitely. Thus, both the solution space and the objective function value are
unbounded.
367
Fig 10.6
From the graph it is clear that values of the decision variables may be
increased indefinitely without violating any of the constraints, the solution
space (feasible region) is unbounded.
3. Infeasible Solution: When the constraints are not satisfied simultaneously,
the linear programming problem has no feasible solution. This situation can
never occur if all the constraints are of the ‘≤’ type.
Fig 10.7
From the graph it is clear that there is no feasible region and hence no
feasible solution.
4. Redundant Constraints: If a constraint when plotted does not form part of
the boundary making the feasible region of the problem, it is said to be
redundant constraint. Inclusion or exclusion of a redundant constraint does
not affect the optimal solution.
Illustration 10.14:
max Z = 40x1 + 35x2
s.t. 2x1 + x2 ≤ 60
4x1 + 3x2 ≤ 96
4x1 +3.5 x2 ≤ 105 Redundant Constraint
x1, x2 ≥ 0
368
Self-Check Questions
Let (aij) be an m × n matrix and let (b1, …, bm) be a set of constants such that
a11x1 + a12x2 + …. + a1nxn (≤, =, ≥) b1
(10.2)
am1x1 + am2x2 + …. + amnxn (≤, =, ≥) bm
Then the problem of determining (x1, …, xn) which makes z a minimum (or
maximum) and which satisfies (10.2) and (10.3) is called a General Linear
Programming Problem.
For each constraint one and only one of the (≤, =, ≥) holds but the sign may
vary from one constraint to another. The general LPP can be stated in various
forms.
(10.4)
369
and xj ≥ 0
cj, aij and bi (i=1,..,m) and (j=1,..,n) are the constants determined from
the statement of the problem
Constant bi denote the total availability of the ith resource and are
called stipulations and
Constant aij stands for the amount of resources and are called
structural coefficients
where
and
370
c is the cost (price or profit) vector of the LPP.
An element aij of the matrix indicates the amount of ith type of resource
necessary to manufacture one unit of product j. Hence, it may be said that
these elements represent the activity of the operational system.
1. The objective form is of maximization type. In case the objective function is of
min type multiply it by (-1) to convert it to max type.
2. All the constraint equations are of ≤ form except for the non-negative
constraints.
2.1 A constraint equation of the type a11x1 + a12x2 + …. + a1nxn ≥ b1 is
changed to an ≤ inequality type by multiplying the constraint equation
by (-1) and changing the inequality.
, where ≥0
1. All the constraints are expressed in the form of equations except for the
non-negative restrictions. The inequality constraints are changed to equality
constraints by adding or subtracting a no-negative variable from left hand side
of such constraints
2. The right hand side of each constraint equation is non-negative. If not, i.e.,
any b is negative, then multiply the equation by (-1) and change the
inequalities.
3. All the variables are non-negative. An unrestricted variable can be expressed
as a difference of two non-negative variables as explained earlier
4. The objective form is of maximization type, if not then convert it to
maximization type.
Any LPP can be put into standard form with the help of some elementary
transformations:
372
𝑛
∑ 𝑎𝑖𝑗𝑥𝑗 ≤ 𝑏𝑖 𝑖 = 1, 2, …, 𝑚
𝑗=1
𝑛
Then the non-negative variables xn+i which satisfy ∑ 𝑎𝑖𝑗𝑥𝑗 + 𝑥𝑛+𝑖 = 𝑏 are
𝑗=1 𝑖
called slack variables and are ≥ 0.
2x1 + 3x2 ≤ 60
2x1 + 3x2 + x3 = 60
Variable x3 can vary from 0 to 60 (i.e. 0 ≤ x3 ≤60) depending upon the value of
2x1 + 3x2. The variable x3 is referred to as a slack variable because it takes up
any slack between the left hand side and the right hand side of the inequality
upon being converted into equation. Slack is the difference between the
amount available (bi) and the amount actually used. In the problem x3 is
indicating the amount of unused raw material.
Similarly x4 represents the labour hour not used. So the second constraint
equation
2x1 + 3x2 ≤ 60
becomes
2x1 + 3x2 + x3 = 60
All the slack variable (and other variables discussed next) must be added to
the objective function (i.e. z) equation. Therefore variables x3 and x4 must be
added in the z equation and for this the coefficients of the variables x3 and x4
must be determined. The coefficients represent the cost involved in not using
the raw material or labour hours. Thus it can be presumed that the unused
resources have no cost and therefore do not affect the profits. Thus the
coefficients assigned will be zero.
Upon the introduction of slack variables for the other functional constraints,
the original linear programming model (given by P1) can now be replaced by
the equivalent model (called the augmented form of the model) shown below:
373
max Z = 40x1 + 35x2
s.t. 2x1 + 3x2 + x3 = 60
4x1 + 3x2 + x4 = 96 x1, x2, x3, x4 ≥ 0
This form is called the augmented form of the problem because the original
form has been augmented by some supplementary variables needed to apply
the simplex method.
; i = 1, 2…..m.
𝑛
Then the non-negative variables xn+i which satisfy ∑ 𝑎𝑖𝑗𝑥𝑗 − 𝑥𝑛+𝑖 = 𝑏 are
𝑗=1 𝑖
called surplus variables.
To convert the inequality ≥ to equality, subtract the surplus x3. The surplus
represents the excess of what is generated (given by the left hand side of the
inequality) over the requirements (shown by right hand side value bi). In this
case finding the initial basic feasible solution is not possible as it will violate
the non-negativity constraint. Thus an artificial variable is x4 is also added to
the equation. The artificial variable is added only to get the starting solution.
So the constraints of the above problem change to
20x1 + 50x2 – x3 + x4 = 4800
80x1 + 50x2 – x5 + x6 = 7200
Here variables x3 and x5 are the surplus variables and x4 and x6 are artificial
variables. Since artificial variables do not represent any quantity relating to the
decision problem, they must be driven out of the system and must not appear
in the final solution.
374
80x1 + 50x2 – x5 + x6 = 7200
x1,…, x6 ≥ 0
Case III: Constraints of ‘=’ Type
Consider the following example where the constraints are already equations.
In such a case also the artificial variable is added to get the initial basic
feasible solution.
Solution: Making right hand side positive and writing the Augmented Form
max Z = + 40x1 + 20x2 + x5 +x6
s.t. 12x1 + 3x2 +x3 = 48
- 8x1 - 5x2 -x4 + x5 = 55
x1 + x2 + x6 = 55
x1,…, x6 ≥ 0
375
Object Function: The linear function given by equation (10.1) which is to be
maximized or minimized is called objective function of the general LPP.
Constraints: The set of inequalities (10.2) are called the constraints of the
general LPP.
Ax = b
Example: Considering the augmented form for the Illustration 10.1, there are
only 3 equations and 5 variables. This cannot be solved. Therefore substitute
some variables as zero; the remaining variables are called basic variables.
= 5–3
= 2
376
3. Non-Basic Variables (NBV) are equal to zero.
4. Values of Basic Variables (BV) are obtained as the simultaneous solution of
system of equations.
6. If the Basic Variable (BV) satisfies the non-negativity constraints, the basic
solution is a Basic Feasible Solution.
Non-degenerate BFS: It is BFS in which all the m basic variables are positive
( > 0) and the remaining n variables are zero each.
The value of the objective function for the basic feasible solution xB is given
by
Z0 = CBxB
^
Improved Basic feasible solution: Let xB and 𝑥𝐵 be two feasible solutions to
^
the standard LPP. Then 𝑥𝐵 is said to be an improved basic feasible solution,
as compared to xB, if
^ ^
𝐶𝐵𝑥 ≥ 𝐶𝐵𝑥𝐵
𝐵
^ ^
Where 𝐶𝐵 is constituted of cost components corresponding to 𝑥𝐵.
377
Unbounded Solution: If the value of the objective function can be increased
or decreased indefinitely, the solution is called unbounded solution.
378
10.8.2 Geometric Interpretation of Simplex Method
Fig 10.8
The five constraint boundaries and their points of intersection are highlighted
in this figure because they are the keys to the analysis. Here, each constraint
boundary is a line that forms the boundary of what is permitted by the
corresponding constraint. The points of intersection are the corner-point
solutions of the problem. The five that lie on the corners of the feasible
region—(0, 0), (0, 6), (2, 6), (4, 3), and (4, 0)—are the corner-point feasible
solutions (CPF solutions). The other three—(0, 9), (4, 6), and (6, 0)—are
called corner-point infeasible solutions.
Since n = 2 in the example, two of its CPF solutions are adjacent if they share
one constraint boundary; for example, (0, 0) and (0, 6) are adjacent because
they share the x1 = 0 constraint boundary. Each CPF solution has two
adjacent CPF solutions, as enumerated in Table 10.2.
Table 10.2: The CPF and Adjacent CPF Solutions
379
Adjacent CPF solution provides a very useful way of checking whether a CPF
solution is an optimal solution. Consider any linear programming problem that
possesses at least one optimal solution. If a CPF solution has no adjacent
CPF solutions that are better (as measured by Z), then it must be an optimal
solution.
Thus, for the example, (2, 6) must be optimal simply because its z = 36 is
larger than z for (0, 6) and z for (4, 3). This optimality test is the one used by
the simplex method for determining when an optimal solution has been
reached.
Therefore, each time the simplex method performs an iteration to move from
the current CPF solution to a better one, it always chooses a CPF solution
that is adjacent to the current one. No other CPF solutions are considered.
Consequently, the entire path followed to eventually reach an optimal solution
is along the edges of the feasible region.
Solution concept 5: After the current CPF solution is identified, the simplex
method examines each of the edges of the feasible region that emanate from
this CPF solution. The simplex method identifies the rate of improvement in z
that would be obtained by moving along the edge. Among the edges with a
positive rate of improvement in z, it then chooses to move along the one with
the largest rate of improvement in z. The iteration is completed by first solving
for the adjacent CPF solution at the other end of this one edge and then
relabeling this adjacent CPF solution as the current CPF solution for the
optimality test and (if needed) the next iteration.
At the first iteration of the example, moving from (0, 0) along the edge on the
x1 axis would give a rate of improvement in z of 3 (z increases by 3 per unit
increase in x1), whereas moving along the edge on the x2 axis would give a
rate of improvement in z of 5 (Z increases by 5 per unit increase in x2), so the
decision is made to move along the latter edge. At the second iteration, the
only edge emanating from (0, 6) that would yield a positive rate of
improvement in z is the edge leading to (2, 6), so the decision is made to
move next along this edge.
380
Solution concept 6: A positive rate of improvement in z implies that the
adjacent CPF solution is better than the current CPF solution, whereas a
negative rate of improvement in z implies that the adjacent CPF solution is
worse. Therefore, the optimality test consists simply of checking whether any
of the edges give a positive rate of improvement in z. If none do, then the
current CPF solution is optimal.
In the example, moving along either edge from (2, 6) decreases Z. Since the
objective is to maximize Z, (2, 6) is optimal.
Self-Check Questions
The Simplex Method provides an efficient technique which can be applied for
solving LPPs of any magnitude.
● Whether all resources would be fully utilized by the optimal mix, or are there
any unutilized resources and to what extend
381
● Does the problem have an alternate solution which is as good as the optimal
solution obtained? If yes, what is that solution?
● Does the problem have no solution that can meet all the requirements?
The Simplex Algorithm is an iterative procedure for finding the optimal solution
to a LPP in a systematic manner. As discussed above, an optimal solution to
a problem, if exists, occurs at one of the corner points of the feasible region.
The simplex method, according to its iterative approach, results this optimal
solution from among the set of feasible solution to the problem. The algorithm
is indeed very efficient, because it considers only those feasible solutions
which are provided by the corner points, and that too not all of them.
The Simplex method always starts with the initial basic feasible solution, i.e.
origin, which is one of the corner points of the feasible region. This solution is
then tested i.e. it is ascertained whether improvement in the value of the
objective function is possible by moving to the next corner point of the feasible
region. If so, the solution at this point is obtained. This search for better corner
point is repeated, till after a finite number or trials, the optimal solution, if it
exists, is obtained.
a. The right hand side of each of the constraint, i.e., bi should be non-negative. If
not then multiply both side by (-1) and change the inequality
c. Objective function should be of maximization type. The objective function can
be of minimization type also. In that case the procedure reverses. Thus to
avoid confusion we consider here only maximization type of objective
function.
Step 1: Check whether the objective function of the given LPP is of
maximization form. If it of minimization form, convert it to
maximization type by multiplying it by (-1):
382
Step 2: Check whether all bi (i= 1, 2,..., m) are non-negative. If any one of bi
is negative, then multiply the corresponding constraint equation by
(-1) and change the inequality so as to get all bi non-negative.
Step 5: Compute
Z = CB⋅ b (10.8)
and (10.9)
j = 1, 2, 3 ….n (10.10)
Step 8: Determining where to stop: This step determines how much to
increase the basic variable. When the value of non-basic variable is
increased from 0, it is converted to basic variable. This is called
entering basic variable as it enters the basis to improve the solution.
To determine the leaving basic variable, compute
i=1, 2, …, m (10.12)
383
and choose the minimum of them. Let the minimum of these ratios
Increasing one of the non-basic variables gives new BFS. Solve this
new BFS using elementary operations to get new solution. The
method for solving equation is based on Gauss Jordon (Gaussian
Elimination) Method. Now convert the pivot number to unity by
dividing its row by the leading element itself and all other elements
in its column to zero by making use of equation:
(10.13)
and (10.14)
Solution:
Step 1: No need to change the objective as the problem is already of ‘max’
type
Here x1 and x2 are the decision variable and x3, x4 and x5 are slack
variables
384
In the example, there are n = 5 variable and m = 3 constraints,
therefore m variables (slacks) are basic variables and n (5 – 3 ) = 2
are the non-basic variables. Thus the decision variables x1 and x2
are the non-basic variable and the slacks x3, x4, x5 are the basic
variable.
cj 3 5 0 0 0
CB XB b a1 a2 a3 a4 a5
0 x3 4 1 0 1 0 0
0 x4 12 0 2 0 1 0
0 x5 18 3 2 0 0 1
Interpretation of the data in the above tableau (other simplex tableaus will
have similar interpretation)
i) The first row indicates the coefficients cj of the variable in the objective
function equation (10.1). These coefficients remain unchanged in the
subsequent tables. They represent the profit/cost per unit to the
objective function of each of the variables.
iii) The first column (CB column) represents the coefficients of the current
basic variables in the objective function equation. In the table this value
will be 0, 0, 0 as the cost of x3, x4, x5 are zero in the objective function
(i.e. z) equation.
iv) The third column, the b column, is called quantity column. It indicates
the right hand value. In the example values 4, 12 and 18 will be
inserted in the column.
v) The coefficient matrix under non-basic variable x1, x2 represents their
coefficients aij in the constraints (10.2). Vector a1 represents the
coefficients of x1 i.e. 1, 0, 3 which are inserted vertically. Coefficients of
x2 are 0, 2, 2. Coefficients of x3 are 1, 0, 0, coefficients of x4 are 0, 1, 0
and coefficients of x5 are 0, 0, 1
i.e. Z = (0 * 4 + 0 * 12 + 0 * 18) = 0
385
Δ2 = c 2 – CBa2 = 5 – (0 * 0 + 0 * 2 + 0 * 2) = 5
Δ3 = c 3 – CBa3 = 0 – (0 * 1 + 0 * 0 + 0 * 0) = 0
Δ4 = c 4 – CBa4 = 0 – (0 * 10+ 0 * 1 + 0 * 0) = 0
Δ5 = c 5 – CBa5 = 0 – (0 * 0 + 0 * 0 + 0 * 1) = 0
This row determines whether or not the current solution is optimal.
Coefficients in this row represent the net profit (or net marginal)
improvement in the value of the objective function Z for each unit of
the respective column variable introduced into the solution. Δj
elements under slack variables (x3, x4, x5 in this case) are also
known as shadow price.
Step 6: Optimality Test: A positive Δj value indicates the amount by which
the profit will be increased if a unit of the corresponding variable is
introduced into the selection, a negative coefficient indicates the
amount by which the profit will be decreased if a unit of the
corresponding variable is introduced into the solution.
Since in the current solution we have two positive, this means that
the solution can be improved further, i.e. the solution is not optimal
and go to next step.
Step 7: Determining the entering basic variable: Each of the value in the Δj
row signifies the amount of increase in the objective function that
would occur if one unit of the variable were introduced in the
solution. Therefore select the variable that has the largest Δj value.
If more than one variable has the same maximum value of Δj, any
one of these variable may be selected arbitrarily as entering
variable.
Step 8: Determining the Leaving Basic Variable: To determine the leaving
basic variable divide elements under b column by the
corresponding elements of the pivot column (all the aj should be
positive only). Now the row having the minimum value of θ is
selected.
θ2 = 12/2 = 6
θ3 = 18/2 = 9
386
Leaving value = min {6, 9} = 6
0 x4 12 0 2 0 1 0 6
0 x5 18 3 2 0 0 1 9
Z= 0
Δj 3 5 0 0 0
Step 9: Improving the Solution and construct the new tableau: In the new
tableau the variable x6 will be replaced by x2. To get the new basic
feasible solution,
a. Divide each element of the pivot row (including bi) by the pivot
element to get the corresponding values in the new table. The row
of values so derived is called the replacement row.
b. To make all the elements of the pivot column zero, perform the
following operation:
387
row values
For example to make the 3rd element of the pivot column zero,
preform the following operation:
There will be no change in 1st Row of the old table as the element of
the pivot column is already zero.
cj 3 5 0 0 0
CB xB b a1 a2 a3 a4 a5
0 x3 2 0 0 1 1/3 -1/3
5 x2 6 0 1 0 1/2 0
3 x1 2 1 0 0 -1/3 1/3
Z= 36
Δj 0 0 0 -3/2 -1
∴ x1 = 2, x2 = 6 and Z = 36
Solution
388
max (- Z) = − x1 + 3x2 − 2x3
Step 2: Change the 2nd constraint equation to make the right hand side
positive
− 2x1 + 4x2 ≤ 12
Step 4: Initialization: The slacks x4, x5, x6 are the basic variable. Construct
the initial table
Step 5: Compute Z = CBx and the net evaluation Δj using equations (10.10)
cj -1 3 -2 0 0 0 θ
CB XB b a1 a2 a3 a4 a5 a6
0 x4 7 3 -1 2 1 0 0 -
0 x5 12 -2 4 0 0 1 0 12/4=3
0 x6 10 -4 3 8 0 0 1 10/3=3.3
3
Z= 0
Δj -1 3 -2 0 0 0
Step 6: Since in the current solution has a positive value of Δj, the solution
is not optimal. Go to next step.
Step 7: Select the variable that has the largest Δj value. As Δj is maximum
x2 is the entering basic variable. Mark a2 as the pivot column.
Step 8: Calculate θ (all aj > 0) and choose the row having the minimum
value of θ. Thus x6 is the leaving basic variable. Mark the x6 row as
the pivot row. The element which lies at the intersection of the pivot
row and pivot column is termed as pivot element.
Step 9: Improving the Solution and construct the new tableau: To get the
new basic feasible solution,
a. Divide Row 2 of the old table by 4 to make the pivot element 1.
3 -1/2 1 0 0 1/4 1
b. To make all the elements of the pivot column zero, perform the
following operation:
+ 3 1/2 1 0 0 1/4 1
389
10 5/2 0 2 1 1/4 0
+ 9 -3/2 3 0 0 3/4 0
1 -5/2 0 8 0 -3/4 1
∴ x1 = 4, x2 = 5 and Zmin = 11
Self-Check Questions
390
10.10 Artificial Variable Techniques
In the above problems, the constraints were of ≤ type with non-negative right
hand side. There are, however, LPPs where the constraints are of ≥ or = type.
In such case surplus is subtracted to convert it into equality, as it represents
the excess of what is generated (given by left hand side of the value) over the
requirement (shown by the right hand side of the inequality). Since the surplus
is subtracted therefore the initial solution does not exist as it violates the
non-negativity constraint. Thus the artificial variable is added for obtaining an
initial solution. These are required for the constraints of ≥ or = type. Since
artificial variables do not represent any quantity relating to the decision
problem, they must be driven out of the system and must not show in the final
solution. To solve such types of LPPs there are two methods:
1. Big – M Method
2. Two Phase Method
The artificial variables are not real, these are introduced for the limited
purpose of obtaining an initial solution. Since the artificial variables do not
represent any quantity relating to the decision problem, they must be driven
out of the system first. This can be ensured by assigning extremely high cost
to them. Generally a value M is assigned to each artificial variable, where M
represents a number higher than any finite number. In case of minimize, add
(M) and in case of maximize, add (-M).
cj -40 -24 0 -M 0 -M θ
CB XB b a1 a2 a3 a4 a5 a6
-M x4 4800 20 50 -1 1 0 0 96
-M x6 7200 80 50 0 0 -1 1 144
Z= -12000
M
Δj -40 -24 -M 0 -M 0
+100M +100M
391
cj -40 -24 0 -M 0 -M θ
CB XB b a1 a2 a3 a4 a5 a6
-24 x2 96 2/5 1 -1/50 0 1/50 0 240
-M x6 2400 60 0 1 -1 -1 1 40
Z= -2304
-2400M
Δj -152/5 0 -12/25 12/2 -M 0
+60M +M 5
-2M
cj -40 -24 0 -M 0 -M θ
CB XB b a1 a2 a3 a4 a5 a6
-24 x2 0 1 -2/75 1/150 -1/150 -
80 2/75
-40 x1 1 0 1/60 -1/60 -1/60 1/60 2400
40
Z= 352
0
Δj 0 0 2/75 -M-2 -38/75 -M-38/
175 75
cj -40 -24 0 -M 0 -M
CB XB b a1 a2 a3 a4 a5 a6
-24 x2 144 8/5 1 0 0 -1/50 1/50
0 x3 2400 60 0 1 -1 -1 1
Z= -3456
Δj -8/5 0 0 -M -12/25 -M+12/25
Difficulty with Big M method: When solving the LPP using computers, what
value should be given to M? Thus Two Phase Method is used.
This method separates the solution procedure into two phases. In Phase I all
the artificial variables are eliminated from the basis. If a feasible solution is
obtained in this phase, which has no artificial variable in basis in the final
table, then proceed to Phase II. In this phase, use the solution from the Phase
I as the initial basic feasible solution and use the Simplex Method to
determine the optimal solution.
The Algorithm
Phase I
392
In this phase an initial BFS is found for the artificial LP. To do this an artificial
objective function is created which is the sum of all the artificial variables. This
problem is solved using the Simplex Algorithm.
Phase II
The basic feasible solution found at the end of the Phase I is now used as a
starting solution for the original problem. In other words, the final table of
Phase I becomes the starting table of Phase II in which the artificial objective
function is replaced by the original objective function and the artificial variable
column(s) are deleted from the simplex tableau. Now find the solution for this
problem using simplex algorithm.
Phase I
Step 4: Modify the augmented form by assigning zero coefficients to each
decision variables (x1 and x2) and to the surplus variables (x3 and
x5) and assign a unit coefficient to each of the artificial variables
(since it is a max problem, the coefficient of each of the artificial
variable shall be -1). Thus the objective function for the Phase I
becomes
Max (-Z) = – x4 – x6
Step 5: Solve this artificial problem by applying the usual Simplex Method.
cj 0 0 0 -1 0 -1 θ
CB XB b a1 a2 a3 a4 a5 a6
-1 x4 4800 20 50 -1 1 0 0 240
-1 x6 7200 80 50 0 0 -1 1 90
Z= -12000
Δj 100 100 1 1 0 0
cj 0 0 0 -1 0 -1 θ
CB XB b a1 a2 a3 a4 a5 a6
-1 x4 3000 0 75/2 -1 1 1/4 -1/4 80
0 x1 90 1 5/8 0 0 -1/80 1/80 144
Z= -3000
Δj 0 75/2 0 0 1/4 -5/4
393
cj 0 0 0 -1 0 -1
CB XB b a1 a2 a3 a4 a5 a6
0 x2 80 0 1 -2/75 2/75 1/150 -1/150
0 x1 40 1 0 1/60 -1/60 -1/60 -1/60
Z= 0
Δj 0 0 0 -1 0 -1
This is the optimal solution table for the Phase I. Now proceed to Phase II.
Phase II
Step 7: Solve this problem (tableau) using the usual Simplex Procedure
and obtain the optimal Solution.
cj -40 -24 0 0 θ
CB XB b a1 a2 a3 a5
-24 x2 80 0 1 -2/75 1/150 -
-40 x1 40 1 0 1/60 -1/60 2400
Z= -3520
Δj 0 0 2/75 -38/75
cj -40 -24 0 0
CB XB B a1 a2 a3 a5
-24 x2 144 8/5 1 0 -1/150
0 x3 2400 60 0 1 -1
Z= -3456
Δj -8/5 0 0 -12/25
Augmented Form
max Z = 2x1 + 4x2 – x4 – x6
s.t. 2x1 + x2 + x3 = 18
3x1 + 2x2 – x4 + x5 = 30
x1 + 2x2 + x6 = 26 x1, …, x7 ≥ 0
Phase I
max Z = – x4 – x6
s.t. 2x1 + x2 + x3 = 18
3x1 + 2x2 – x4 + x5 = 30
394
x1 + 2x2 + x6 = 26 x1, …, x7 ≥ 0
cj 0 0 0 0 -1 -1 θ
CB XB b a1 a2 a3 a4 a5 a6
0 x3 18 2 1 1 0 0 0 18
-1 x5 30 3 2 0 -1 1 0 15
-1 x6 26 1 2 0 0 0 1 13
Z= -56
Δj 4 4 0 1 0 0
cj 0 0 0 0 -1 -1 θ
CB XB B a1 a2 a3 a4 a5 a6
0 x3 5 3/ 0 1 0 0 -1/2 10/3
2
-1 x5 4 2 0 0 -1 1 -1 2
0 x2 13 1/ 1 0 0 0 1/2 26
2
Z= -4
Δj 2 0 0 -1 0 -2
395
cj 0 0 0 0 -1 -1
CB XB b a1 a2 a3 a4 a5 a6
0 x3 2 0 0 1 3/4 -3/4 1/4
0 x1 2 1 0 0 -1/2 1/2 -1/2
0 x2 12 0 1 0 1/4 -1/4 3/4
Z= 0
Δj 0 0 0 0 -1 -1
Phase II
cj 2 4 0 0
CB XB b a1 a2 a3 a4
0 x3 2 0 0 1 3/4
2 x1 2 1 0 0 -1/2
4 x2 12 0 1 0 1/4
Z= 52
Δj 0 0 0 0
x1 = 2, x2 = 12 with Z = 52
As seen in the graphical method an LPP may or may not be unique. This
happens when the objective function (cost-profit line) is parallel to one of the
constraint. In Simplex Method, notice that for all the basic variables, Δj = 0,
but for the non-basic variables, Δj ≠ 0. An optimal solution with Δj = 0 for basic
variables and Δj ≠ 0 for the non-basic variables indicates the solution is
optimal in the sense that no other solution to the given problem exists, which
yields an identical value of the objective function. When a non-basic variable
in an optimal solution has a zero value for Δj, then the solution is not unique,
and multiple solutions exist.
396
cj 8 16 0 0 0 θ
CB XB b a1 a2 a3 a4 a5
0 x3 200 1 1 1 0 0 200
0 x4 125 0 1 0 1 0 125
0 x5 900 3 6 0 0 1 150
Z= 0
Δj 8 16 0 0 0
cj 8 16 0 0 0 θ
CB XB b a1 a2 a3 a4 a5
0 x3 75 1 0 1 -1 0 75
16 x2 125 0 1 0 1 0 -
0 x5 150 3 0 0 -6 1 50
Z= 200
0
Δj 8 0 0 -16 0
cj 8 16 0 0 0
CB XB b a1 a2 a3 a4 a5
0 x3 25 0 0 1 1 -1/3
16 x2 125 0 1 0 1 0
8 x1 50 1 0 0 -2 1/3
Z= 240
0
Δj 0 0 0 0 -8/3
All the Δj ≤ 0, this indicates that the solution is optimal solution with x1 = 50, x2
= 125 and Z = 2400.
Notice that in the above tableau, one of the non-basic variable x4 has Δj = 0.
This variable has a zero net contribution and therefore it can be included in
the basis without changing the value of the objective function. Now take x4 to
be the pivot column and perform the calculations.
cj 8 16 0 0 0 θ
CB XB b a1 a2 a3 a4 a5
0 x3 25 0 0 1 1 -1/3 25
16 x2 125 0 1 0 1 0 -
8 x1 50 1 0 0 -2 1/3 -
Z= 240
0
Δj 0 0 0 0 -8/3
cj 8 16 0 0 0
CB XB b a1 a2 a3 a4 a5
0 x4 25 0 0 1 1 -1/3
16 x2 100 0 1 -10 0 1/3
8 x1 100 1 0 2 0 -1/3
Z= 2400
Δj 0 0 0 0 -8/3
397
Now the solution is optimal with x1= 100, x2=100 and Z = 2400. Again the
non-basic variable x3 =0 indicates that the problem has multiple optimal
solutions.
Solution:
Augmented Form:
max Z = 6x1 + 4x2 – x6
s.t. 2x1 + 3x2 + x3 = 30
3x1 + 2x2 + x4 = 24
x1 + x2 – x5 +x6 = 3 x1, …, x6 ≥ 0
Phase - I
max Z = – x6
s.t. 2x1 + 3x2 + x3 = 30
3x1 + 2x2 + x4 = 24
x1 + x2 – x5 +x6 = 3 x1, …, x6 ≥ 0
cj 0 0 0 0 0 -1 θ
CB XB b a1 a2 a3 a4 a5 a6
0 x3 30 2 3 1 0 0 0 15
0 x4 24 3 2 0 1 0 0 8
-1 x6 3 1 1 0 0 -1 1 3
Z= -3
Δj 1 1 0 0 -1 0
cj 0 0 0 0 0 -1
CB XB b a1 a2 a3 a4 a5 a6
0 x3 24 0 1 1 0 2 -2
0 x4 15 0 -1 0 1 3 -3
0 x1 3 1 1 0 0 -1 1
Z= 0
Δj 0 0 0 0 0 -1
Phase II
cj 6 4 0 0 0 θ
CB XB b a1 a2 a3 a4 a5
0 x3 24 0 1 1 0 2 12
0 x4 15 0 -1 0 1 3 5
6 x1 3 1 1 0 0 -1 -
Z= 18
Δj 0 0 0 0 6
cj 6 4 0 0 0
398
CB XB b a1 a2 a3 a4 a5
0 x3 14 0 1 1 -2/3 0
0 x5 5 0 -1/3 0 1/3 0
6 x1 8 1 2/3 0 1/3 1
Z= 48
Δj 0 0 0 -2 0
Z = 48, x1 = 8 and x2 = 0
Consider Illustration 10.20, the initial tableau shows that 2 variables x1 and x2
have the same largest value (=100) of Δj. Choose any of these to be the
entering basic variable.
10.11.3 Degeneracy
Degeneracy occurs in LPP when one or more of the basic variable assumes a
value of zero. This means that in the table there will be a tie between leaving
basic variable, i.e., two leaving basic variables have same minimum ratio.
Break the tie arbitrary.
Augmented Form
max Z = 28x1 + 30x2
s.t. 6x1 + 3x2 + x3 = 18
3x1 + x2 + x4 = 8
4x1 + 5x2 + x5 = 30 x1, …, x5 ≥ 0
cj 28 30 0 0 0 θ
CB XB b a1 a2 a3 a4 a5
0 x3 18 6 3 1 0 0 6
0 x4 8 3 1 0 1 0 8
0 x5 30 4 5 0 0 1 6
Z= 0
Δj 28 30 0 0 0
399
This is a degenerate solution as there are two leaving variables having
minimum ratio. Considering x3 as leaving basic variable we get the following
solution:
400
cj 28 30 0 0 `0
CB XB b a1 a2 a3 a4 a5
30 x2 6 2 1 1/3 0 0
0 x4 2 1 0 -1/3 1 0
0 x5 0 -6 0 -5/3 0 1
Z= 180
Δj -32 0 -10 0 0
This is the optimal solution with Z= 180, x1 = 0 and x2 = 18. Here variable x5
and the solution is degenerate.
cj 28 30 0 0 0 θ
CB XB b a1 a2 a3 a4 a5
0 x3 18 6 3 1 0 0 6
0 x4 8 3 1 0 1 0 8
0 x5 30 4 5 0 0 1 6
Z= 0
Δj 28 30 0 0 0
Initial Solution
cj 28 30 0 0 0 θ
CB XB b a1 a2 a3 a4 a5
0 x3 0 18/ 0 1 0 -3/5 0
5
0 x4 2 11/ 0 0 1 -1/5 10/11
5
30 x2 6 1 0 0 1/5 15/2
4/5
Z= 18
0
Δj 4 0 0 0 -6
cj 28 30 0 0 0
CB XB b a1 a2 a3 a4 a5
0 x1 0 1 0 5/18 0 -1/6
0 x4 2 0 0 -11/18 1 1/6
30 x2 6 0 1 - 2/9 0 1/3
Z= 18
0
Δj 0 0 -10/9 0 -16/
3
This is optimal with x1 = 0, x2 = 6 and Z = 180
● In the above tableau the variable x5 has a zero value although it is in the
basis. Thus the variable x5 and the solution are degenerate.
● Whenever there is tie in the replacement ratios for determining outgoing
variable, the tableau would give a degenerate solution.
401
● We know that successive simplex tableau represents improvements in the
value of the objective function (increases are observed for the
maximization and decreases for the minimization problems). However,
when the outgoing variable happens to be a degenerate variable, the
objective function value in the next tableau does not change.
Augmented Form
max Z = 5x1 + 2x2
s.t. 4x1 + 2x2 + x3 = 16
3x1 + x2 + x4 = 9
3x1 - x2 + x5 = 9 x1, …, x5 ≥ 0
cj 5 2 0 0 0 θ
CB XB b a1 a2 a3 a4 a5
0 x3 16 4 2 1 0 0 4
0 x4 9 3 1 0 1 0 3
0 x5 9 3 -1 0 0 1 3
Z= 0
Δj 5 2 0 0 0
cj 5 2 0 0 0 θ
CB XB b a1 a2 a3 a4 a5
0 x3 4 0 2/3 1 -4/3 0 6
5 x1 3 1 1/3 0 1/3 0 9
0 x5 0 0 -2 0 -1 1 -
Z= 15
Δj 0 1/3 0 -5/3 0
402
10.11.4 No leaving variable (Unbounded Solution)
An LPP is said to have unbounded solution if its objective function value can
be increased (in case of a maximization problem) or can be decreased (in
case of a minimization problem) without limits. In simplex tableau, there may
be a situation where all the θ values are not non-negative, i.e., it is not
possible to find the leaving basic variable as every coefficient in the pivot
column is either negative or zero.. This indicates that the entering basic
variable could be increased indefinitely (Unbounded z). Such problem has an
unbounded solution.
Solution:
Augmented Form
max Z = 10x1 + 20x2 – x4 - x6
s.t . 2x1 + 4x2 - x3 + x4 = 16
x1 + 5x2 - x5 + x6 = 15 x1, …, x6 ≥ 0
Phase I
max Z = – x4 - x6
s.t. 2x1 + 4x2 - x3 + x4 = 16
x1 + 5x2 - x5 + x6 = 15 x1, …, x6 ≥ 0
cj 0 0 0 -1 0 -1 θ
CB XB b a1 a2 a3 a4 a5 a6
-1 x4 16 2 4 -1 1 0 0 4
-1 x6 15 1 5 0 0 -1 1 3
Z= -31
Δj 3 9 -1 0 -1 0
cj 0 0 0 -1 0 -1 θ
CB XB b a1 a2 a3 a4 a5 a6
-1 x4 4 6/5 0 -1 1 4/5 -4/5 10/3
0 x2 3 1/5 1 0 0 -1/5 1/5 15
Z= -4
Δj 6/5 0 -1 4/5 0 -9/5
cj 0 0 0 -1 0 -1 θ
CB XB b a1 a2 a3 a4 a5 a6
0 x1 10/ 1 0 -5/6 5/6 2/3 -2/3 4
3
0 x2 7/3 0 1 1/6 -1/6 -1/3 1/3 3
Z= 0
Δj 0 0 0 -1 0 -1
This is the optimal solution for the Phase I. Thus proceed to Phase II.
403
Phase II
cj 10 20 0 0 θ
CB XB b a1 a2 a3 a5
10 x1 10/3 1 0 -5/6 2/3 -
20 x2 7/3 0 1 1/6 -1/3 14
Z= 240/3
Δj 0 0 5 0
cj 0 0 0 0
CB XB B a1 a2 a3 a5
10 x1 15 1 5 0 -1
0 x3 14 0 6 1 -2
Z= 140
Δj 0 -30 0 10
It is observed form the table that the solution is not optimal and the entering
basic variable is x5. But the replacement ratio θ cannot be calculated since all
the elements of the pivot column are negative. This implies that x3 can be
increased indefinitely without driving one of basic variable is zero, or in other
words, the leaving basic variable cannot be determined and hence the
solution is unbounded.
10.11.5 Infeasibility
Solution:
Augmented Form
max Z = 20x1 + 30x2 – x6
s.t. 2x1 + x2 + x3 = 40
4x1 − x2 + x4 = 20
x1 − x5 + x6 = 30 x1, …, x6 ≥ 0
Phase I
max Z = – x6
s.t. 2x1 + x2 + x3 = 40
4x1 − x2 + x4 = 20
x1 − x5 + x6 = 30 x1, …, x6 ≥ 0
404
cj 0 0 0 0 0 -1 θ
CB XB b a1 a2 a3 a4 a5 a6
0 x3 40 2 1 1 0 0 0 20
0 x4 20 4 -1 0 1 0 0 5
-1 x6 30 1 0 0 0 -1 1 30
Z= -30
Δj 1 0 0 0 -1 0
cj 0 0 0 0 0 -1 θ
CB XB b a1 a2 a3 a4 a5 a6
0 x3 30 0 3/2 1 -1/2 0 0 20
0 x1 5 1 -1/4 0 1/4 0 0 -
-1 x6 25 0 1/4 0 -1/4 -1 1 100
Z= -25
Δj 0 1/4 0 -1/4 -1 0
cj 0 0 0 0 0 -1
CB XB b a1 a2 a3 a4 a5 a6
0 x2 20 0 1 2/3 -1/3 0 0
0 x1 10 1 0 1/6 1/6 0 0
-1 x6 20 0 0 -1/6 -1/6 -1 1
Z= -20
Δj 0 0 -1/6 -1/6 -1 0
Here in the Phase I table Z = -20 and all Δj ≤ 0, but the artificial variable is still
in the basis. Therefore the problem has infeasible solution and we stop here.
Solution: Make the right hand side of the II constraint positive by multiplying
it by (-1) and change the inequality.
Since the use of Simplex Method requires that all the decision variables must
have non-negative values at each iteration, the unrestricted variable is
expressed as a difference of two non-negative variables. So here
405
Value of x2 will be positive, zero or negative depending upon is larger,
equal or smaller than
cj 8 -4 4 0 0 θ
CB XB b a1 a3 a4
0 x3 20 4 5 -5 1 0 5
0 x4 23 1 -3 3 0 1 23
Z= 0
Δj 8 -4 4 0 0
cj 8 -4 4 0 0 θ
CB XB b a1 a3 a4
cj 8 -4 4 0 0 θ
CB XB b a1 𝑎2
'
𝑎2
" a3 a4
Z= 1688/1
7
Δj 0 0 0 -1/17 -56/17
x1 = 175/17, = 0, = 72/17
⇒ = 0 – 72/17 = -72/17
406
1. It may be desired to convert a maximization problem into minimization
problem and even vice-versa.
2. Whatever to introduce stock, surplus or artificial variables depends on the
type of inequality not on the type of problem i.e. whatever maximization or
minimization.
3. Note that except the artificial variables, others, once driven out of the
solution, may re-enter in subsequent iterations.
4. In all the tables there must be an identity matrix of p × p, where p is the
number of constraints. The columns that constitute such an identity matrix
need not be adjacent.
5. The b-column (Quantity column) values can never be negative. Any
negative value is b-column during computations indicate error in
calculations.
6. Z-value in subsequent table will be at least (maximization problem) or at
most (minimization problem) equal to the value in the previous table.
7. If any solution violets any of the constants, there is error in computation.
The errors must be checked and corrected before proceeding further.
8. Sometimes, lower bounds may be specified in a LPP for example, it may
be stipulated that x1 cannot be less than C1 and x2 cannot be less than C2.
i.e. x1≥C1 and x2 ≥ C2. Such constants can be easily handled by
substituting x1=C1+ y1 and x2 = C2 +y2 in the model and then solving it in
terms of y1 and y2. (Please see Illustration 10.29).
9. When the objective function contains a constant term, the simplex method
may be applied by excluding the constant and the optimal solution may be
obtained. This constant is then added at the end to find the optimal value
of the objective function (Please see Illustration 10.29)
10.The graphical method, the simplex technique and dual approach are just
different ways of solving a LPP.
Solution: Let x, y and w denote the number of units produced per month of
products X, Y and Z respectively objective is to maximize of monthly profit.
Thus
max Z = 10x + 15y + 8w
s.t. x + 2y + 2w ≤ 200
407
2x + y + w ≤ 220
3x + y + 2w ≤ 180
Also x ≥ 10
y ≥ 20
w ≥ 30
Solution of this problem will need introduction of 3 slacks, 3 surplus and 3
artificial variables. Therefore the problem will involve 12 variables and 6
constants. To reduce time and effort for the solution variables x, y, w having
lower bounds of 10, 20 and 30 respectively are substituted as follows:
x = 10 + x1
y = 20 + x2
w = 30 + x3
where x1, x2, x3 ≥ 0
Augmented Form
max Z = Z’ – 640
s.t. x1 + 2x2 + 2x3 + x4 = 90
2x1 + x2 + x3 + x5 = 150
3x1 + x2 + 2x3 + x6 = 70 x1,…, x6 ≥ 0
cj 10 15 8 0 0 0 θ
CB XB b a1 a2 a3 a4 a5 a6
0 x4 1 2 2 1 0 0 45
90
0 x5 15 2 1 1 0 1 0 150
0
0 x6 3 1 2 0 0 1 70
70
Z’= 0
Δj 10 15 8 0 0 0
cj 10 15 8 0 0 0 θ
CB XB b a1 a2 a3 a4 a5 a6
15 x2 1/2 1 1 1/2 0 0 90
45
408
0 x5 10 3/2 0 0 -1/2 1 0 70
5
0 x6 5/2 0 1 15/2 0 1 10
25
Z’= 67
5
Δj 5/2 0 -7 -15/2 0 0
cj 10 15 8 0 0 0
CB XB b a1 a2 a3 a4 a5 a6
15 x2 0 1 4/5 3/5 0 -1/5
40
0 x5 0 0 -3/5 -1/5 1 -3/5
90
10 x1 1 0 2/5 -1/5 0 2/5
10
Z’= 70
0
Δj 0 0 -8 -7 0 -1
Self-Check Questions
18.If the outgoing variable does not correspond to the least non-negative
replacement ration, at least one basic variable would become negative in the
next iteration
19.In the optimal solution, if a basic variable has a solution value equal to zero ,
then multiple solutions are indicated
20.If a certain solution to an LPP is degenerate and non-optimal, the next
solution would necessarily be degenerate
21.If the non-negative ratios are tied, then multiple solutions are indicated
409
For every LPP, there is another LPP which is related to it and therefore, may
be derived from it. This original LPP is called the Primal and the associated
problem is called the Dual. Apart from mathematical connection between
primal and dual, the primal-dual relationship explains the economic
significance of the dual and helps a manager to answer following types of
queries:
● Is it advisable to produce all the items that can be produced in a given
situation? If some item is left out in the optimal product-mix, then under what
conditions will it be advisable to produce it?
● What is the marginal profitability of each of the resources of the firm? This
means by how much the profit will increase if more quantity of a particular
resource is added or how much reduction in profit will result if its availability is
reduced?
The primal can be rewritten by transposing the rows and columns of the
matrix A. Inverting the problem in this way results in a dual. The variables of
the dual are known as dual variables or shadow prices of the resources. A
solution to the dual may be found in a manner similar to that used for the
primal. The two problems have very closely related properties so that optimal
solution of the dual gives complete information about the optimal solution of
the primal and vice versa. Various useful aspects of this property are:
1) If the primal problem contains large number of constraints (rows) and a
smaller number of variables (columns), the computational procedure can be
considerably reduced by converting it into dual and then solving it.
2) It gives additional information as to how the optimal solution changes as a
result of the changes in the coefficients and the formulation of the problem.
This forms the basis for sensitivity analysis.
3) Calculation of the dual checks the accuracy of the primal solution.
4) Economic interpretation of the dual helps the management in making future
decisions.
5) Duality is used to solve LPP in which the initial solution is infeasible.
6) Solution of the dual can be used by the decision-maker for planning or
increasing resources.
Given the canonical form for the primal at the left its dual problem has the
form shown to the right.
410
j=1,2,…,n
i=1,2,…,m
Here wi are the dual variables and xj are the decision variables. Number of
constraints and interchanged in the two problems. The dual problem usually
uses exactly the same parameters as the primal problem, but in different
locations. Optimal solution of either problem reveals information about the
optimal solution of the other.
Matrix Notation
Let c and w = [w1,w2, …, wm] are row vectors and b and X are column vectors.
Then
Primal has Dual
max ZP= c x min ZD = bT w
s.t. A x ≤ b s.t. AT w ≥ c
x ≥ 0 w≥0
For example
max ZP = 3x1 +5x2 min ZD = 4w1 + 12w2 + 18w3
s.t. x1 ≤ 4 s.t. w1 + 3w3 ≥ 3
2x2 ≤ 12 12w2 + 2w3 ≥ 5
3x 1 + 2x2 ≤ 18 w1, w2, w3 ≥ 0
x1, x2 ≥ 0
Where
max ZP = [3 5] . min ZD = .
s.t s.t.
≥ 0 ≥0
10.12.2 Rules for converting Primal into its Dual
Following are the steps to convert the primal into its dual
411
a. Change the objective function of minimization type to
maximization type
to its equivalent
Solution:
412
Thus the dual is
min ZD = 4w1 + 12w2 + 18w3
s.t. w1 + 3w3 ≥ 3
12w2 + 2w3 ≥ 5
w1, w2, w3 ≥ 0
The dual is
min ZD = − 4800w1 − 7200w2
s.t. − 20w1 − 80w2 ≥ − 40
− 50w1 − 50w2 ≥ − 24 w1, w2 ≥ 0
Solution: Writing the given problem in canonical form, the third constraint
equation will be replace by the pair
x1 + 2x2 ≥ 26
x1 + 2x2 ≤ 26
The dual is
min ZD = 18w1 − 30w2 + 26w3 − 26w4
s.t. 2w1 − 3w2 + w3 − w4 ≥ 2
w1 − 2w2 + 2w3 − w4 ≥ 4 w1, w2, w3, w4 ≥ 0
Where is a variable unrestricted in sign. The variables w3 and w4, both are
non-negative, their differences could be greater than, less than or equal to
zero.
414
min ZD = 18w1 − 30w2 + 26
s.t. 2w1 − 3w2 + ≥2
w1 − 2w2 + ≥ 4 w1, w2 ≥ 0, is unrestricted in sign
x1 − ≤ 23 x1, ≥0
The dual is
min zD = 20w1 + 30w2
s.t. 4w1 + w2 ≥ 8
5w1 − 3w2 ≥ −4
−5w1 + 3w2 ≥ 4 w1, w2 ≥ 0
− 5w1 + 3w2 = 4
415
Solution: Replacing x3 by the difference of non-negative variables i.e.
− x1 − x2 − ≤ − 7 x1, x2, ≥0
The dual is
min ZD = 10w1 − 15w2 + 7w3 − 7w4
s.t. w1 − 4w2 + w3 − w4 ≥ 3
w1 + w2 + w3 − w4 ≥ 4
w1 + w2 + w3 − w4 ≥ 7
− w1 − w2 − w3 + w4 ≥ −7 w1, w2, w3, w4 ≥ 0
The symmetrical relationship between the primal and the dual is given in
Table 10.7.
Table 10.7: Primal-dual relationship
416
1. If a primal has n variables and m Its dual has m variables and n
constraints constraints
2. Objective is to maximize Z Objective is to minimize Z
3. Cost vector is c and requirement Cost vector is bT and requirement vector
vector is b is cT
4. Coefficient Matrix A Coefficient Matrix AT
5. Constraints with sign ≤ Constraints with sign ≥
6. ith constraint an inequality ith variable wi ≥ 0
7. ith constraint an equality ith variable wi unrestricted in sign
8. jth variable xj ≥ 0 jth constraint an inequality
9. jth variable xj unrestricted in sign jth constraint an equality
10. ith slack variable positive ith variable zero
11. ith variable zero ith slack variable positive
12. Finite optimal solution Finite optimal solution with max zP=min
zD
13. Unbounded Solution No solution
14. No solution Unbounded solution
max ZP= c x
s.t. A x ≤ b (10.15)
x≥0
Theorem 3: If x0 is any feasible solution to the primal (10.15) and w0 is any
feasible solution to its dual (10.16) then x0 and w0 are optimal
solutions to the primal and the dual problems respectively.
Theorem 4: (Basic Theorem of Duality): Let a primal be given by (10.15) and
the associated dual be (10.16).
cx0 = bTw0
Theorem 5: (Fundamental Theorem of Duality): If the primal or the dual has
a bounded (finite) solution to an LPP, then the other problem
also possesses a finite optimum solution and the optimum
values of the objective function of the two problems are equal.
417
Theorem 6: (Existence Theorem): If the primal (dual) has an unbounded
solution, then its dual (primal) has no feasible solution.
Self-Check Questions
22.The dual to a given LPP would have as many variables as the number of
constraints in the primal
23.Corresponding to every unrestricted primal variable, an equality dual
constraint is obtained
24.The dual to the dual of an LPP is the primal itself
Example:
Primal Dual
max ZP = 40x1 + 35x2 min ZD = 60w1 + 96w2
s.t. 2x1 + 3x2 ≤ 60 s.t. 2w1 + 4w2 ≥ 40
4x1 + 3x2 ≤ 96 3w1 + 3w2 ≥ 35
x1, x2 ≥ 0 w1, w2 ≥ 0
Solve the primal using usual simplex method. The optimal solution to the
primal is
cj 40 35 0 0
CB XB b a1 a2 a3 a4
35 x2 8 0 1 2/3 -1/3
40 x1 18 1 0 -1/2 2/3
Z= 1000
Δj 0 0 -10/3 -25/3
Now consider the dual. Solving the dual using the II phase method, the
optimal solution to the dual is
cj -60 -96 0 0 θ
CB WB B y1 y2 y3 y5
-96 w2 25/3 0 1 -1/2 1/3
-60 w1 10/3 1 0 1/2 -2/3
Z= -1000
Δj 0 0 -18 -8
418
1. Correspondence between the variables of primal and dual
2. Comparison of the optimal solution to the primal and the dual
a. The objective function value of both the problems are the same
b. The numerical value of each of the variables in the optimal solution to the
primal is equal to the value of its corresponding variable in the dual
contained in the Δj row.
x1 = 18, x2 = 8;
w1 = 10/3, w2 = 25/3 (Δj value, ignoring the sign, of the slack variables
in the optimal solution of the primal)
w1 = 10/3, w2 = 25/3;
Clearly, if feasible solutions exist for both the primal and the dual then
both problems have optimal solutions of which objective function values
(optimal values) are same.
Also if one problem has unbounded solution the associated problem has
no feasible solution.
c. The optimal solution to the dual can be read from the optimal solution of
the primal and vice versa. Therefore there is no need to solve both the
primal and dual problems to obtain the optimal solution.
419
kg of Z. likewise one kg of B contains 0.1 kg of x, 0.2 kg of y and 0.1 kg of Z.
the daily per head requirement is of at least 0.4 kg of W, 0.6 kg of x, 2 kg of y
and 1.8 kg of Z. Feed A can be brought for ` 0.07 per kg and B can be brought
for ` 0.05 per kg the availabilities, requirements and costs are summarized in
the table below.
Ingredient Feed A (kg) Feed B (kg) Requirement (kg)
W 0.1 0.0 0.4
X 0.0 0.1 0.6
Y 0.1 0.2 2.0
Z 0.2 0.1 1.8
Cost (`) 0.007 0.005
Determine the quantities of feeds A and B in the mixture so that the total lost
is minimum.
Augment Form:
max (-Z) = -0.07x1 - 0.05x2 – Mx4 – Mx6 – Mx8 – Mx10
s.t 0.1x1 -x3 + x4 = 0.4
0.10x2 -x5 + x6 = 0.6
0.1x1 + 0.20x2 -x7 + x8 = 2.0
0.2x1 + 0.10x2 -x9 + x10 = 1.8
x1,…, x10 ≥ 0
cj -0.07 -0.05 0 -M 0 -M 0 -M 0 -M θ
CB XB b a1 a2 a3 a4 a5 a6 a7 a8 a9 a10
-M x4 0.4 0.1 0 -1 1 0 0 0 0 0 0 -
-M x6 0.6 0 0.1 0 0 -1 1 0 0 0 0 6
-M x8 2.0 0.1 0.2 0 0 0 0 -1 1 0 0 10
-M X1 1.8 0.2 0.1 0 0 0 0 0 0 -1 1 18
Z= -4.8M
420
Δj -0.07 -0.05 -M 0 -M 0 -M 0 -M 0
+0.4 +0.4
M M
cj -0.07 -0.05 0 -M 0 -M 0 -M 0 -M θ
CB XB b a1 a2 a3 a4 a5 a6 a7 a8 a9 a10
-M x4 0.4 0.1 0 -1 1 0 0 0 0 0 0 -
0.0 x2 6.0 0 1 0 0 -10 10 0 0 0 0 -
5
-M x8 0.8 0.1 0 0 0 2 -2 -1 1 0 0 2/5
-M X1 1.2 0.2 0 0 0 1 -1 0 0 -1 1 6/5
Z= - 2.4M
Δj -0.07 0 -M 0 -0.05 0.5 -M 0 -M 0
+0.4 +3M -4M
M
Proceeding in the same way, the optimal solution is obtained after three more
iterations as follows
cj -0.07 -0.05 0 -M 0 -M 0 -M 0 -M θ
CB XB b a1 a2 a3 a4 a5 a6 a7 a8 a9 a10
0.0 x1 16/3 0.1 0 -1 1 0 0 0 0 0 0 -
7
0.0 x2 22/3 0 1 0 0 -10 10 0 0 0 0 -
5
0 x5 1/3 0.1 0 0 0 2 -2 -1 1 0 0 2/5
0 x1 1/3 0.2 0 0 0 1 -1 0 0 -1 1 6/5
Z= 0.74
Δj 0 0 0 -M 0 -M -0.1 -M +0.1 -0.3 -M+0.
3
Therefore the optimal quantities of feeds A and B in the mixture are 16/3 kg
and 22/3 kg respectively with total cost = ` 0.74.
Augmented Form:
max ZD = 0.4w1 + 0.6w2 + 2.0w3 + 1.8w4
s.t 0.1w1 + 0.1w3 + 0.2w4 + w5 = 0.07
0.1w2 + 0.2w3 + 0.1w4 + w6 = 0.05
w1,…, w6 ≥ 0
421
CB W b y1 y2 y3 y4 y5 y6
B
0 w5 0.07 0.1 0 0.1 0.2 1 0 0.7
0 w6 0.05 0 0.1 0.2 0.1 0 1 0.2
5
Z= -4.8M
Δj 0.4 0.06 2 1.8 0 0
Optimal values of x1 and x2 are given under the slacks of the dual with
changed sign of coefficient in Δj row.
Solution:
cj 8 16 0 0 0 θ
CB XB b a1 a2 a3 a4 a5
422
0 x3 200 1 1 1 0 0 200
0 x4 125 0 1 0 1 0 125
0 x5 900 3 6 0 0 1 150
Z= 0
Δj 8 16 0 0 0
cj 8 16 0 0 0 θ
CB XB b a1 a2 a3 a4 a5
0 x3 75 1 0 1 -1 0 75
16 x2 125 0 1 0 1 0 -
0 x5 150 3 0 0 -6 1 50
Z= 200
0
Δj 8 0 0 -16 0
cj 8 16 0 0 0
CB XB b a1 a2 a3 a4 a5
0 x3 25 0 0 1 1 -1/3
16 x2 125 0 1 0 1 0
8 x1 50 1 0 0 -2 1/3
Z= 240
0
Δj 0 0 0 0 -8/3
From the optimal table the values of dual variables can also be written. Value
of w1 will be the Δj value (ignoring the sign) of the slack variable x3, value of w2
will be the Δj value (ignoring the sign) of the slack variable x4 and value of w3
will be the Δj value (ignoring the sign) of the slack variable x5. Thus
Illustration 10.40: Consider the following LPP. Write its dual and solve it.
From the solution of dual, determine the values of dual variables and Z.
max Z = 3x1 + 4x2 + 7x3
s.t. x1 + x2 + x3 ≤ 10
4x1 − x2 − x3 ≥ 15
x1 + x2 + x3 = 7 x1, x2 ≥ 0, x3 unrestricted in sign
423
Considering = w3 − w4 , where both w3 and w4 ≥ 0, the above dual can be
rewritten as
min ZD = 10w1 − 15w2 + 7w3 − 7w4
s.t. w1 − 4w2 + w3 − w4 ≥ 3
w1 + w2 + w3 − w4 ≥ 4
w1 + w2 + w3 − w4 = 7 w1, w2, w3, w4 ≥ 0
cj 0 0 0 0 0 -1 0 -1 -1 θ
CB WB b y1 y2 y3 y4 y5 y6 y7 y8 y9
-1 w6 3 1 -4 1 -1 -1 1 0 0 0 3
-1 w8 4 1 1 1 -1 0 0 -1 1 0 4
-1 w9 7 1 1 1 -1 0 0 0 0 1 7
Z= -14
Δj 3 -2 3 -3 -1 0 -1 0 0
Solving the above initial table we get the optimal solution for phase I as
follows:
cj 0 0 0 0 0 -1 0 -1 -1 θ
CB WB b y1 y2 y3 y4 y5 y6 y7 y8 y9
0 w4 31/5 1 0 1 -1 -9/5 9/5 0 0 4/5 3
0 w2 4/5 0 1 0 0 -1/5 1/5 0 0 1/5 4
0 w8 3 0 0 0 0 -2 2 1 -1 1 7
Z= 0
Δj 0 0 0 0 0 -1 0 -1 -1
cj -10 15 -7 7 0 0
CB WB b y1 y2 y3 y4 y5 y7
-7 w4 31/5 1 0 1 -1 -9/5 0
15 w2 4/5 0 1 0 0 -1/5 0
0 w8 3 0 0 0 0 -2 1
Z= -157/5
Δj -3 0 0 0 -48/5 0
⇒ = w3 − w4 = 0 - 31/5 = -31/5
424
Illustration 10.41: Consider the following LPP. Solve it and interpret the
result.
max Z = 6x1 + x2
s.t. 2x1 + x2 ≥ 3
- x1 + x2 ≥ 0 x1, x2 ≥ 0
Solution:
Augmented Form
max Z = 6x1 + x2 – x4 – x6
s.t. 2x1 + x2 – x3 + x4 =3
– x1 + x2 – x5 + x6 = 0 x1, ..., x6 ≥ 0
cj 0 0 0 -1 0 -1 θ
CB XB b a1 a2 a3 a4 a5 a6
-1 x4 3 2 1 -1 1 0 0 3/2
-1 x6 0 -1 1 0 0 -1 1 4
Z= -3
Δj 2 1 -1 0 -1 0
cj 0 0 0 -1 0 -1 θ
CB XB b a1 a2 a3 a4 a5 a6
0 x1 3/2 1 1/2 -1/2 1/2 0 0 3
-1 x6 3/2 0 3/2 -1/2 1/2 -1 1 1
Z= -3/2
Δj 0 3/2 -1/2 -1/2 -1 0
cj 0 0 0 -1 0 -1 θ
CB XB b a1 a2 a3 a4 a5 a6
0 x1 1 1 0 -1/3 1/3 1/3 -1/3
0 x2 1 0 1 -1/3 1/3 -2/3 2/3
Z= 0
Δj 0 0 0 -1 0 -1
cj 6 1 0 0 θ
CB XB b a1 a2 a3 a5
6 x1 1 1 0 -1/3 1/3
1 x2 1 0 1 -1/3 -2/3
Z= 7
Δj 0 0 5/3 -5/3
Augmented Form
min ZD = -3w1 – w4 – w6
425
s.t. - 2w1 + w2 – w3 + w4 =6
- w1 - w2 – w5 – w6 = 1 w1,.., w6 ≥ 0
cj 0 0 0 -1 0 -1 θ
CB WB b y1 y2 y3 y4 y5 y6
-1 y4 6 -2 1 -1 1 0 0
-1 y6 1 -1 -1 0 0 -1 1
Z= -7
Δj -3 0 -1 0 -1 0
The solution is optimal but the artificial variables are still in the basis. Thus the
solution is infeasible.
Thus if the primal has unbounded solution, the dual will infeasible solution and
vice versa.
Illustration 10.42: A company has two bottling plants, one located at Solan
and other located at Mohan Nagar. Each plant produces three drinks - Fruit
Juices, Coke and Pepsi named A, B and C respectively. The numbers of
bottles produced per day are as follows:
Solan Mohan Nagar
A 1,5000 1,500
B 3,000 1,000
C 2,000 5,000
A market survey indicates that during the month of April, there will be a
demand of 20,000 bottles of A, 40,000 bottles of B and 44,000 bottles of C.
The operating costs per day for plant at Solan and Mohan Nagar are 600 and
400 monetary units. For how many days each plant should be run in April so
as to minimize the production cost, while still meeting the market demand.
Solution: Let x1 and x2 are the number of days in April for which the bottling
plants at Solan and Mohan Nagar must run.
426
y1= 0
y2 = 11/65
y3 = 3/65
Wmax = 8800
Now the RHS of the constraints denote monetary units, the LHS must also be
expressed in monetary units.
In the first constraint first term 1500 y1 1500 is the number of bottles of A
produced per day.
● y1, y2 and y3 are dual variables or shadow prices. These are called shadow
price as these represent the true accounting value or imputed value of the
three drinks.
● The objective function of the dual is to maximize the total accounting values of
the drinks produced per month
● The two constraints ensure that the total accounting value of the daily output
of each plant must remain less than the daily cost of operating the plant.
Miscellaneous Illustration
Illustration 10.43: The owner of a Metro Sports wishes to determine how many
advertisements to place in the selected three monthly magazines A, B and C. His
objective is to advertise in such a way that total exposure to principal buyers of
expensive sports good is maximized. Percentage of readers for each magazine is
the number of advertisements placed multiplied by the number of principal
buyers. The following data may be used:
Magazine A B C
Readers 1 Lakh 0.6 lakh 0.4 lakh
Principal buyers 20% 15% 8%
Cost per advertisements 8000 6000 5000
The budgeted amount is at most ` 1 lakh for the advertisements. The owner has
already decided that magazine. A should have no more than 15 advertisements
and that B and C each have at least 80 advertisements. Formulate an LP model
for the problem.
427
x1 = number of insertions in Magazine A
The super bazaar now employs 34 fulltime workers, but needs a few part-time
workers also. A part time worker must put in exactly 4 hours per day, but can
start any time between 9 am and 1 pm. Full time workers work from 9 am to 5
pm, but are allowed an hour for lunch (half of the full-time eat at 12 noon, the
other half at 1 pm. The management of the super bazaar limits part-time
hours to a maximum of 50% of the day’s total requirement.
Part-timers earn ` 48 per day on the average, while full-timers earn ` 140 per
day in salary and benefits on the average. The management wants to set a
schedule that would minimize total manpower costs. Formulate this problem
as an LPP model to minimize total daily manpower cost.
Decision variables: Let y represent the number of full time workers starting at
9 am, 11am and 1pm respectively. (j=1, 2, 3)
428
(1/2)y + x1 + x2 ≥ 40 (11 am - 1 pm need)
(1/2)y + x2 + x3 ≥ 35 (1 pm - 3 pm need)
y+ + x3 ≥ 33 (3 am - 5 pm need)
y ≤ 34 (Full-timers available)
4 (x1 + x2 + x3) ≤ 0.50(32+40+35+33)
(Part timers’ hour cannot exceed 50% of total hours
required each day which is the sum of the workers
needed each hour)
x1, x2, x3 ≥ 0
Solution: Let the Air Force experiment with x1 units of bomb P, x2 units of
bomb Q, and x3 units of bomb R. The mathematical formulation of the problem
is
max Z = 2x1 + 3x2 + 4x3
s.t. 3x1 + x2 + 6x3 ≤ 600 (Explosion A constraint)
2x1 + 4x2 + 2x3 ≥ 480 (Explosion B constraint)
2x1 + 3x2 + 3x3= 540 (Explosion C
constraint)
x1, x2, x3 ≥ 0
Illustration 10.46: A finished product must weigh exactly 150 kg. The two raw
materials used in manufacturing the products are A, with a cost of ` 2 per unit
and B with a cost of ` 8 per unit. At least 14 units of B and not more than 20
units of A must be used. Each unit of A and B weighs 5 and 10 grams
respectively. How much of each type of raw material should be used for each
unit of the final product in order to minimize the cost.
Solution: Let the product mix contain of x1 units of Product A and x2 units of
B.
min Z = 2x1 + 8x2
s.t. 5x1 + 10x2 =150
x1 ≤ 20
x2 ≥ 14 x1, x2 ≥ 0
Augmented Form
max (-Z) = -2x1 - 8x2 - x3 - x6
s.t. 5x1 + 10x2 + x3 = 150
x1 + x4 = 20
429
x2 − x5 + x6 = 14 x1,…, x6 ≥ 0
Phase I
max (-Z) = - x3 - x6
s.t. 5x1 + 10x2 + x3 = 150
x1 + x4 = 120
x2 − x5 + x6 = 14 x1,…, x6 ≥ 0
cj 0 0 -1 0 0 -1 θ
CB XB b a1 a2 a3 a4 a5 a6
-1 x3 150 5 10 1 0 0 0 15
0 x4 20 1 0 0 1 0 0 -
-1 x6 14 0 1 0 0 -1 1 14
Z= -164
Δj 5 11 0 0 -1 0
cj 0 0 -1 0 0 -1 θ
CB XB b a1 a2 a3 a4 a5 a6
-1 x3 10 5 0 1 0 10 -10 1
0 x4 20 1 0 0 1 0 0 -
0 x2 14 0 1 0 0 -1 1 -
Z= -10
Δj 5 0 0 0 10 -11
cj 0 0 -1 0 0 -1 θ
CB XB b a1 a2 a3 a4 a5 a6
0 x5 1 1/2 0 1/10 0 1 -1
0 x4 20 1 0 0 1 0 0
0 x2 15 1/2 1 1/10 0 0 0
Z= 0
Δj 0 0 -1 0 0 -1
Phase II
cj -2 -8 0 0 θ
CB XB b a1 a2 a4 a5
0 x5 1 1/2 0 0 1 2
0 x4 20 1 0 1 0 20
-8 x2 15 1/2 1 0 0 30
Z= -120
Δj 2 0 0 0
cj -2 -8 0 0 θ
CB XB b a1 a2 a4 a5
-2 x1 2 1 0 0 2
0 x4 18 0 0 1 -2
-8 x2 14 0 1 0 -1
Z= -116
430
Δj 0 0 0 -4
This is the optimal solution. Thus use 2 units of A and 14 units of B which will
give the cost of ` 116.
Ashok chemicals company wants to determine its optimal product mix and the
total cost relevant thereto.
Augmented Form
max (-Z) = - 2x1 - 3x2 – x4 - x6
s.t. x1 + x2 + x3 - x4 = 350
x1 + x5 - x6 = 125
2x1 + x2 + x7 = 600
x1, …, x7 ≥ 0
cj 0 0 0 -1 0 -1 0 θ
CB XB b a1 a2 a3 a4 a5 a6 a7
-1 x4 350 1 1 -1 1 0 0 0 350
431
-1 x6 125 1 0 0 0 -1 1 0 125
0 x7 600 2 1 0 0 0 0 1 300
Z= -475
Δj 2 1 -1 0 -1 0 0
cj 0 0 0 -1 0 -1 0 θ
CB XB b a1 a2 a3 a4 a5 a6 a7
-1 x4 225 0 1 -1 1 1 -1 0 225
0 x1 125 1 0 0 0 -1 1 0 -
0 x7 350 0 1 0 0 2 -2 1 175
Z= -225
Δj 0 1 -1 0 1 -2 0
cj 0 0 0 -1 0 -1 0 θ
CB XB b a1 a2 a3 a4 a5 a6 a7
-1 x4 50 0 1/2 -1 1 0 0 -1/2 100
0 x1 300 1 1/2 0 0 0 0 1/2 600
0 x5 175 0 1/2 0 0 1 -1 1/2 350
Z= -50
Δj 0 1/2 -1 0 0 -1 1/2
cj 0 0 0 -1 0 -1 0
CB XB b a1 a2 a3 a4 a5 a6 a7
0 x2 100 0 1 -2 2 0 0 -1
0 x1 250 1 0 1 -1 0 0 1
0 x5 125 0 0 1 -1 1 -1 1
Z= 0
Δj 2 1 -1 0 -1 0 0
Phase II
cj 2 3 0 0 0 θ
CB XB b a1 a2 a3 a5 a7
3 x2 100 0 1 -2 0 -1 -
2 x1 250 1 0 1 0 1 250
0 x5 125 0 0 1 1 1 125
Z= 800
Δj 0 0 4 0 1
cj 2 3 0 0 0 θ
CB XB b a1 a2 a3 a5 a7
3 x2 350 0 1 0 2 1 -
2 x1 125 1 0 0 -1 0 25
0
0 x3 125 0 0 1 1 1 12
5
Z= 800
Δj 0 0 0 -4 -3
Thus the solution is optimal with x1 = 125 unit, x2 = 350 units and Z = 800. The
solution is unique optimal solution and no multiple optimal solutions exist,
because none of the non-basic variables have Δj ≠ 0.
432
Illustration 10.48: A firm uses three machines in the manufacture of 3
products. Each unit of product A requires 3 hours on machine I, 2 hours on
machine II and 1 hour on machine III. Each unit of Product B requires 4 hours
on machine I, 1 hour on machine II and 3 hours on machine III, while each
unit of Product C requires 2 hours on each of the three machines. The
contribution margin of the three products is ` 30, ` 40 and ` 35 per unit
respectively. The machine hours available on 3 machines are 90, 54 and 93
respectively.
b. Obtain optimal solution to the problem by using Simplex Algorithm. Which of
these products shall not be produced by the firm?
Solution:
i. Let x1, x2 and x3 be the output of product A, B and C respectively. The LPP
can be formulated as
max Z = 30x1 + 40x2 + 35x3
s.t. 3x1 + 4x2 + 2x3 ≤ 90
2x1 + x2 + 2x3 ≤ 54
x1 + 3x2 + 2x3 ≤ 93 x1, x2, x3 ≥ 0
Augmented Form
max Z = 30x1 + 40x2 + 35x3
s.t. 3x1 + 4x2 + 2x3 + x3 = 90
2x1 + x2 + 2x3 + x4 = 54
x1 + 3x2 + 2x3 + x5 = 93 x1, …, x6 ≥ 0
cj 30 40 35 0 0 0 θ
CB XB b a1 a2 a3 a4 a5 a6
0 x5 90 3 4 2 1 0 0 45/2
0 x4 54 2 1 2 0 1 0 54
0 x2 93 1 3 2 0 0 1 31
Z= 0
Δj 30 40 35 0 0 0
cj 30 40 35 0 0 0 θ
CB XB b a1 a2 a3 a4 a5 a6
40 x2 45/2 3/4 1 1/2 1/4 0 0 45
0 x4 63/2 5/4 0 3/2 -1/4 1 0 21
0 x2 51/2 -5/4 0 1/2 -3/4 0 1 51
Z= 900
Δj 0 0 15 -10 0 0
433
cj 30 40 35 0 0 0
CB XB b a1 a2 a3 a4 a5 a6
40 x2 12 1/3 1 0 1/3 -1/3 0
35 x3 21 5/6 0 1 -1/6 2/3 0
0 x2 15 -5/3 0 0 -2/3 -1/3 1
Z= 1215
Δj -25/2 0 0 -15/2 -10 0
The above Table shows that the optimal solution to the problem is x1 = 0, x2 =
12 and x3 = 21 with Z= 1215. This indicates that product A should not be
produced by the firm. This is because, as indicated by the Δj value (= -25/2)
each unit of x1 produced would reduce the profit by ` 25/2 (=12.50).
iii. The capacity available and the capacity used as per optimal solution is:
Machine capacity Capacity Capacity percentage
Unused utilized utilization
I 90 0 0(=90-0) 100.00%
II 54 0 0 100.00%
III 93 15 78 83.87%
iv. Shadow prices of the machine hours are given by the Δj value (ignoring the
signs) of the slack variables
Machine I - ` 15/2 = ` 7.50 / hr
Machine II - ` 10 / hr
Machine III - Nil
v. The optimal solution is not degenerate because none of the basic variable has
a solution value equal to zero.
The unit profit contributions of the product X, Y and Z are ` 40, ` 25 and ` 50
respectively. The number of units of raw materials available is 36, 60 and 45
respectively.
i. Determine the product mix that will maximize the total profit.
ii. From the final simplex table, write the solution to the dual and give the
economic interpretation.
Solution:
i. Let the company produce x1, x2 and x3 units of the products X, Y and Z
respectively. The mathematical representation of the problem is
max Z = 40x1 + 25x2 + 50x3
434
s.t. x1 + 2x2 + x3 ≤ 36
2x1 + x2 + 4x3 ≤ 60
2x1 + 5x2 + x3 ≤ 45 x1, x2, x3 ≥ 0
Augmented Form
max Z = 40x1 + 25x2 + 50x3
s.t. x1 + 2x2 + x3 + x4 = 36
2x1 + x2 + 4x3 + x5 = 60
2x1 + 5x2 + x3 + x6 = 45
x1, …, x6 ≥ 0
cj 40 25 50 0 0 0 θ
CB XB b a1 a2 a3 a4 a5 a6
0 x4 36 1 2 1 1 0 0 36
0 x5 60 2 1 4 0 1 0 15
0 x6 45 2 5 1 0 0 1 45
Z= 0
Δj 40 25 50 0 0 0
cj 40 25 50 0 0 0 θ
CB XB b a1 a2 a3 a4 a5 a6
0 x4 21 1/2 7/4 0 1 -1/4 0 42
0 x3 15 1/2 1/4 1 0 1/4 0 30
0 x6 30 3/2 19/ 0 0 25/2 1 20
4
Z= 75
0
Δj 15 25/ 0 0 -25/2 0
2
cj 40 25 50 0 0 0
CB XB b a1 a2 a3 a4 a5 a6
0 x4 11 0 1/6 0 1 -1/6 -1/3
0 x3 5 0 -4/3 1 0 1/3 -1/3
0 x6 20 1 19/ 0 0 -1/6 2/3
6
Z= 105
0
Δj 0 -35 0 0 -10 -10
From the optimal table above, w1 =0 and w2 =10 with min ZD = ` 1050
Economics Interpretation
435
Suppose the manager of the company wants to sell the three raw materials A,
B, and C instead of using them for making products X, Y and Z and then, by
selling the products earn a profit of ` 1050, per unit of raw materials of A, B
and C respectively.
Then the cost to the purchased of all the three raw materials will be
`(36w1+60w2+45w3). Of course the purchaser will like to set the selling prices
of A, B and C so that the total cost is minimum.
The optimal table above indicates that the marginal values of raw materials A,
B and C are ` 0, ` 10 and ` 10 per unit respectively. Thus if the manager sells
the raw materials A, B and C at price ` 0, ` 10 and ` 10 per unit respectively,
he will get the same contribution of ` 1050 which he is going to get if he uses
these resources for productively products X, Y and Z and then sells them.
Self-Check Questions
10.15 Conclusion
436
has no adjacent BF solution that is better, the current solution is optimal and
the algorithm stops.
In this lesson the full algebraic form of the simplex method is presented to
convey its logic, and then the method is streamlined to provide a more
convenient tabular form. You have also learned to write the dual for a give
primal. The method of deriving a dual from the primal is explained and then
the method to solve the primal and/or the dual is also described. The
economic interpretation of the dual is also given.
1. a
2. d
3. d
4. d
5. d
6. Linear
7. Decision variables
8. Feasible solution
9. Feasible region
10.Constraints
11.CPF
12.Positive rate of improvement
13.True
14.True
15.False
16.False
17.False
18.True
19.False
20.False
21.False
22.True
23.True
24.True
25.True
26.True
437
3. What is LPP? Explain the general form of LP.
4. What are the steps of graphical method to solve an LP?
5. A company is producing two types of LPG stoves-Supreme and Cook-n-Grill.
The material and labour requirement in respect of these and the total
availability of these resources are as follows:
Item Supreme Cook-n-Grill Total Availability
Material A 2 kg/unit 2.5 kg/unit 2000 kg
Material B 2 pieces/unit 3 pieces/unit 2400 pieces
Labour Grade I 3 hrs/unit 5 hrs/unit 6000 hrs
Labour Grade II 1 hr/unit 1 hr/unit 900 hrs
The travel Agent wishes to determine the number of packages to offer in each
type so as to maximise the total profit.
438
● Formulate this as a linear programming
● Restate the above LPP in terms of two decision variables, taking
advantages of the fact that 200 packages will be sold
● Find the optimal solution using graphical method for the restated problem
and interpret your results.
7. A firm plans to purchase at least 200 quintals of scrap containing high quality
metal X and low quality metal Y. It decides that the scrap to be purchased
must contain at least 100 quintal of X-metal and not more than 35 quintals of
Y-metal. The firm can purchase the scrap from two suppliers, A and B, in
unlimited quantities. The percentage of X and Y metals in terms of weight in
the scraps supplied by A and B is given below:
Metals Supplier A Supplier B
X 25% 75%
Y 10% 20%
The price of A’s scrap is Rs 200 per quintal and that of B’s is Rs 400 per
quintal. Formulate and solve it graphically to determine the quantities that the
firm should buy from the two suppliers so as to minimize total purchase cost.
8. Define the following terms:
439
12.Solve
min z = x1 - 3x2 + 2x3
s.t. 3x1 - x2 + 3x3 ≤ 7
- 2x1 + 4x2 ≤ 12
- 4x1 + 3x2 + 8x3 ≤ 10 x1, x2, x3 ≥ 0
13.Solve
a max Z = 2x + 3y + 5z b. max Z = 4x1 + 5x2 - 3x3 + 50
s.t. x + y - z ≥ - 5 s.t. x1 + x2 + x3 = 10
- 6x + 7y - 9z ≤ 4 x1 - x2 ≥ 1
x + y + 4z = 10 2x1 + 3x2 + x3 ≤ 40
x, y ≥ 0, z unrestricted in sign x1, x2, x3≥0
Write the dual of the following LPPs and then solve
1. F.S. Hillier and G.J Lieberman, Introduction to Operations Research, 7th Ed.,
Tata McGraw Hill Publishing Company Limited, New Delhi.
2. K. Swarup, [Link] and M. Mohan, Operations Research, 13th Ed., Sultan
Chand and Sons Education Publishers, New Delhi
3. N.D. Vohra, Quantitative Techniques in Management, 4th Ed., Tata McGraw
Hill Education Private Limited, New Delhi.
● Constraints: There are always certain limitations (or constraints) on the use of
resources, such as labor, space, raw material, money, etc. that limit the
degree to which an objective can be achieved. Such constraints must be
expressed as linear inequalities or equalities in terms of decision variables.
● Decision variables: Decision variables refer to the activities that are competing
one another for sharing the resources available.
440
● Dual: For every LPP, there is another LPP which is related to it and therefore,
may be derived from it. This original LPP is called the Primal and the
associated problem is called the Dual.
● Feasible Region: Collection of all feasible solutions represents the feasible
region.
● Feasible Solution: Any solution to a general LPP which also satisfies the
non-negative restrictions of the problem is called a feasible solution to the
general LPP.
● Infeasible Solution: A solution for which at least one constraint is violated is
called an infeasible solution.
● Linear programming: Linear Programming is a technique for determining an
optimum schedule of interdependent activities in view of the available
resources.
● Objective: A linear programming problem must have an objective which
should be clearly identifiable and measurable in quantitative terms. It could be
of profit (sales) maximization, cost (time) minimization, and so on. The
relationship among the variables representing objective must be linear.
● Optimal solution: The feasible solution that has the most favorable value of
the objective function is called an optimal solution. Most Favorable Solution
means largest value if objective function is to be maximized, or lowest value if
objective function is to be minimized.
● Redundant Constraints: If a constraint when plotted does not form part of the
boundary making the feasible region of the problem, it is said to be redundant
constraint. Inclusion or exclusion of a redundant constraint does not affect the
optimal solution.
● Shadow prices: The variables of the dual are known as dual variables or
shadow prices of the resources.
● Solution: A solution is any specification of values for decision variables
(x1,…,xn).
● Unbounded solution: When the values of the decision variables may be
increased indefinitely without violating any of the constraints, the solution
space (feasible region) is unbounded. The value of objective function, in such
cases, may increase (for maximization) or decrease (for minimization)
indefinitely. Thus, both the solution space and the objective function value are
unbounded.
441
MBM 106 Unit II, Lesson 5
11.0 Objectives
11.1 Introduction
In the previous lesson, solutions to the general LPP have been discussed.
The Simplex Algorithm can be used to solve any LPP for which the solution
exists but computation by this method becomes more and more laborious as
the number of variables and constraints increase. Therefore to simplify the
calculations there is a special branch of LP that comprises problems of the
transportation type. The term ‘transportation’ is associated with such problems
principally because in studying efficient transportation routes, a special
procedure was used which is known as transportation method. The origin of
transpiration models dates back to 1941 by F.L. Hitchcock. This method can
be used for a variety of situation like scheduling, production, investment, plant
location, inventory control, etc.
443
MBM 106 Unit IV, Lesson 11
Example
The places where the goods originate from (plants in the example) are called
the sources or the origins and places where they are to be supplied are the
destinations. Thus the transportation problem can be stated as the problem of
manufacturer to decide as to how many units may be transported from
different origins to different destinations so that the total transportation cost is
minimum. The distinct feature of transportation problems is that sources and
destinations must be expressed in terms of only one kind of unit.
444
MBM 106 Unit IV, Lesson 11
Minimize Z= (11.1)
(j = 1, 2, …,n) (11.3)
The two sets of constraints will be consistent, i.e. the system will be balanced
if
(11.5)
which means that the total quantity available at the origins is precisely equal
to the total amount at the destinations?
445
MBM 106 Unit IV, Lesson 11
Since the TP is just a special case of general LPP the application of simplex
method would give an optimum solution to the problem. However, simplex like
method for solving such problems has been developed as it is simple to solve
it by transportation method than by the simplex method. The transportation
model can also be portrayed in a tabular form by means of a transportation
tableau, shown in the Table 11.1.
Table 11.1: The Transportation Tableau
… … … … … ...
446
MBM 106 Unit IV, Lesson 11
Definitions
447
MBM 106 Unit IV, Lesson 11
Solution: In the cost matrix, the data pertaining to fixed costs is of no use.
Thus only including the costs plus the variable costs as shown below:
Table 11.2: The TP Tableau
Shop Warehouse si
I II III IV V
dj 60 80 85 70 70
Shop Warehouse si
I II III IV V
A 20 18 18 21 19 100
B 21 22 23 20 24 125
C 18 19 21 18 19 175
dj 60 80 85 70 70
448
MBM 106 Unit IV, Lesson 11
to fulfill its sale commitment; it incurs a shortage cost of ` 4 per unit per month.
The production capacities for the next three months are shown below:
Month Production Capacity Sales
Regular (R) Overtime (O)
1 50 30 60
2 50 0 120
3 60 50 40
1. If items are produced in a month for sales during the same month, then there
will be no inventory carrying cost. Thus total cost will be either the normal
production cost or overtime production cost. Thus the cost elements for cell
(R1, 1) (R2, 2) (R3, 3) are Rs 12 each and for cells (O1, 1), (O2, 2) and (O3, 3)
are ` 24 each.
2. If items are produced in a month for sales during subsequent months in
addition to the production costs (normal or overtime), inventory carrying cost
at the rate of ` 2 per month will be incurred).
(R1,2) 12 2 14
(R1,3) 12 4 16
(O1,2) 24 2 26
(O1,3) 24 4 28
(R2,3) 12 2 14
3. If the company fails to fulfill its sales commitment, it incurs a shortage cost of `
4 per unit per month. In addition to the production costs (normal or overtime),
carrying (shortage cost at the rate of ` 2 per month will be incurred.
(R2,1) 12 4 16
(R3,2) 12 4 16
(R3,1) 12 8 20
(O3,2) 24 4 28
449
MBM 106 Unit IV, Lesson 11
(O3,1) 24 8 32
Using the above information, the given problem can be presented in tabular
form as follows:
Table 11.4: The TP Tableau
Month Total Cost (`) Demand
R1 O1 R2 R3 O3
M1 12 24 16 20 32 60
M2 14 26 12 16 28 120
M3 16 28 14 12 24 40
Supply 50 30 50 60 50
Self-Check Questions
i.e.
450
MBM 106 Unit IV, Lesson 11
a. Any two adjacent cells in the ordered set lie either in the same row or in
the same column, and
b. Any three or more adjacent cells in the ordered set do not lie in the same
row or the same column.
The first cell of the set is considered to follow the last in the set, i.e. each cell
(except the last) must appear only once in the ordered set.
Remarks:
1. Every loop has an even number of cells.
2. The allocation are said to be in independent positions if it is not possible to
increase or decrease any independent individual allocation without changing
the positions of these allocations, or violating the rim conditions, i.e. a closed
loop cannot be formed through these allocations.
3. Each row and column in the transportation table should have only one (+) and
(-) sign. All cells that have a (+) or (-) signs, except the starting unoccupied
(non-basic) cell are occupied (basic) cells.
4. Closed loops may or may not be in square shape. Following are the possible
shapes of the loops.
Example: Consider the following two cases represented in Table 11.5(a) and
(b).
L = {(4, 2), (2, 2), (2, 3), (1, 3), (1, 5), (4, 5)}
The loop in Table 11.5(b) is not allowed, because it does not satisfy the
conditions of a loop.
451
MBM 106 Unit IV, Lesson 11
(a) (b)
2. Setup the TP in the tabular form known as transportation problem tableau.
4. Find an initial BFS that must satisfy all the supply and demand constraints.
6. If the solution is not optimum, modify the shipping schedule by including that
unoccupied cell whose inclusion may result in an improved solution.
Methods to find an initial BFS and the method for attaining optimum solution
are discussed in the following sections.
452
MBM 106 Unit IV, Lesson 11
Step 1: Start with the north-west (upper-left) corner of the transportation
tableau and consider the cell in the first column and the first row.
Corresponding to this cell are the values s1 and d1 respectively in
row 1 and column 1. Compare the s1 with d1:
i) If s1 > d1, i.e. if the amount available at s1 is greater than the amount
required at d1, then set x11 = d1, and find the balance supply and
demand and proceed to cell (1,2), i.e. proceed vertically.
ii) If s1 = d1, set x11 = d1, compute the balance supply and demand and
proceed to cell (2,2), i.e. proceed diagonally. Also make a ε (ε→0)
allocation to the least cost cell in s1 or d1.
iii) If s1 < d1, set x11 = s1, and find the balance supply and demand and
proceed to cell (2,1), i.e. proceed horizontally.
Step 2: Continue in this manner, step by step, away from north-west corner
until, finally, a value is reached in the south-east corner.
The firm wants to send the output from various plants to warehouses involving
minimum transportation cost. How should it route the products so as to
achieve its objective?
To si
P Q R S
A 12 10 12 13 500
From
B 7 11 8 14 300
C 6 16 11 7 200
453
MBM 106 Unit IV, Lesson 11
Step 1: Starting with the north-west (upper-left) corner, the first cell of the
transportation tableau and compare the s1 = 500 with d1= 180. As
454
MBM 106 Unit IV, Lesson 11
As we have reached the south-east corner and all the row and
column requirements are satisfied, we stop. This solution is a
feasible solution as all supply and demand constraints are fully
satisfied. Table 11.7 shows the initial solution.
Table 11.7: Initial Feasible Solution: NWC Method
P Q R S si
To
From
A 12 10 12 13 500
180 150 170
B 7 11 8 14 300
180 120
C 6 16 11 7 200
200
This routing of the units meets all the row and column requirements and
involves a total of 6 (= 3 + 4 – 1) shipments as there are 6 occupied cells. It
involves a total cost of Rs 10,220.
1. The quantities allocated are placed at the right of the cell in bold and they
represent the values of the corresponding decision variables (xij). These cells
are called basic (allocated or occupied) cells. Cells without allocations are
called non-basic (vacant or un-occupied) cells. Values of the corresponding
variables are all zero in these cells.
2. Although the method is simple, but is inefficient as the method of allocation
does not take into account the transportation cost and therefore, may not yield
a good (i.e., most economical) initial solution.
Illustration 11.4: Consider the following TP, find its initial BFS using NWC
Rule
Distribution Center
455
MBM 106 Unit IV, Lesson 11
A B C D si
Plants 1 2 3 11 7 6
2 1 0 6 1 1
3 5 8 15 9 10
dj 7 5 3 2
Table 11.8
Solution:
Table 11.9 Initial Feasible Solution: NWC Method
Distribution Center
A B C D si
Plants 1 2 3 11 7 6/0
6
2 1 0 6 1 1/0
1
3 5 8 15 9 10/5/3/
5 3 2 2/0
After allocating in cell (2, A) si = dj therefore move diagonally to the cell (3, B).
Here the number of allocations = 5 < (m+n-1), the initial solution is said to be
degenerate transportation solution.
As the name suggests, this method entails making allocation at each step by
selecting from the routes (that is, combinations of sources and destinations)
available, the one with the minimum cost. To begin, choose the cell which has
the minimum cost, consider the supply available at the source (si) and the
demand at the destination (dj) corresponding to that, and allocate the lower of
the two (si or dj) to the cell. Then delete the row or column (or both if si = dj)
whichever is satisfied by this allocation. If the row is deleted, then the column
value (dj) is revised by subtracting the quantity assigned. Similarly, if the
column is deleted, then the row total is revised. Next consider the routes
remaining and again choose the one with the least cost, make assignment
and adjust the row/column total. Continue in this manner until all the units are
assigned.
It may be mentioned that at any stage, if there is a tie in the minimum cost, so
that two or more routes have the same least cost of shipping, then,
456
MBM 106 Unit IV, Lesson 11
For Illustration 11.3, the initial solution by using least cost method is obtained
as shown in Table 11.10. To begin with, the lowest of all cost elements is 6, for
the cell CP, with corresponding supply and demand being 200 and 180 units
respectively. Accordingly, assign 180 to this cell, delete the column headed P
and adjust the supply in the row to 20. Of the remaining cost elements
(excluding those of the deleted column), the least is 7, corresponding to the
cell CS. The quantity assigned to this cell is 20, being lower of demand (=320)
and supply (=20). Delete the row C and adjust the demand for S at 300. The
least cost element in the remaining cells is 8, for BR. With the relevant supply
and demand values equal to 300 and 350 units respectively, assign 300 to the
cell BR, delete the row B and adjust the demand at R to 50. Now, with only
one supply source remaining, the amount would be transferred to the current
requirements at warehouses Q, R, and S: 150 to Q, 50 to R, and 300 to S.
Table 11.10: Obtaining Initial Feasible Solution: LC Method
P Q R S si
A 12 10 12 13 500/350/0
150 50 300
B 7 11 8 14 300/0
300
C 6 16 11 7 200/20/0
180 20
The solution has six occupied cells and it is seen to involve a total cost of `
9,620.
P Q R S si
A 12 10 12 13 500
150 50 300
457
MBM 106 Unit IV, Lesson 11
B 7 11 8 14 300
300
C 6 16 11 7 200
180 20
Illustration 11.5: Consider the following TP, find its initial BFS using LCM
Distribution Center
A B C D si
Plants 1 2 3 11 7 6
2 1 0 6 1 1
3 5 8 15 9 10
dj 7 5 3 2
Solution:
Table 11.12: Initial Feasible Solution: LC Method
Distribution Center
A B C D si
Plants 1 2 3 11 7 6/0
6
2 1 0 6 1 1/0
1
3 5 8 15 9 10/9/5/0
1 4 3 2
458
MBM 106 Unit IV, Lesson 11
Step 3: Focus on the cell with the smallest cost in the row or column so
chosen and make allocation in that. The number of units allocated
would be lower of the corresponding supply and demand, i.e.
allocated min (si, dj).
Step 4: Cross out the row or column which has been satisfied by the
allocation and adjust the quantity of demand/supply. Recalculate the
cost differences for the reduced matrix and proceed in the same
manner as discussed earlier.
Step 5: Continue with the process until all units have been assigned.
Note: In case of tie among the highest penalties, select the row or column
having minimum cost. In case of a tie in the minimum cost also, select the cell
which can have maximum allocation. If there is tie among maximum cells
also, select the cell arbitrarily for allocations. Following these rules yields the
best possible initial BFS and reduces the number of iterations required to
reach the optimal solution.
The initial solution to Illustration 11.3 using VAM is obtained in Table 11.13.
Step 1: Compute the row penalty and column penalty for each row and
column by computing cost differences between the pairs of least
cost cells for each row and column.
For I row, Row Penalty 12 – 10 = 2
II row, Row Penalty 8 – 7 = 1
III row, Row Penalty 6 – 7 = 1
Similarly
For I Column, Column Penalty 6–7=1
II Column, Column Penalty 11 – 10 = 1
III Column, Column Penalty 11 – 8 = 3
IV Column, Column Penalty 13 – 7 = 6
Table 11.13(a) Initial Solution by VAM
P Q R S si R.P
To .
From
A 12 10 12 13 500 2
B 7 11 8 14 300 1
C 6 16 11 7 200 1
C.P. 1 1 3 6↑
459
MBM 106 Unit IV, Lesson 11
Step 2: The largest penalty of these being 6 (= 13 – 7), i.e. choose the 4th
column.
Step 3: In this column the minimum cost is 7, i.e. in cell (3,4), therefore
allocation is done in this cell, i.e.
x34 = min (s3, d4)
= min (200, 320) = 200
Recalculate the supply s3 = 200 – 200 = 0
and the demand d4 = 320 – 200 = 120
Step 4: As s3 = 0, i.e., for the 3rd row the supply is completely satisfied,
therefore cross the 3rd row.
Table 11.13(b) Initial Solution by VAM
P Q R S si R.P
To .
From
A 12 10 12 13 500 2
B 7 11 8 14 300 1
C 6 16 11 7 200/ 1
200 0
C.P. 1 1 3 6↑
Step 5: Calculating the penalties for the reduced matrix and proceeding as
above we get the following tables
Table 11.13(c) Initial Solution by VAM
P Q R S si R.P
To .
From
A 12 10 12 13 500 2
B 7 11 8 14 300/12 1
180 0
C.P. 5↑ 1 4 1
460
MBM 106 Unit IV, Lesson 11
Q R S si R.P
To .
From
A 10 12 13 500 2
B 11 8 14 300/120/ 3
120 0
C.P. 1 4↑ 1
Q R S si R.P
To .
From
A 10 12 13 500/280/120/ 2
150 230 120 0
C.P.
P Q R S si
To
From
A 12 10 12 13 500
150 230 120
B 7 11 8 14 300
180 120
C 6 16 11 7 200
200
461
MBM 106 Unit IV, Lesson 11
= ` 9,440
Notice that the initial solution has a total of six occupied cells. It involves a
total cost of ` 9,440. The following points may be noted.
a) Vogel’s approximation method is also called the Penalty Method because the
cost differences that it uses are nothing but the penalties of not using the
least-cost routes. Since the objective function is the minimization of the
transportation cost, in each iteration that route is selected which involves the
maximum penalty of not being used.
b) In operation of this method that when a row is deleted, the other row
differences do not change and the column cost differences need to be
recalculated, and if a column is deleted then the row difference require
recalculation. In the event of both row and column being deleted (when si = dj)
then all cost difference need to be calculated again.
c) The initial solution (to Illustration 11.3) obtained by VAM is found to be the
best of all as it involves the lowest total cost among all the three initial
solutions. Of course, it does not come as a rule, but usually VAM provides the
best initial solution. Therefore, this method is generally preferred in solving the
problems.
Illustration 11.6: Consider the following TP, find its initial BFS using VAM
Distribution Center
A B C D si
Plants 1 2 3 11 7 6
2 1 0 6 1 1
3 5 8 15 9 10
dj 7 5 3 2
Solution:
Table 11.15 Initial Feasible Solution: VAM
A B C D si
Plants 1 2 3 11 7 6/0 1 1 5 - -
1 5 ←
2 1 0 6 1 1/0 1 - - - -
1
3 5 8 15 9 10/7/0 3 3 4 4 4
6 3 1
462
MBM 106 Unit IV, Lesson 11
Column 1 3 5 6↑
Penalty
3 5↑ 4 2
3 - 4 2
5 - 15↑ 9
5↑ - - 2
This method is also called u-v method. The MODI method is an efficient
method of testing the optimality of a transportation solution. It avoids
extensive scanning and reduces the number of steps required in the
evaluation of the empty cells. The method gives a straightforward
computational scheme whereby the opportunity cost of each of the empty
cells can be determined. The steps of the method are as follows:
Step 1: Consider the initial solution. Introduce the dual variables
corresponding to the supply and demand constraints. If there are m
sources and n destinations, there will be m + n dual variables. Let ui
(i=1, …,m) and vj (j =1, …,n) be the dual variables corresponding to
supply and demand constraints.
Step 2: Calculate the ui and vj values with the help of occupied cells only
using the formula
463
MBM 106 Unit IV, Lesson 11
Step 3: Having determined all ui and vj values, calculate net evaluations Δij
for each unoccupied cell using equation (11.7)
Step 4: If all Δij ≤ 0, the solution is optimal and unique. Cell(s) having a zero
value for Δij implies that the given solution is optimal but is not
unique. There exists other solution(s) that would be as good as this
solution.
Step 5: Determine the entering basic variable by selecting the cell with the
largest Δij value, i.e.
Step 6: Determine the leaving basic variable by tracing a closed loop path in
the table. When we intend to assign some units to an unoccupied
cell, it calls for making adjustments in some other occupied cells
because such an assignment affects the row and column totals of
supply and demand respectively that need to be maintained for
feasible solution. In effect the assignment of one or more units in a
(unoccupied) cell produces a chain effect and a closed loop (path)
attempt to capture it.
Having traced the path, place plus and minus signs alternatively in
the cells on each turn of the loop, beginning with a plus (+) sign in
the empty cell. An important restriction is that there must be exactly
464
MBM 106 Unit IV, Lesson 11
one cell with a plus sign and one cell with a minus sign in any row or
column in which the loop takes a turn. This restriction ensures that
the row and column requirements would not be violated when units
are shifted among cells.
Go to Step 2.
To P Q R S si ui
From
A 12 10 12 13 500 0
180 150 170
B 7 11 8 14 300 –4
180 120
C 6 16 11 7 200 – 11
200
vj 12 10 12 18
Step 3: Calculating Δij for the unoccupied cells using equation (11.7):
∆14 = u1 + v4 – c14 = 0 + 18 – 13 = 5
∆21 = u2 + v1 – c21 = – 4 + 12 – 7 = 1
∆22 = u2 + v2 – c22 = – 4 + 10 – 11 = – 5
∆31 = u3 + v1 – c31 = – 11 + 12 – 6 = – 5
465
MBM 106 Unit IV, Lesson 11
∆32 = u3 + v2 – c32 = – 11 + 10 – 16 = – 17
∆33 = u3 + v3 – c33 = – 11 + 12 – 11 = – 10
These ∆ij’s are entered in bottom left corner of the cell
Table 11.17: Computation of ∆ij
P Q R S si ui
To
From
A 12 10 12 13 500 0
180 150 170
5
B 7 11 8 14 300 –4
180 120
1 -5
C 6 16 11 7 200 – 11
200
-5 -17 -10
vj 12 10 12 18
Step 4: The solution is not optimal as there are two positive Δij go to next
step.
= 5
Step 6: A closed loop starting from cell (1, 4) is formed to determine the
leaving variable
Table 11.18: Forming a closed loop
466
MBM 106 Unit IV, Lesson 11
Start from the cell (1, 4), moving clockwise to occupied cell in the
same column, i.e. to cell (2, 4) then to cell (2, 3), then cell (1, 3) and
then back to cell (1, 4).
Assign alternate (+) and (-) starting by assigning a (+) sign in the cell
(1, 4), i.e., the entering non-basic cell.
467
MBM 106 Unit IV, Lesson 11
Now again as the solution is not optimal go to Step 11 and get the
following solution
Table 11.20: Optimal TP Tableau
To P Q R S si ui
From
A 12 10 12 13 500 0
150 230 120
-1
B 7 11 8 14 300 –4
180 120
-5 -5
C 6 16 11 7 200 –6
200
-1 -12 -5
vj 11 10 12 18
x12 =150, x13 =230, x14 =120, x21 =180, x22 =120, x34 =200 and
Z = ` 9,440
Further, since all ∆ij, values are negative, the solution is unique. Also
notice the solution given in the above Table is the same as the initial
solution obtained using VAM. Hence, the solution obtained by VAM
is also optimal and needs no revision.
468
MBM 106 Unit IV, Lesson 11
Availability
6 1 9 3 70
11 5 2 8 55
10 12 4 7 90
Requirements 85 35 50 45
Availability
6 1 9 3 70
50 20
11 5 2 8 55
55
10 12 4 7 90
30 35 25
Requirements 85 35 50 45
Solution:
469
MBM 106 Unit IV, Lesson 11
ui
6 1 9 3 0
30 40
0 -11
11 5 2 8 4
5 50
-8 -1
10 12 4 7 4
85 5
-7 -2
470
MBM 106 Unit IV, Lesson 11
vj 6 1 -2 3
Self-Check Questions
When the aggregate supply exceeds the aggregate demand, the excess
supply is assumed to go to inventory and costs nothing for shipping. A column
of slack variables is added to the transportation tableau which represents a
dummy destination with a requirement equal to the amount of excess supply
and the transportation costs equal to zero.
On the other hand, when the aggregate demand exceeds the aggregate
supply in a transportation problem, balance is restored by adding a dummy
origin. The row representing it is added with an assumed total availability
equal to the difference between the total demand and supply, and with each of
the cells having a zero unit cost. In some cases, however, when the penalty of
not satisfying the demand at a particular destination(s) is given, then such
penalty value should be considered instead of zero values.
Table 11.28
Determine the extent of deliveries from each of the factories to each of the
stores so that the total production and transportation cost is minimum.
Solution: First compile a new table of unit costs which consists of both
production and transportation costs. Thus the new table is as given below:
Table 11.29
Stores Productio
n
Capacity
1 2 3 4
Factories
A 2+2 4+2 6+2 11 + 2 50
B 10 + 3 8+3 7+3 5+3 70
C 13 + 1 3+1 9+1 12 + 1 30
D 4+5 6+5 8+5 3+5 50
Demand 25 35 105 20
Table 11.30
Stores Productio
n
Capacity
1 2 3 4
Factories
A 4 6 8 13 50
B 13 11 10 8 70
C 14 4 10 13 30
D 9 11 13 8 50
Demand 25 35 105 20
The production capacity and demand are not balanced in this case and we
have a surplus of 15 units of the product. Therefore, create a dummy
472
MBM 106 Unit IV, Lesson 11
destination (5th store). The associated cost coefficients are taken zero.
Table 11.31: Starting TP Table
Stores Productio
n
Capacity
1 2 3 4 5
Factories
A 4 6 8 13 0 50
B 13 11 10 8 0 70
C 14 4 10 13 0 30
D 9 11 13 8 0 50
Demand 25 35 105 20 15
1 2 3 4 5 ui
A 4 6 8 13 0 -5
25 5 20
-10 -5
B 13 11 10 8 0 -3
70
-7 -3 -3 -3
C 14 4 10 13 0 -7
473
MBM 106 Unit IV, Lesson 11
30
-12 -4 -12 -7
D 9 11 13 8 0 0
15 20 15
0 0
vj 4 6 8 13 0
25 5 20
Since all the Δij ≤ 0, the solution is optimal. As the Δij = 0, there exists
alternate optimal solutions.
474
MBM 106 Unit IV, Lesson 11
A B C D E
I 13 - 31 8 20
II 14 9 17 6 10
III 25 11 12 17 15
IV 10 21 13 - 17
Solution: To avoid allocations in cell (1,B) and (4, D) a very heavy penalty +M
is allocated to these cells.
Also here total capacity = 200 + 175 + 150 + 325 = 850 units
And total demand = 110 +90 +120 + 230 +160 = 710 units
A B C D E F si
I 13 M 31 8 20 0 200
II 14 9 17 6 10 0 175
III 25 11 12 17 15 0 150
IV 10 21 13 M 17 0 325
di 110 90 120 230 160 140
A B C D E F si
I 13 M 31 8 20 0 200
200
II 14 9 17 6 10 0 175
30 145
III 25 11 12 17 15 0 150
10 140
IV 10 21 13 M 17 0 325
110 80 120 15
di 110 90 120 230 160 140
MODI is used to find the optimal solution. After a few iterations, we get the
optimal solution shown below:
A B C D E F si
I 13 M 31 8 20 0 200
200
II 14 9 17 6 10 0 175
30 145
III 25 11 12 17 15 0 150
90 45 15
475
MBM 106 Unit IV, Lesson 11
IV 10 21 13 M 17 0 325
110 75 140
di 110 90 120 230 160 140
The optimal solution to a given problem may, or may not, be unique. Recall
that the solution to a transportation problem is optimal if all ∆ij ≤ 0. For a given
solution, if all the ∆ij values are negative, then it is unique. If, however, a cell(s)
has/have ∆ij = 0, then multiple optimal solutions are indicated so that there
exist transportation pattern(s) other than the one obtained which can satisfy
all the rim requirements for the same cost.
Market
Warehouse Supply
A B C
1 10 12 07 180
2 14 11 06 100
3 09 05 13 160
4 11 07 09 120
476
MBM 106 Unit IV, Lesson 11
P Q R si Row Penalty
To
From
1 M 12 7 180/0 5 5 - - -
180
2 14 11 6 100/60/ 5 5 5 3 3
60 40 0 ← ←
3 9 5 M 160/0 4 4 4 4 -
160 ←
4 11 7 9 120/80/ 2 2 2 4 4
80 40 0
5 0 0 0 100/0 0 - - - -
100
Colu 9↑ 5 6
mn
Pena 2 2 1
lty
2 2 3
2 2 -
3 4↑ -
To P Q R si ui
From
1 M 12 7 180 15
180
15-M -1
2 14 11 6 100 14
60 40
-1
477
MBM 106 Unit IV, Lesson 11
3 9 5 M 160 9
160
0 1-M
4 11 7 9 120 11
80 40
-6
5 0 0 0 100 0
100
-4 -8
vj 0 -4 -8
x13 =180, x21 = 60, x23 = 40, x32 = 160, x41 = 80, x42 = 40, x51 = 100
and Z = ` 4,300
The solution given in Table 11.40 is not unique because in cell 3-A, ∆ij = 0. To
obtain an alternative optimal solution, draw a closed loop as shown in Table
11.41.
Table 11.41: Improved Solution
To P Q R si ui
From
478
MBM 106 Unit IV, Lesson 11
1 M 12 7 180 15
180
15-M -1
2 14 11 6 100 14
60 40
-1
3 9 5 M 160 9
80 80
1-M
4 11 7 9 120 11
120
-6
5 0 0 0 100 0
100
-4 -8
vj 0 -4 -8
11.7.5 Degeneracy
We have already seen that a basic feasible solution of a transportation
problem has m+n-1 basic variables, which means that the number of occupied
cells in such a solution is one less than the number of rows plus the number
of columns. It may happen sometimes that the number of occupied cells is
smaller than m+n-1. Such a solution is called a degenerate solution.
479
MBM 106 Unit IV, Lesson 11
Market
Plant Supply
A B C D
1 6 4 9 1 40
2 20 6 11 3 40
3 7 11 0 14 50
4 7 1 12 6 90
Demand 90 30 50 30
Since the aggregate supply is 220 units and the aggregate demand is 200
units, we introduce a dummy market, M5, for an amount equal to 20(the
difference between the aggregate supply and demand), with all cost elements
equal to zero. The initial solution is given in Table 11.44.
It is obtained using VAM and its degenerate because it contains only seven
basic variables, since there are only 7 occupied cells and not 8 (= 4 + 5 - 1),
required for a non-degenerate solution in this case. Here empty cells P1M3,
P2M3, P3M1, P3M2, P3M4, P3M5, and P4M3 are independent, while others are
not. For removing degeneracy, let us place ε in the cell P3M5 as it has lowest
cost and then test it for optimality (Table 11.44).
480
MBM 106 Unit IV, Lesson 11
To A B C D E si
From
1 6 4 9 1 0 40
30 10
2 20 6 11 3 0 40
20 20
3 7 1 0 14 0 50
50 ε
4 7 1 12 6 0 90
60 30
dj 90 30 50 30 20 700
Notice that in improving the solution, only ε moves, as this is the minimum
quantity in the cells bearing - sign on the closed loop. The optimality test,
MODI, suggests that the solution given in Table 11.46 is an optimal one.
481
MBM 106 Unit IV, Lesson 11
To A B C D E si ui
From
1 6 4 9 1 0 40 0
30 10
-4 -10 -2
2 20 6 11 3 0 40 2
20 20
-12 -4 -10
3 7 1 0 14 0 50 1
ε 50
0 -12 -1
4 7 1 12 6 0 90 1
60 30
-12 -4 -1
dj 90 30 50 30 20 Z= 700
vj 6 0 -1 1 -2
x11 = 30, x14 = 10, x24 = 20, x33 = 50, x41 = 60, x42 = 30, all other xij = 0;
To
From Supply
A B C D
1 7 3 8 6 60
2 4 2 5 10 100
3 2 6 5 1 40
482
MBM 106 Unit IV, Lesson 11
Demand 20 50 50 80 200
To A B C D si
From
1 7 3 8 6 60
20 40
2 4 2 5 10 100
10 50 40
3 2 6 5 1 40
40
dj 20 50 50 80 Z= ` 970
This revised solution is degenerate because there are only 5 occupied cell
and not 6. The two recently vacated cells are A2 and B1. Per unit cost of
these being ` 3 and ` 10, respectively, we may assign to the cell A2 to cope
with degeneracy. Thus, solution is also found to be non-optimal. Hence, we
move to the next iteration and further revise the solution as shown in Table
11.52.
Table 11.50: Revised Solution: Non-optimal
483
MBM 106 Unit IV, Lesson 11
To A B C D si ui
From
1 7 3 8 6 60 0
20 40
-2 -2
2 4 2 5 10 100 -1
20 30 50
-5
3 2 6 5 1 40 -5
40
-2 -8 -4
dj 20 50 50 80 Z= ` 730
vj 5 3 6 6
The optimality test indicates that this solution is optimal. The optimal
transportation plan, then, is:
x12 = 20, x14 = 40, x21 = 20, x22 = 30, x23 = 50, x34 = 40, all other xij, = 0, for a
total cost of ` 730.
484
MBM 106 Unit IV, Lesson 11
To
From Supply
A B C D
1 12 18 6 25 200
2 8 7 10 18 500
3 14 3 11 20 300
Solution: To solve this problem, first convert the unit profit matrix into
opportunity loss matrix by subtracting each of the value in it from the largest
value equal to 25. The information is presented in Table 11.53.
To A B C D si
From
1 13 7 19 0 200
200
2 17 18 15 17 500
485
MBM 106 Unit IV, Lesson 11
100 400
3 11 22 14 5 300
180 20 100
Also given in the table is the initial feasible solution obtained using VAM. The
solution is tested for optimality using MODI method and is found to be non –
optimal. A closed loop is traced beginning with the cell which has the largest
positive opportunity cost. The revised solution is obtained (Table 11.55). This
solution is tested for optimality and is also found to be non – optimal. It is
further revised by making x23 a basic variable and is tested to be optimal
(Table 11.55). Accordingly, the maximum profit obtainable is ` 15,400.
Observe that the total profit at each stage is found with reference to the profit
matrix given in the problem.
Table 11.55: Revised Solution: Optimal
To A B C D si ui
From
1 13 7 19 0 200 0
200
-11 -15 -4
2 17 18 15 17 500 11
120 100 280
-4
3 11 22 14 5 300 9
180 120
-6 -1
486
MBM 106 Unit IV, Lesson 11
vj 2 7 4 -4
Buyer
Plant D E F
A 8 4 10
B 9 7 9
C 6 5 8
Table 11.56
Assume that the penalty for failing to supply buyer requirement is ` 4, ` 3 and `
3 per unit in respect of D, E and F respectively. Determine the optimal
distribution for the company so as to minimize the cost of transportation and
penalty payable.
This information is shown in the Table 11.57. The table also shown the initial
solution determined using VAM.
Table 11.57: Initial Solution
Buyer D E F si ui
Plant
A 8 4 10 100 0
100
-2 -4
B 9 7 9 800 11
600 100 100
C 6 5 8 150 15
150
-1 -2
T 4 3 3 400
400
-1 -2
487
MBM 106 Unit IV, Lesson 11
Penalty
vj 6 4 6 cost
= ` 1,200
Miscellaneous Illustrations
Solution:
P Q R S si
A 6 11 9 8 200
200 ε
B 13 10 8 15 300
300
C 9 9 14 12 500
150 250
D 12 10 12 10 100
100
Demand 350 250 300 200
488
MBM 106 Unit IV, Lesson 11
b. The optimal solution obtained in the table is a unique since Δij is not equal
to 0.
c. A 40% reduction on the route BS implies that the unit cost on their route
will be revised to ` 9. In the optimal solution above, the Δij = -8 with a cost
value of ` 15 for this route would be revised to -2 with the unit cost of ` 9.
However, since Δij continues to be negative, no cost saving is possible by
supplying goods on this route. Hence, the optimal solution will not be
affected by this change.
d. The optimal solution calls for transferring 100 units on the Route AP. Now,
if it is desired to send 150 units on this route, we shall reduce the supply at
source A and the demand at destination P by 150 units and resolve the
problem. For this solution, we make the route AP prohibited since no more
units can be send on it.
Table 11.61: Optimal Solution
P Q R S ui
A M 11 9 8 0
ε 50
-6
B 13 10 8 15 -1
300
-9 -6 -8
C 9 9 14 12 4
200 250 50
489
MBM 106 Unit IV, Lesson 11
-1
D 12 10 12 10 2
100
-5 -3 -1
vj 5 5 9 8 Z=
9350
The solution is given in above table. This solution is optimal with a total
transportation cost of ` 9350.
e. To transfer 100 units on the route CS, draw a closed loop beginning with
this cell in Table 11.60 to see if it can indeed be done. The closed path is
CS AS AP CP CS. With given quantities, it is evident that it is
possible to do so.
Further, since Δij = -1 for the cell CS, this transfer of 100 units will cause
the total cost to increase by 100 × 1 = `100.
Solution: To setup the transpiration table for the problem note the following.
1. If full overtime capacity is used, the availability will be 100 + 800 + 164 =
1064 units, whereas forecast demand plus final inventory is only 850+123
= 975 units. Hence a dummy destination (month) will be assumed to take
490
MBM 106 Unit IV, Lesson 11
up the balance 89 units. The cost in the associated dummy cells, will be
assumed to be zero.
2. Forecast demand for January is 200 units. Since initial inventory is 100
units, the effective demand for their month is 100 units only.
3. Items that are produced in January and are also used in January have unit
production cost of ` 10 and ` 14 for regular (R) and overtime production
(OT) respectively. Same is true for the months of February, March and
April.
4. Items that are produced in January but are used in February, will have to
be stored for a month, increasing the production–cum storage cost to
` 11 (= `10 + ` (10 ×10)/100) and ` 16 (= `14 + ` (14 ×15)/100)
respectively for regular and overtime production. If used in March, the
costs will increase to ` 12 and ` 18 and if used in April, they will become `
13 and ` 20 respectively.
5. Final inventory at the end of the quarter (i.e. April) is 125 units. The cost
coefficients in the cells will be same as in April.
6. Items produced in February cannot be supplied in January. Shortages are
not permitted as shortage cost or opportunity cost is not given. Hence M is
assigned to such cells. Same is true for other months.
491
MBM 106 Unit IV, Lesson 11
42
Apr R M M M 10 10 0 200
200
OT M M M 14 14 0 40
37 3
Demand 200 150 250 250 125 89
Solution: The total amount required for the five projects is ` 750 thousands.
Since Pvt Bank can lend any amount, allocate ` [750-(400+600)=100]
thousands to this bank. The balanced problem is shown below. The initial BFS
is found by VAM.
Table 11.63: Initial Solution
Projects ui
Banks P Q R S T
Pvt. 20 18 18 17 17 18
100
-2 0 -1 0
N 16 16 16 15 16 16
200 50 150
-1 -1
C 15 15 15 13 14 15
50 125 75
492
MBM 106 Unit IV, Lesson 11
0 0
dj 0 0 0 -2 -1 Z=` 1,16,250
Further, since some of the cells have Δ ij = 0, alternate optimal solutions exist.
To get one such solution, include cell (Pvt,T) as the basic cell and reallocate
as shown below.
Table 11.65: Initial optimal solution with re-allocation
Self-Check Questions
State True/False
11.8 Conclusion
In this Lesson a special type of linear programming problem, the
transportation problem is studied. The Simplex Algorithm can be used to solve
any LPP for which the solution exists, but as the number of variables and
constraints increase the computation by this method becomes more and more
493
MBM 106 Unit IV, Lesson 11
Destination Areas 1 2 3
1 120 180 0
Refinery 2 300 100 80
3 200 250 120
494
MBM 106 Unit IV, Lesson 11
4. A firm manufacturing a single product has three plants I, II and III. The three
plants have produced 60, 35, 40 units of the product respectively during this
month. The firm had commitment to sell 22 units to customer A, 45 units
to customer B, 20 units to customer C, 18 units to customer D and 30 units
to customer E. Find the minimum possible transportation cost of shifting
the manufactured product to the 5 customers. The net per unit cost of
transportation from three plants to 5 customers is given below:
Customer A B C D E
I 4 1 3 4 4
Plant II 2 3 2 2 3
III 3 5 2 4 4
5. A company has factories A, B, C, which supply warehouses at W, X, Y, Z.
Monthly factory capacities are 160, 150, and 150 units respectively. Monthly
warehouse requirements are 80, 90, 110 and 160 units respectively. The unit
shipping costs (in Rs) are as follows:
To W X Y Z
A 42 48 38 37
From B 40 49 52 51
C 39 38 40 43
E F G H J
A 8 10 12 17 15
From B 15 13 18 11 9
C 14 20 6 10 13
D 13 19 7 6 12
a. Check if this is optimal solution, if not, then find the optimal schedule?
b. If in the above problem, the transportation cost from A to G is reduced to
10, what will be new optimal schedule?
495
MBM 106 Unit IV, Lesson 11
The sale price in rupees/unit and demand in kg/unit time are as follows:
Sales Centre Sales price (`)/unit Demand(kg) /unit
1 15 120
2 14 140
3 16 60
496
MBM 106 Unit IV, Lesson 11
a. Any two adjacent cells in the ordered set lie either in the same row or in
the same column, and
b. Any three or more adjacent cells in the ordered set do not lie in the same
row or the same column.
497
MBM 106 Unit IV, Lesson 12
In previous lessons we discussed the simplex and the transportation techniques for
solving linear programming problems. However, there are some special cases of
linear programming problems solutions of which can be obtained by special
techniques. They are easier to apply and greatly reduce the computational work
required by the simplex and the transportation techniques. This lesson deals with
one such special case - the assignment problem which finds many applications in
allocation and scheduling. Assignment is generally made on one-to-one basis and if
there are more jobs to do than can be done, one can decide which job to leave
undone or what resource to add.
12.0 Objectives
12.1 Introduction
There are many situations where the assignment of people, machine etc.
may be called for, like, assigning salesmen to different regions, vehicles and
drivers to different routes, products to factories, jobs to machines, contract to
bidders and research problems to teams etc. Assignment is a problem
because people possess varying abilities for performing different jobs, and,
therefore the cost of performing those jobs by different people is different. In
Assignment Problem, the question is how the assignments should be made
in order that the cost (profit) involved is minimized (maximized). The Method
allows managers to seek answers to questions like:
● How to assign the given jobs to some workers on a one-to-one basics when
completion time of performance is given for each combination and it is
desired that the jobs are completed in least time or at the least cost?
● How to deal with situations when the number of jobs do not match with the
number of job performers, when some job(s) cannot be performed by, or is
not given to, a particular performer, or when a certain job has to be given to a
particular individual?
499
MBM 106 Unit IV, Lesson 12
Any problem satisfying all these assumptions can be solved using the
algorithm designed for assignment problem.
Given n resources and n jobs and given the effectiveness of each resource
for each job, the problem is to assign each resource to one and only one job
so as to optimize the given measure of effectiveness.
Jobs
Resource 1 2 … n
s
: : : : :
500
MBM 106 Unit IV, Lesson 12
Constraint equation (12.2) means one job is assigned to the ith resource and
constraint equation (12.3) means one resource is assigned to the jth job.
The technique used for solving assignment problem makes use of two
theorems:
Theorem 12.2: If all cij ≥ 0 and we can find a set xij = x*ij such that
𝑛 𝑛
*
∑ ∑ 𝑐𝑖𝑗𝑥𝑖𝑗 = 0
𝑖=1 𝑗=1
501
MBM 106 Unit IV, Lesson 12
the number of destinations, supply at each source is unity (si = 1 for all i) and
demand at each destination is also unity (dj = 1 for all j). The cost of
‘transporting’ (assigning) resource i to job j is cij and the number of units
allocated to a cell can be either one or zero, i.e. they are non-negative
quantities.
Table 12.2: Comparison with TP
Jobs
Resource 1 2 … N si
s
: : : : : :
dj 1 1 … 1
However the transportation algorithm is not very useful to solve this model
because of degeneracy. In this model, when an assignment is made, the row
as well as column requirements are satisfied simultaneously (row and
column conditions being always unity), resulting in degeneracy. Thus the
assignment problem is a completely degenerate form of the transportation
problem. In n × n problem, there will be n assignments instead of n + n - 1 or
2n - 1 which makes the computations quite cumbersome. However, the
special structure of the assignment model allows a more convenient and
simple method of solution.
Self-Check Questions
502
MBM 106 Unit IV, Lesson 12
The Hungarian method (or the Reduced Matrix Method or the Flood’s
technique), suggested by Mr. Koning of Hungary, is used for solving
assignment problems since it is quite efficient and results in substantial time
saving over the other techniques. It is based on the concept of opportunity
cost. Opportunity costs show the relative penalties associated with resources
to a task as opposed to making assignment of the best (least) cost
assignment. It involves a rapid reduction of the original matrix and finding of
a set of n independent zeros, one in each row and column, which results in
an optimal solution. The method consists of the following steps:
Step 1: Determine the cost table from the given problem.
Step 3: Subtract the smallest element of each row from all the elements of
the row.
Step 4: Modify the resulting matrix by subtracting the minimum element of
each column from all the elements of the respective column. Thus
obtain the first modified matrix.
Step 5: In the modified matrix, search for an optimal solution by making
zero assignments as follows:
b) If there is only one zero in it, then enclose this zero in a box (□)
and cross (×) all other zeros in the column passing through the
enclosed zero.
d) If any row has more than one zero, then do not touch that row and
pass onto the next row.
e) Repeat steps (a) to (d) for the column, starting from the first
column of the matrix.
Else go to step 7.
Step 7: Draw minimum number of horizontal and vertical lines crossing all
zeros. This consists of the following sub steps:
a) Mark (√) the rows that do not have any enclosed zeros.
503
MBM 106 Unit IV, Lesson 12
b) Mark (√) the columns (not already marked) that have crossed
zeros in marked rows.
c) Mark (√) the rows (not already marked) that have enclosed zeros in
marked columns.
d) Repeat sub-steps (a) and (c) till no more rows or columns can be
marked.
e) Draw straight lines through all unmarked rows and marked
columns. This gives the minimum number of lines crossing all
zeros. If this number is equal to the order of the matrix, then it is an
optimal solution, otherwise go to step 7.
Step 8: Iterate towards the optimal solution. Examine the uncovered
elements. Select the smallest element and subtract it from all the
uncovered elements. Add this smallest element to every element
that lies at the intersection of two lines. Leave the remaining
elements of the matrix as such. This yields second basic feasible
solution.
Step 9: Repeat steps 5 through 9 successively until the number of lines
crossing all zeros becomes equal to the order of the matrix. In such
a case every row and column will have one assignment. This
indicates that an optimal solution has been obtained. The total cost
associated with this solution is obtained by adding the original costs
in the assigned cells.
1 2 3 4
1 15 13 14 17
2 11 12 15 13
3 13 12 10 11
4 15 17 14 16
i. Show that the assignment model is a special case of the transportation
model.
504
MBM 106 Unit IV, Lesson 12
total cost.
Solution:
i. Comparing this model with the transportation model, we find that si = 1
and dj = 1. Thus, the assignment model can be represented as in Table
12.3.
Table 12.3: Comparison with TP
Contractors
Subassemblie
s 1 2 3 4 si
1 15 13 14 17 1
2 11 12 15 13 1
3 13 12 10 11 1
4 15 17 14 16 1
dj 1 1 1 1
ii. Applying the Hungarian Algorithm for solving the assignment problem:
1 2 3 4
1 15 13 14 17
2 11 12 15 13
3 13 12 10 11
4 15 17 14 16
505
MBM 106 Unit IV, Lesson 12
Step 3: Subtract the smallest element of each row from all the elements of
the row.
In the given situation, the minimum element in first row is 13. So,
subtract 13 from all the elements of the first row. Similarly subtract
11, 10 and 14 from all the elements of row 2, 3 and 4 respectively
(Table 12.5).
Table 12.5: Table after row reduction
Contractors
Subassemblie 1 2 3 4
s
1 2 0 1 4
2 0 1 4 2
3 3 2 0 1
4 1 3 0 2
Step 4: Now perform column reduction. In Table 12.5, column 1, 2 and 3
have zero as the smallest value. Column 4 has 1 as the smallest
value, thus subtract this minimum element from all its elements.
Table 12.6 represents the first modified matrix.
Table 12.6: First modified matrix
1 2 3 4
1 2 0 1 3
2 0 1 4 1
3 3 2 0 0
4 1 3 0 1
506
MBM 106 Unit IV, Lesson 12
Step 6: Check if optimal assignment can be made in the current solution.
Illustration 12.2: Four different jobs can be done on four different machines.
The set-up and take-down time costs are assumed to be prohibitively high for
changeovers. The matrix below gives the costs in rupees of producing jobs i
on machine j.
Table 12.8
Machines
Job M1 M2 M3 M4
s
J1 5 7 11 6
J2 8 5 9 6
J3 4 7 10 7
J4 10 4 8 3
How should the jobs be assigned to the various machines so that the total
cost is minimized?
Solution:
507
MBM 106 Unit IV, Lesson 12
M1 M2 M3 M4
J1 0 2 6 1
J2 3 0 4 1
J3 0 3 6 3
J4 7 1 5 0
M1 M2 M3 M4
J1 0 2 2 1
J2 3 0 0 1
J3 0 3 2 3
J4 7 1 1 0
Make zero assignments by first moving row-wise (skipping 2nd row as it has
more than one zero) and then moving column wise.
Table 12.11: Making zero assignments
As number of assignments (3) ≠ order of the matrix (4), the solution is not
optimal. Thus improve the solution by drawing the minimum number of
horizontal and vertical lines to cover all zeros. Referring to Table 12.12:
a) Marking (√) the 3rd row as it does not have any enclosed zeros
b) 1st column has crossed zeros in marked rows. Thus mark (√) column 1.
c) The 1st row has enclosed zeros in marked columns. Thus row I is marked (√).
d) As all the rows or columns have been marked repetition is not needed.
508
MBM 106 Unit IV, Lesson 12
e) Straight lines are drawn through all unmarked rows and marked columns.
Table 12.12: Drawing minimum lines
The number of such lines is 3 which is less than the order of matrix (n = 4).
Hence optimal assignment is not possible in the current solution. Thus further
reduction of Table 12.12 is necessary.
The smallest uncovered (by the line) cost element is 1. Subtract this from all
the elements that do not have a line through them including itself. Add this
smallest element to every element that lies at the intersection of two lines.
Leave the remaining elements of the matrix unchanged. Proceeding in this
manner we get the following matrix:
Table 12.13: Second feasible solution
Still the solution is not optimal as number of assignments (3) ≠ order of the
matrix (4). Thus improving the solution we get the following table.
Now make the zero assignment. Since there is no row with exactly one
unmarked zero, we start considering the columns. We find there is no column
as well with single unmarked zero. Therefore, we make assignment arbitrarily
in any zero and cross the remaining zero in the same column as well as the
same row. Let us make assignment at zero in cell (J1, M1) arbitrarily and
cross the remaining zeros in column 1 and row 1. See now if there is exactly
one zero (unmarked) in any row or in any column. We find row 3 has a single
zero in column 3. We make assignment here in cell (J3, M3) and cross
remaining zeros in column 3. Next assignment is made in cell (J2, M2) in row
2 and the remaining zeros in column 2 are crossed. Last assignment is made
in cell (J4, M4). This is the case of Alternate (Multiple) optimal solution
(discussed in Section 12.5.4).
Table 12.14: Optimal solution
509
MBM 106 Unit IV, Lesson 12
I II III IV V
1 10 5 9 18 11
2 13 9 6 12 14
3 3 2 4 4 5
4 18 9 12 17 15
5 11 6 14 19 10
Solution:
I II III IV V
1 5 0 4 13 6
510
MBM 106 Unit IV, Lesson 12
2 7 3 0 6 8
3 1 0 2 2 3
4 9 0 3 8 6
5 5 0 8 13 4
Make zero assignments and check for optimal assignments. Since the
number of allocations is only 3, hence optimal assignment is not possible in
the current solution.
Table 12.17: Improving the solution after column reduction
511
MBM 106 Unit IV, Lesson 12
I II III IV V
1 3 0 3 10 2
2 6 4 0 4 5
3 0 1 2 0 0
4 7 0 2 5 2
5 3 0 7 10 0
Check for optimal assignments (Table 12.19). Here the minimum number of
lines crossing all zeros is 4. Hence optimal assignment is not possible in the
current solution.
I II III IV V
1 1 0 1 8 0
2 6 6 0 4 5
3 0 3 2 0 0
4 5 0 0 3 0
5 3 2 7 10 0
512
MBM 106 Unit IV, Lesson 12
I II III IV V
1 0 0 1 7 0
2 5 6 0 3 5
3 0 4 3 0 1
4 4 0 0 2 0
5 2 2 7 9 0
Zmin = 10 + 6 + 4 + 9 + 10 = 39
Self-Check Questions
513
MBM 106 Unit IV, Lesson 12
Jobs Machines
A B C D
1 18 24 28 32
2 8 13 17 19
3 10 15 19 22
4 0 0 0 0
514
MBM 106 Unit IV, Lesson 12
Optimal Assignment
Cost
A-1 18
B-2 13
C-3 19
D-4 0
Total 50
i. By subtracting all the elements from the largest element of the matrix, or
Illustration 12.5: A company has a team of four salesmen and there are four
districts where the company wants to start its business. After taking into
515
MBM 106 Unit IV, Lesson 12
account the capabilities of salesmen and the nature of districts, the company
estimates that the profit per day in rupees for each salesman in each district
is as below.
Table 12.28: Profit Matrix
District
1 2 3 4
Salesman A 16 10 14 11
B 14 11 15 15
C 15 15 13 12
D 13 12 14 15
1 2 3 4
A 0 6 2 5
B 2 5 1 1
C 1 1 3 4
D 3 4 2 1
1 2 3 4
A 0 5 1 4
B 1 4 0 0
C 0 0 2 3
516
MBM 106 Unit IV, Lesson 12
D 2 3 1 0
Illustration 12.6: Four new machines M1, M2, M3 and M4 are to be installed in
a machine shop. There are five vacant places A, B, C, D and E available.
Because of limited space, machine M2 cannot be placed at C and M3 cannot
be placed at A. cij the assignment cost of machine i to place j in rupees is
shown below. Find the optimal assignment schedule.
Table 12.32
1 2 3 4 5
A 4 6 10 5 6
B 7 4 - 5 4
C - 6 9 6 2
D 9 3 7 2 3
517
MBM 106 Unit IV, Lesson 12
1 2 3 4 5
A 4 6 10 5 6
B 7 4 M 5 4
C M 6 9 6 2
D 9 3 7 2 3
E 0 0 0 0 0
1 2 3 4 5
A 0 2 6 1 2
B 3 0 M 1 0
C M 4 7 4 0
D 7 1 5 0 1
E 0 0 0 0 0
518
MBM 106 Unit IV, Lesson 12
Machine M1 to place A,
Machine M2 to place B,
Machine M3 to place E,
Machine M4 to place D,
and place C will remain vacant
Total assignment cost = ` (4 + 4 + 2 + 2) = ` 12
Sometimes, it is possible to have two or more ways to strike off all zero
elements in the reduced matrix for a given problem. In such cases, there will
be alternate optimal solutions with the same cost. Alternate optimal solutions
offer a great flexibility to the management since it can select the one which is
most suitable to its requirement.
Consider Illustration 12.2, Table 12.14. In this example as there are multiple
zeros in rows and columns which implies there are alternate solutions.
Miscellaneous Illustrations
Illustration 12.7: A fast-food chain wants to build four stores. In the past the
chain has used six different construction companies, and having been
satisfied with each, has invited them to bid for each job. The final bids (in
thousands of rupees) are shown in the following table:
Table 12.36
1 2 3 4 5 6
Since the fast-food chain wants to have each of the new stores ready as
quickly as possible, it will allot at most one job to a construction company.
What assignment will result in the minimum total cost?
519
MBM 106 Unit IV, Lesson 12
1 2 3 4 5 6
D1 0 0 0 0 0 0
D2 0 0 0 0 0 0
1 2 3 4 5 6
1 29 76 51 0 67 89
2 0 56 205 15 104 95
5 0 0 0 0 0 0
6 0 0 0 0 0 0
Consider the last two rows. Since each row and column had more than one
zero assign zeros arbitrarily such that there is one-to-one correspondence
between the store and the construction company.
Illustration 12.8: A company has four territories open and four salesmen
available for assignment. The territories are not equally rich in their sales
potential. It is estimated that a salesman operating in each territory would
bring in the following annual sales:
Territory I II III IV
Annual Sales (`) 60,000 50,000 40,000 30,000
520
MBM 106 Unit IV, Lesson 12
The four salesmen are also considered to differ in ability; it is estimated that
working under the same conditions, their yearly sales would be
proportionately as follows:
Salesman A B C D
Proportion 7 5 5 4
Solution: The first step is to prepare the square matrix. The sum of sales of
four salesmen = 7 + 5 + 5 + 4 = 21.
Taking the sales of ` 10,000 as one unit of sale, the annual sales of the four
salesmen in four territories are:
7 7 7 7
For A: 21
×6; 21
×5; 21
×4; 21
×3;
5 5 5 5
For B: 21
×6; 21
×5; 21
×4; 21
×3;
5 5 5 5
For C: 21
×6; 21
×5; 21
×4; 21
×3;
4 4 4 4
For D: 21
×6; 21
×5; 21
×4; 21
×3;
For convenience, the sales will be considered for 21 years rather than
considering the annual sales of each salesman in each territory. This will
avoid the fractional term. The problem is to determine the assignments which
will make the total sales maximum.
Salesman Territories
I II III IV
A 42 35 28 21
B 30 25 20 15
C 30 25 20 15
D 24 20 16 12
I II III IV
521
MBM 106 Unit IV, Lesson 12
A 0 7 14 21
B 12 17 22 27
C 12 17 22 27
D 18 22 26 30
I II III IV
A 0 3 6 9
B 0 1 2 3
C 0 1 2 3
D 0 0 0 0
522
MBM 106 Unit IV, Lesson 12
= ` 47, 142, 86
Illustration 12.9: A small garment making unit has five tailors stitching five
different types of garments. All the five tailors are capable of stitching all the
five types of garments. The output per day tailor and the profit (`) for each
type of garment are given below:
Table 12.44
Tailor Garments
I II III IV V
A 7 9 4 8 6
B 4 9 5 7 8
C 8 5 2 9 8
D 6 5 8 10 10
E 7 8 10 9 9
Profit(`)/Garment 2 3 2 3 4
Solution:
a. Construct the profit matrix first by multiplying the profit per garment with
the number of garments stitched as shown below:
Table 12.45: Starting Solution
Garments
I II III IV V
A 14 27 8 24 24
523
MBM 106 Unit IV, Lesson 12
Tailor
B 8 27 10 21 32
C 16 15 4 27 32
D 12 15 16 30 40
E 14 24 20 27 36
This profit matrix is converted to loss matrix by subtracting all the cell values
from the highest cell value (40)
Table 12.46: Loss Matrix
I II III IV V
A 26 13 32 16 16
B 32 13 30 19 8
C 24 25 36 13 8
D 28 25 24 10 0
E 26 16 20 13 4
I II III IV V
A 0 0 3 0 3
B 11 5 6 8 0
C 3 17 12 2 0
D 15 25 6 7 0
E 9 12 0 6 0
524
MBM 106 Unit IV, Lesson 12
b. If tailor is absent, the profit earned by him will be zero and the profit
matrix becomes
Table 12.51: As Tailor D is absent
Garments
I II III IV V
525
MBM 106 Unit IV, Lesson 12
A 14 27 8 24 24
Tailor B 8 27 10 21 32
C 16 15 4 27 32
D 0 0 0 0 0
E 14 24 20 27 36
Converting this profit matrix to loss matrix by subtracting all the cell
values from the highest cell value (36)
Table 12.52: Loss Matrix
I II III IV V
A 22 9 28 12 12
B 28 9 26 15 4
C 20 21 32 9 4
D 36 36 36 36 36
E 22 12 16 9 0
I II III IV V
A 13 0 19 3 3
B 24 5 22 11 0
C 16 17 28 5 0
D 0 0 0 0 0
E 22 12 16 9 0
Performing optimality test we find that this is not optimality. Through various
iterations we get the optimal solution as
Table 12.54: Optimal Solution
526
MBM 106 Unit IV, Lesson 12
I II III IV V
A 2 0 8 0 8
B 8 0 6 3 0
C 3 15 15 0 3
D 0 11 0 8 16
E 6 7 0 1 0
Self-Check Questions
12.6 Conclusion
In this Lesson you have studied solving the assignment problem. Assignment
is a problem because people possess varying abilities for performing different
jobs and therefore, the costs of performing those jobs by different people are
different. Obviously, if all persons could do a job in same time or at the same
cost then it would not matter who among them is assigned the job. Thus, in
an assignment problem, the question is how the assignments should be
made in order that the total cost involved is minimized or the profit is
maximized.
527
MBM 106 Unit IV, Lesson 12
1. Degenerate
2. =
3. one-to-one
4. Flood’s
5. Number of enclosed zeros
6. Number of rows are not equal to number of columns
7. Subtracting the highest value element from all the elements of the matrix
1. F.S. Hillier and G.J Lieberman, Introduction to Operations Research, 7th Ed.,
Tata McGraw Hill Publishing Company Limited, New Delhi.
528
MBM 106 Unit IV, Lesson 12
2. K. Swarup, [Link] and M. Mohan, Operations Research, 13th Ed., Sultan
Chand and Sons Education Publishers, New Delhi
3. N.D. Vohra, Quantitative Techniques in Management, 4th Ed., Tata McGraw
Hill Education Private Limited, New Delhi.
529