Unit - 1c OR
Unit - 1c OR
Unit - 1c OR
Linear Programming:
The Simplex Method
“Checking the results of a decision against its expectations shows executives what their
strengths are, where they need to improve, and where they lack knowledge or information.”
– Peter Drucker
PREVIEW
The purpose of this chapter is to help you gain an understanding of how the simplex method works.
Understanding the underlying principles help to interpret and analyze solution of any LP problem.
LEARNING OBJECTIVES
CHAPTER OUTLINE
4.1 Introduction 4.6 Types of Linear Programming Solutions
4.2 Standard Form of an LP Problem • Conceptual Questions
4.3 Simplex Algorithm (Maximization Case) • Self Practice Problems B
4.4 Simplex Algorithm (Minimization Case) • Hints and Answers
• Self Practice Problems A Chapter Summary
• Hints and Answers Chapter Concepts Quiz
4.5 Some Complications and their Resolution Case Study
Linear Programming: The Simplex Method 101
4.1 INTRODUCTION
Most real-life problems when formulated as an LP model have more than two variables and therefore need
a more efficient method to suggest an optimal solution for such problems. In this chapter, we shall discuss
a procedure called the simplex method for solving an LP model of such problems. This method was
developed by G B Dantzig in 1947.
The simplex, an important term in mathematics, represents an object in an n-dimensional space,
connecting n + 1 points. In one dimension, the simplex represents a line segment connecting two points;
in two dimensions, it represents a triangle formed by joining three points; in three dimensions, it represents
a four-sided pyramid.
The concept of simplex method is similar to the graphical method. In the graphical method, extreme
points of the feasible solution space are examined in order to search for the optimal solution that lies at
one of these points. For LP problems with several variables, we may not be able to graph the feasible region,
but the optimal solution will still lie at an extreme point of the many-sided, multidimensional figure (called
an n-dimensional polyhedron) that represents the feasible solution space. The simplex method examines
these extreme points in a systematic manner, repeating the same set of steps of the algorithm until an optimal
solution is found. It is for this reason that it is also called the iterative method.
Since the number of extreme points of the feasible solution space are finite, the method assures an
improvement in the value of objective function as we move from one iteration (extreme point) to another
and achieve the optimal solution in a finite number of steps. The method also indicates when an unbounded
solution is reached.
This standard form of the LP problem can also be expressed in the compact form as follows:
n m
Optimize (Max or Min) Z = ∑ cj xj + ∑ 0 si (Objective function)
j =1 i =1
3. Any constraint expressed by equality (=) sign may be replaced by two weak inequalities. For example,
a11 x1 + a12 x2 + . . . + a1n xn = b1 is equivalent to following two simultaneous constraints,
Slack variable
represents an a11 x1 + a12 x2 + . . . + a1n xn ≤ b1 and a11 x1 + a12 x2 + . . . + a1n xn ≥ b1
unused quantity of
resource; it is 4. Three types of additional variables, namely (i) slack variables (s) (ii) surplus variables (– s), and
added to less-than (iii) artificial variables (A) are added in the given LP problem to convert it into the standard form for the
or equal-to type following reasons:
constraints in order
to get an equality (a) These variables allow us to convert inequalities into equalities, thereby converting the given LP
constraint. problem into its standard form. Such form will help in getting solution of the LP problem.
(b) These variables help decision-makers to draw economic interpretation from the final solution.
(c) These variables are used to get an initial feasible solution represented by the columns of the identity
matrix.
The summary of the additional variables to be added in the given LP problem in order to convert it
into a standard form is given in Table 4.1.
Max Z Min Z
• Less than or A slack variable 0 0 Yes
equal to (≤) is added
• Greater than or A surplus variable 0 0 No
Table 4.1 equal to (≥) is subtracted, and
Summary of an artificial variable –M +M Yes
Additional is added
Variables Added • Equal to (=) Only an artificial –M +M Yes
in an LP Problem variable is added
Remark A slack variable represents an unused resource, either in the form of time on a machine, labour
hours, money, warehouse space, etc. Since these variables don’t yield any profit, therefore such variables
are added to the objective function with zero coefficients.
A surplus variable represents the amount by which solution values exceed a resource. These variables
are also called negative slack variables. Surplus variables, like slack variables carry a zero coefficient in
the objective function.
Linear Programming: The Simplex Method 103
Definitions
Basic solution Given a system of m simultaneous linear equations with n (> m) variables: Ax = B, where A
is an m × n matrix and rank (A) = m. Let B be any m × m non-singular submatrix of A obtained by reordering m
linearly independent columns of A. Then, a solution obtained by setting n – m variables not associated with the
columns of B, equal to zero, and solving the resulting system is called a basic solution to the given system of
equations.
The m variables (may be all non zero) are called basic variables. The m × m non-singular sub-matrix B is
called a basis matrix and the columns of B as basis vectors.
If B is the basis matrix, then the basic solution to the system of equations will be xB = B–1b.
Basic feasible solution A basic solution to the system of simultaneous equations, Ax = b is called basic
feasible if xB ≥ 0.
Degenerate solution A basic solution to the system of simultaneous equations, Ax = b is called degenerate
if one or more of the basic variables assume zero value.
Cost vector Let xB be a basic feasible solution to the LP problem.
Maximize Z = cx
subject to the constraints
Ax = b, and x ≥ 0.
Then the vector cB = (cB1, cB2, . . ., cBm), is called cost vector that represents the coefficient of basic variable,
xB in the basic feasible solution.
cj → c1 c2 ... cn 0 0 ... 0
Basic Variables Basic Basic Variables Variables
Coefficient Variables Value x1 x2 ... xn s1 s2 . . . sm
(cB) B b (= xB)
cB1 s1 xB1 = b1 a 11 a 12 ... a 1n 1 0 ... 0
cB2 s2 xB2 = b2 a 21 a 22 ... a 2n 0 1 ... 0
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
cBm sm xBm = bm a m1 a m2 ... a mn 0 0 ... 1
Table 4.2
Z = Σ cBi xBi zj = Σ cBi xj 0 0 ... 0 0 0 ... 0 Initial Simplex
cj – z j c1 – z1 c 2 – z2 . . . c n – zn 0 0 ... 0 Table
104 Operations Research: Theory and Applications
After having set up the initial simplex table, locate the identity matrix (contains all zeros except
positive elements 1’s on the diagonal). The identity matrix so obtained is also called a basis matrix
[because basic feasible solution is represented by B = I ].
The columns of identity matrix represent the coefficients of slack variables that have been added to
the constraints. Each column of the identity matrix also represents a basic variable.
Assign values of the constants (bi’s) to the column variables in the identity matrix [because
Degeneracy arises xB = B –1 b = I b = b].
when there is a tie The variables corresponding to the columns of the identity matrix are called basic variables and the
in the minimum ratio remaining ones are called non-basic variables. In general, if an LP model has n variables and m (< n)
value that
determines the constraints, then m variables would be basic and n – m variables non-basic. In certain cases one or more
variable to enter than one basic variables may also have zero values. It one or more basic variables have zero value, then
into the next this situation is called degeneracy and will be discussed later.
solution.
The first row in Table 4.2 indicates the coefficients cj of variables in the objective function. These
values represent the cost (or profit) per unit associated with a variable in the objective function and these
are used to determine the variable to be entered into the basis matrix B.
The column ‘cB’ lists the coefficients of the current basic variables in the objective function. These
values are used to calculate the value of Z when one unit of any variable is brought into the solution.
Column ‘xB’ represents the values of the basic variables in the current basic solution.
Basis is the set of Numbers, aij in the columns under each variable are also called substitution rates (or exchange
variables present in coefficients) because these represent the rate at which resource i (i = 1, 2, . . ., m) is consumed by each unit
the solution, have
positive non-zero of an activity j ( j = 1, 2, . . ., n).
value; these The values zj represent the amount by which the value of objective function Z would be decreased
variables are also (or increased ) if one unit of the given variable is added to the new solution. Each of the values in the
called basic
variables.
cj – zj row represents the net amount of increase (or decrease) in the objective function that would occur
when one unit of the variable represented by the column head is introduced into the solution. That is:
cj – zj (net effect) = cj (incoming unit profit/cost) – zj (outgoing total profit/cost)
where zj = Coefficient of basic variables column × Exchange coefficient column j
Step 3: Test for optimality Calculate the cj – zj value for all non-basic variables. To obtain the value
of zj multiply each element under ‘Variables’ column (columns, aj of the coefficient matrix) with the
corresponding elements in cB-column. Examine values of cj – zj. The following three cases may arise:
(i) If all cj – zj ≤ 0, then the basic feasible solution is optimal.
(ii) If at least one column of the coefficients matrix (i.e. ak ) for which ck – zk > 0 and all other elements
are negative (i.e. aik < 0), then there exists an unbounded solution to the given problem.
(iii) If at least one cj – zj > 0, and each of these columns have at least one positive element (i.e. aij )
for some row, then this indicates that an improvement in the value of objective function Z is
possible.
Non-basic Step 4: Select the variable to enter the basis If Case (iii) of Step 3 holds, then select a variable
variables are those
which are not in the
that has the largest cj – zj value to enter into the new solution. That is,
‘basis’ and have ck – zk = Max {(cj – zj); cj – zj > 0}
zero-value.
The column to be entered is called the key or pivot column. Obviously, such a variable indicates the
largest per unit improvement in the current solution.
Step 5: Test for feasibility (variable to leave the basis) After identifying the variable to become
the basic variable, the variable to be removed from the existing set of basic variables is determined. For
this, each number in xB-column (i.e. bi values) is divided by the corresponding (but positive) number in
the key column and a row is selected for which this ratio is non-negative and minimum. This ratio is called
the replacement (exchange) ratio. That is,
xBr R| x U|
= Min S| a
Bi
; a rj > 0 V|
arj
T rj W
Linear Programming: The Simplex Method 105
This ratio restricts the number of units of the incoming variable that can be obtained from the exchange. Infeasibility is the
It may be noted that the division by a negative or by a zero element in key column is not permitted. situation in which no
The row selected in this manner is called the key or pivot row and it represents the variable which solution satisfies all
constraints of an LP
will leave the solution. problem.
The element that lies at the intersection of the key row and key column of the simplex table is called
key or pivot element.
Step 2: Since all bi (RHS values) > 0, (i = 1, 2, 3), therefore choose the initial basic feasible solution as:
x1 = x2 = x3 = 0; s1 = 8, s2 = 10, s3 = 15 and Max Z = 0
This solution can also be read from the initial simplex Table 4.3 by equating row-wise values in the basis
(B) column and solution values (xB ) column.
Step 3: To see whether the current solution given in Table 4.3 is optimal or not, calculate
cj – zj = cj – cB B– 1 aj = cj – cB yj
for non-basic variables x1, x2 and x3 as follows.
zj = (Basic variable coefficients, cB ) × ( jth column of data matrix)
That is, z1 = 0 (2) + 0 (0) + 0 (3) = 0 for x1-column
z2 = 0 (3) + 0 (2) + 0 (2) = 0 for x2-column
z3 = 0 (0) + 0 (5) + 0 (4) = 0 for x3-column
106 Operations Research: Theory and Applications
These zj values are now subtracted from cj values in order to calculate the net profit likely to be gained
by introducing (performing) a particular variable (activity) x1, x2 or x3 into the new solution mix. This is
done by introducing one unit of each variable x1, x2 and x3 into the new solution mix.
c1 – z1 = 3 – 0 = 3, c2 – z2 = 5 – 0 = 5, c3 – z 3 = 4 – 0 = 4
The zj and cj – zj rows are added into the Table 4.3.
The values of basic variables, s1, s2 and s3 are given in the solution values (xB ) column of Table 4.3.
The remaining variables that are non-basic at the current solution have zero value. The value of objective
function at the current solution is given by
Z = (Basic variables coefficient, cB ) × (Basic variables value, xB )
= 0 (8) + 0 (10) + 0 (15) = 0
cj → 3 5 4 0 0 0
Basic Variables Basic Basic Variables x1 x2 x3 s1 s2 s3 Min Ratio
Coefficient Variables Value xB /x2
cB B b (= xB )
0 s1 8 2 3 0 1 0 0 8/3 →
0 s2 10 0 2 5 0 1 0 10/2
0 s3 15 3 2 4 0 0 1 15/2
Z = 0 zj 0 0 0 0 0 0
Table 4.3 cj – zj 3 5 4 0 0 0
Initial Solution ↑
Since all cj – zj ≥ 0 ( j = 1, 2, 3), the current solution is not optimal. Variable x2 is chosen to enter into
the basis because c2 – z2 = 5 is the largest positive number in the x2-column, where all elements are positive.
This means that for every unit of variable x2, the objective function will increase in value by 5. The x2-
column is the key column.
Step 4: The variable that is to leave the basis is determined by dividing the values in the xB -column by
the corresponding elements in the key column as shown in Table 4.3. Since the ratio,
8/3 is minimum in row 1, the basic variable s1 is chosen to leave the solution (basis).
Step 5 (Iteration 1): Since the key element enclosed in the circle in Table 4.3 is not 1, divide all elements
of the key row by 3 in order to obtain new values of the elements in this row. The new values of the elements
in the remaining rows for the new Table 4.4 can be obtained by performing the following elementary row
operations on all rows so that all elements except the key element 1 in the key column are zero.
R1 (new) → R1 (old) ÷ 3 (key element)
→ (8/3, 2/3, 3/3, 0/3, 1/3, 0/3, 0/3) = (8/3, 2/3, 1, 0, 1/3, 0, 0)
cj → 3 5 4 0 0 0
The improved basic feasible solution can be read from Table 4.4 as: x2 = 8/3, s2 = 14/3, s3 = 29/3 and
x1 = x3 = s1 = 0. The improved value of the objective function becomes:
Z = (Basic variable coefficients, cB ) × (Basic variable values, xB )
= 5 (8/3) + 0 (14/3) + 0 (29/3) = 40/3
Once again, calculate values of cj – zj to check whether the solution shown in Table 4.4 is optimal or
not. Since c3 – z3 > 0, the current solution is not optimal.
Iteration 2: Repeat Steps 3 to 5. Table 4.5 is obtained by performing following row operations to enter
variable x3 into the basis and to drive out s2 from the basis.
R2 (new) = R2 (old) ÷ 5 (key element) = (14/15, – 4/15, 0, 1, – 2/15, 1/5, 0)
Table 4.5 is completed by calculating the new zj and cj – zj values and the new value of objective
function:
z1 = 5 (2/3) + 4 (– 4/15) + 0 (41/15) = 34/15 c1 – z1 = 3 – 34/15 = 11/15 for x1 -column
z4 = 5 (1/3) + 4 (– 2/15) + 0 (2/15) = 17/15 c4 – z4 = 0 – 17/15 = – 17/15 for s1 -column
z5 = 5 (0) + 4 (1/5) + 0 (– 4/5) = 4/5 c5 – z5 = 0 – 4/5 = – 4/5 for s2 -column
The new objective function value is:
Z = (Basic variables coefficient, cB ) × (Basic variables value, xB )
= 5 (8/3) + 4 (14/15) + 0 (89/15) = 256/15
The improved basic feasible solution is shown in Table 4.5.
cj → 3 5 4 0 0 0
Iteration 3: In Table 4.5, since c1 – z1 is still a positive value, the current solution is not optimal. Thus,
the variable x1 enters the basis and s3 leaves the basis. To get another improved solution as shown in Table
4.5 perform the following row operations in the same manner as discussed earlier.
R3 (new) → R3 (old) × 15/41 (key element)
→ (89/15 × 15/41, 41/15 × 15/41, 0 × 15/41, 0 × 15/41,
– 2/15 × 15/41, – 4/5 × 15/41, 1 × 15/41)
→ (89/41, 1, 0, 0, – 2/41, – 12/41, 15/41)
cj → 3 5 4 0 0 0
Basic Variables Basic Basic Variables x1 x2 x3 s1 s2 s3
Coefficient Variables Value
cB B b (= xB)
In Table 4.6, all cj – zj < 0 for non-basic variables. Therefore, the optimal solution is reached with,
x1 = 89/41, x2 = 50/41, x3 = 62/41 and the optimal value of Z = 765/41.
Example 4.2 A company makes two kinds of leather belts, belt A and belt B. Belt A is a high quality
belt and belt B is of lower quality. The respective profits are Rs 4 and Rs 3 per belt. The production of
each of type A requires twice as much time as a belt of type B, and if all belts were of type B, the company
could make 1,000 belts per day. The supply of leather is sufficient for only 800 belts per day (both A and
B combined). Belt A requires a fancy buckle and only 400 of these are available per day. There are only
700 buckles a day available for belt B.
What should be the daily production of each type of belt? Formulate this problem as an LP model and
solve it using the simplex method.
Solution Let x1 and x2 be the number of belts of type A and B, respectively, manufactured each day.
Then the LP model would be as follows:
Maximize (total profit) Z = 4x1 + 3x2
subject to the constraints
(i) 2x1 + x2 ≤ 1,000 (Time availability), (ii) x1 + x2 ≤ 800 (Supply of leather)
(iii) x1 ≤ 400
(Buckles availability)
x2 ≤ 700
and x1, x2 ≥ 0
Standard form Introducing slack variables s1, s2, s3 and s4 to convert given LP model into its standard form
as follows.
Linear Programming: The Simplex Method 109
Solution by simplex method An initial feasible solution is obtained by setting x1 = x2 = 0. Thus, the
initial solution is: s1 = 1,000, s2 = 800, s3 = 400, s4 = 700 and Max Z = 0. This solution can also be read
from the initial simplex Table 4.7.
cj → 4 3 0 0 0 0
Basic Variables Basic Basic Variables x1 x2 s1 s2 s3 s4 Min Ratio
Coefficient Variables Value xB /x1
cB B b (= xB )
0 s1 1,000 2 1 1 0 0 0 1,000/2 = 500
0 s2 800 1 1 0 1 0 0 800/1 = 800
0 s3 400 1 0 0 0 1 0 400/1 = 400 →
0 s4 700 0 1 0 0 0 1 not defined
Z = 0 zj 0 0 0 0 0 0
cj – zj 4 3 0 0 0 0 Table 4.7
↑ Initial Solution
In Table 4.7, since c1 – z1 = 4 is the largest positive number, we apply the following row operations
in order to get an improved basic feasible solution by entering variable x1 into the basis and removing
variable s3 from the basis.
R3 (new) → R3 (old) ÷ 1 (key element) R1 (new) → R1 (old) – 2R3 (new)
R2 (new) → R2 (old) – R3 (new)
The new solution is shown in Table 4.8.
cj → 4 3 0 0 0 0
Basic Variables Basis Basic Variables x1 x2 s1 s2 s3 s4 Min Ratio
Coefficient Variables Value xB/x2
cB B b (= xB)
0 s1 200 0 1 1 0 – 2 0 200/1 = 200 →
0 s2 400 0 1 0 1 – 1 0 400/1 = 400
4 x1 400 1 0 0 0 1 0 –
0 s4 700 0 1 0 0 0 1 700/1 = 700
Z = 1,600 zj 4 0 0 0 4 0 Table 4.8
cj – zj 0 3 0 0 – 4 0 An Improved
↑ Solution
The solution shown in Table 4.8 is not optimal because c2 – z2 > 0 in x2 -column. Thus, again applying
the following row operations to get a new solution by entering variable x2 into the basis and removing
variable s1 from the basis, we get
R1 (new) → R1 (old) ÷ 1 (key element) R2 (new) → R2 (old) – R1 (new)
R4 (new) → R4 (old) – R1 (new)
The improved solution is shown in Table 4.9.
110 Operations Research: Theory and Applications
cj → 4 3 0 0 0 0
Basic Variables Basic Basic Variables x1 x2 s1 s2 s3 s4 Min Ratio
Coefficient Variables Value xB /s3
cB B b(= xB)
3 x2 200 0 1 1 0 –2 0 —
0 s2 200 0 0 –1 1 1 0 200/1 = 200 →
4 x1 400 1 0 0 0 1 0 400/1 = 400
0 s4 500 0 0 –1 0 2 1 500/2 = 250
Z = 2,200 zj 4 3 3 0 –2 0
Table 4.9 cj – zj 0 0 –3 0 2 0
Improved Solution ↑
The solution shown in Table 4.9 is not optimal because c5 – z5 > 0 in s3-column. Thus, again applying
the following row operations to get a new solution by entering variable s3, into the basis and removing
variable s2 from the basis, we get
R2 (new) → R2 (old) ÷ 1 (key element) R1 (new) → R1 (old) + 2R2 (new)
R3 (new) → R3 (old) – R2 (new); R4 (new) → R4 (old) – 2R2 (new)
The new improved solution is shown in Table 4.10.
cj → 4 3 0 0 0 0
Basic Variables Basic Basic Variables x1 x2 s1 s2 s3 s4
Coefficient Variables Value
cB B b (= xB)
3 x2 600 0 1 – 1 2 0 0
0 s3 200 0 0 – 1 1 1 0
4 x1 200 1 0 1 – 1 0 0
0 s4 100 0 0 1 – 2 0 1
Table 4.10 Z = 2,600 zj 4 3 1 2 0 0
Optimal Solution cj – zj 0 0 – 1 – 2 0 0
Since all cj – zj < 0 correspond to non-basic variables columns, the current basic feasible solution is
also the optimal solution. Thus, the company must manufacture, x1 = 200 belts of type A and x2 = 600 belts
of type B in order to obtain the maximum profit of Rs 2,600.
Example 4.3 A pharmaceutical company has 100 kg of A, 180 kg of B and 120 kg of C ingredients
available per month. The company can use these materials to make three basic pharmaceutical products
namely 5-10-5, 5-5-10 and 20-5-10, where the numbers in each case represent the percentage of weight of
A, B and C, respectively, in each of the products. The cost of these raw materials is as follows:
The selling prices of these products are Rs 40.5, Rs 43 and 45 per kg , respectively. There is a capacity
restriction of the company for product 5-10-5, because of which the company cannot produce more than 30 kg
per month. Determine how much of each of the products the company should produce in order to maximize its
monthly profit. [Delhi Univ., MBA, 2004, AMIE, 2005]
Solution Let the P1, P2 and P3 be the three products to be manufactured. The data of the problem can
then be summarized as follows:
Linear Programming: The Simplex Method 111
Solution by simplex method An initial basic feasible solution is obtained by setting x1 = x2 = x3 = 0. Thus,
the initial solution shown in Table 4.11 is: s1 = 2,000, s2 = 3,600, s3 = 2,400, s4 = 30 and Max Z = 0.
cj → 16 17 10 0 0 0 0
Basic Variables Basis Basic Variables x1 x2 x3 s1 s2 s3 s4 Min Ratio
Coefficient Variables Value xB /x2
cB B b (= xB )
0 s1 2,000 1 1 4 1 0 0 0 2,000/1 = 2,000
0 s2 3,600 2 1 1 0 1 0 0 3,600/1 = 3,600
0 s3 2,400 1 2 2 0 0 1 0 2,400/2 = 1,200 →
0 s4 30 1 0 0 0 0 0 1 —
Z = 0 zj 0 0 0 0 0 0 0
Table 4.11
cj – zj 16 17 10 0 0 0 0
Initial Solution
↑
Since c2 – z2 = 17 in x2 -column is the largest positive value, we apply the following row operations
in order to get a new improved solution by entering variable x2 into the basis and removing variable s3
from the basis.
R3 (new) → R3 (old) ÷ 2 (key element) R1 (new) → R1 (old) – R3 (new)
R2 (new) → R2 (old) – R3 (new)
112 Operations Research: Theory and Applications
cj → 16 17 10 0 0 0 0
Basic Variables Basic Basic Variables x1 x2 x3 s1 s2 s3 s4 Min Ratio
Coefficient Variables Value xB /x1
cB B b (= xB )
0 s1 800 1/2 0 3 1 0 – 1/2 0 800/(1/2) = 1,600
0 s2 2,400 3/2 0 0 0 1 – 1/2 0 2,400/(3/2) = 1,600
17 x2 1,200 1/2 1 1 0 0 1/2 0 1,200/(1/2) = 2,400
0 s4 30 1 0 0 0 0 0 1 30/1 = 30 →
Z = 20,400 zj 17/2 17 17 0 0 17/2 0
Table 4.12
cj – zj 15/2 0 – 7 0 0 – 17/2 0
Improve Solution
↑
The solution shown in Table 4.12 is not optimal because c1 – z1 > 0 in x1 -column. Thus, applying the
following row operations to get a new improved solution by entering variable x1 into the basis and removing
the variable s4 from the basis, we get
R4 (new) → R4 (old) ÷ 1 (key element); R1 (new) → R1 (old) – (1/2) R4 (new)
R2 (new) → R2 (old) – (3/2) R4 (new); R3 (new) → R3 (old) – (1/2) R4 (new)
The new solution is shown in Table 4.13.
cj → 16 17 10 0 0 0 0
Since all cj – zj < 0 corresponding to non-basic variables columns, the current solution is an optimal
solution. Thus, the company must manufacture, x1 = 30 kg of P1, x2 = 1,185 kg of P2 and x3 = 0 kg of
P3 in order to obtain the maximum net profit of Rs 20,625.
In certain cases, it is difficult to obtain an initial basic feasible solution of the given LP problem. Such cases
arise
(i) when the constraints are of the ≤ type,
n
∑ a ij x j ≤ bi , xj ≥ 0
j =1
and value of few right-hand side constants is negative [i.e. bi < 0]. After adding the non-negative
slack variable si (i = 1, 2, . . ., m), the initial solution so obtained will be si = – bi for a particular
resource, i. This solution is not feasible because it does not satisfy non-negativity conditions of
slack variables (i.e. si ≥ 0).
(ii) when the constraints are of the ≥ type,
n
∑ a ij x j ≥ bi , xj ≥ 0
j =1
Linear Programming: The Simplex Method 113
After adding surplus (negative slack) variable si, the initial solution so obtained will be – si = bi or
si = – bi
n
∑ aij x j − si = bi , xj ≥ 0, si ≥ 0
j =1
This solution is not feasible because it does not satisfy non-negativity conditions of surplus variables (i.e. si
≥ 0). In such a case, artificial variables, Ai (i = 1, 2, . . ., m) are added to get an initial basic feasible solution. The
resulting system of equations then becomes:
n
∑ a ij x j − si + Ai = bi
j =1
xj, si, Ai ≥ 0, i = 1, 2, . . ., m
These are m simultaneous equations with (n + m + m) variables (n decision variables, m artificial variables
and m surplus variables). An initial basic feasible solution of LP problem with such constraints can be
obtained by equating (n + 2m – m) = (n + m) variables equal to zero. Thus the new solution to the given
LP problem is: Ai = bi (i = 1, 2, . . . , m), which is not the solution to the original system of equations because
the two systems of equations are not equivalent. Thus, to get back to the original problem, artificial
variables must be removed from the optimal solution. There are two methods for removing artificial variables
from the solution.
• Two-Phase Method
• Big-M Method or Method of Penalties
The simplex method, both for the minimization and the maximization LP problem, may be summarized through
a flow chart shown in Fig. 4.1.
Fig. 4.1
Flow Chart of
Simplex Algorithm
114 Operations Research: Theory and Applications
Remark Artificial variables have no meaning in a physical sense and are only used as a tool for
generating an initial solution to an LP problem. Before the optimal solution is reached, all artificial variables
must be dropped out from the solution mix. This is done by assigning appropriate coefficients to these
variables in the objective function. These variables are added to those constraints with equality (=) and
greater than or equal to (≥) sign.
and xj, Aj ≥ 0
Step 3: Apply the simplex algorithm to solve this auxiliary LP problem. The following three cases may arise
at optimality.
(a) Max Z * = 0 and at least one artificial variable is present in the basis with positive value. This means
that no feasible solution exists for the original LP problem.
(b) Max Z * = 0 and no artificial variable is present in the basis. This means that only decision variables
(xj’s) are present in the basis and hence proceed to Phase II to obtain an optimal basic feasible
solution on the original LP problem.
(c) Max Z * = 0 and at least one artificial variable is present in the basis at zero value. This means
that a feasible solution to the auxiliary LP problem is also a feasible solution to the original LP
problem. In order to arrive at the basic feasible solution, proceed directly to Phase II or else
eliminate the artificial basic variable and then proceed to Phase II.
Remark Once an artificial variable has left the basis, it has served its purpose and can, therefore, be
removed from the simplex table. An artificial variable is never considered for re-entry into the basis.
Phase II: Assign actual coefficients to the variables in the objective function and zero coefficient to the
artificial variables which appear at zero value in the basis at the end of Phase I. The last simplex table of
Linear Programming: The Simplex Method 115
Phase I can be used as the initial simplex table for Phase II. Then apply the usual simplex algorithm to the
modified simplex table in order to get the optimal solution to the original problem. Artificial variables that
do not appear in the basis may be removed.
Example 4.4 Use two-phase simplex method to solve the following LP problem:
Minimize Z = x1 + x2
subject to the constraints
(i) 2x1 + x2 ≥ 4, (ii) x1 + 7x2 ≥ 7
and x1, x2 ≥ 0
Solution Converting the given LP problem objective function into the maximization form and then adding
surplus variables s1 and s2 and artificial variables A1 and A2 in the constraints, the problem becomes:
Maximize Z * = – x1 – x2
subject to the constraints
(i) 2x1 + 4x2 – s1 + A1 = 4, (ii) x1 + 7x2 – s2 + A2 = 7
and x1, x2, s1, s2, A1, A2 ≥ 0
where Z * = – Z
Phase I: This phase starts by considering the following auxiliary LP problem:
Maximize Z * = – A1 – A2
subject to the constraints
(i) 2x1 + 4x2 – s1 + A1 = 4, (ii) x1 + 7x2 – s2 + A2 = 7
and x1, x2, s1, s2, A1, A2 ≥ 0
The initial solution is presented in Table 4.14.
cj → 0 0 0 0 – 1 – 1
Basic Variables Basic Basic Variables x1 x2 s1 s2 A1 A2
Coefficient Variables Value
cB B b(= xB )
–1 A1 4 2 1 –1 0 1 0
–1 A2 7 1 7 0 –1 0 1→
Z * = – 11 zj –3 –8 1 1 –1 –1
cj – zj 3 8 –1 –1 0 0 Table 4.14
↑ Initial Solution
Artificial variables A1 and A2 are now removed, one after the other, maintaining the feasibility of the solution.
Iteration 1: Applying the following row operations to get an improved solution by entering variable x2
in the basis and first removing variable A2 from the basis. The improved solution is shown in Table 4.15.
Note that the variable x1 cannot be entered into the basis as this would lead to an infeasible solution.
R2 (new) → R2 (old) ÷ 7 (key element); R1 (new) → R1 (old) – R2 (new)
cj → 0 0 0 0 – 1 – 1
Basic Variables Basic Basic Variables x1 x2 s1 s2 A1 A2 *
Coefficient Variables Value
cB B b( = xB )
–1 A1 3 13/7 0 – 1 1/7 1 – 1/7 →
0 x2 1 1/7 1 0 – 1/7 0 1/7
Z* = – 3 zj – 13/7 0 1 – 1/7 – 1 1/7 Table 4.15
cj – zj 13/7 0 – 1 1/7 0 – 8/7 Improved
Solution
↑
Iteration 2: To remove A1 from the solution shown in Table 4.15, we enter variable s2 in the basis by
applying the following row operations. The new solution is shown in Table 4.16. It may be noted that if
instead of s2, variable x1 is chosen to be entered into the basis, it will lead to an infeasible solution
R1 (new) → R1 (old) × 7; R2 (new) → R2 (old) + (1/7) R1 (new)
cj → 0 0 0 0 – 1 – 1
Basic Variables Basic Basic Variables x1 x2 s1 s2 A1* A2*
Coefficient Variables Value
cB B b( = xB )
0 s2 21 13 0 –7 1 7 –1
0 x2 4 2 1 –1 0 1 0
Table 4.16 Z* = 0 zj 0 0 0 0 0 0
Improved Solution cj – zj 0 0 0 0 –1 –1
0 s2 21 13 0 – 7 1 21/13 →
–1 x2 4 2 1 – 1 0 4/2
Z* = – 4 zj – 2 – 1 1 0
cj – zj 1 0 – 1 0
Table 4.17
↑
Iteration 1: Introducing variable x1 into the basis and removing variable s2 from the basis by applying the
following row operations:
R1 (new) → R1 (old) ÷ 13 (key element); R2 (new) → R2 (old) – 2R1 (new)
The improved basic feasible solution so obtained is given in Table 4.18. Since in Table 4.18, cj – zj ≤ 0
for all non-basic variables, the current solution is optimal. Thus, the optimal basic feasible solution to the given
LP problem is: x1 = 21/13, x2 = 10/13 and Max Z * = – 31/13 or Min Z = 31/13.
cj → –1 –1 0 0
Example 4.5 Solve the following LP problem by using the two-phase simplex method.
Minimize Z = x1 – 2x2 – 3x3
subject to the constraints
(i) – 2x1 + x2 + 3x3 = 2, (ii) 2x1 + 3x2 + 4x3 = 1
and x1, x2, x3 ≥ 0. [Meerut, MSc (Math), 2003]
Linear Programming: The Simplex Method 117
Solution After converting the objective function into the maximization form and by adding artificial
variables A1 and A2 in the constraints, the given LP problem becomes:
Maximize Z * = – x1 + 2x2 + 3x3
subject to the constraints
(i) – 2x1 + x2 + 3x3 + A1 = 2, (ii) 2x1 + 3x2 + 4x3 + A2 = 1
and x1, x2, x3, A1, A2 ≥ 0
where Z * = – Z
Phase I: This phase starts by considering the following auxiliary LP problem:
Maximize Z * = – A1 – A2
subject to the constraints
(i) – 2x1 + x2 + 3x3 + A1 = 2 (ii) 2x1 + 3x2 + 4x3 + A2 = 1
and x1, x2, x3, A1, A2 ≥ 0
The initial solution is presented in Table 4.19.
cj → 0 0 0 – 1 – 1
Basic Variables Basic Basic Variables x1 x2 x3 A1 A2
Coefficient Variables Value
cB B b ( = xB )
–1 A1 2 –2 1 3 1 0
–1 A2 1 2 3 4 0 1 →
Z* = – 3 zj 0 –4 –7 –1 –1
cj – zj 0 4 7 0 0 Table 4.19
Initial Solution
↑
To first remove the artificial variable A2 from the solution shown in Table 4.19, introduce variable
x3 into the basis by applying the following row operations:
R1 (new) → R2 (old) ÷ 4 (key element) ; R1 (new) → R1 (old) – 3R2 (new)
The improved solution so obtained is given in Table 4.20. Since in Table 4.20, cj – zj ≤ 0 corresponds
to non-basic variables, the optimal solution is: x1 = 0, x2 = 0, x3 = 1/4, A1 = 5/4 and A2 = 0 with
Max Z * = – 5/4. But at the same time, the value of Z * < 0 and the artificial variable A1 appears in the
basis with positive value 5/4. Hence, feasible solution to the given original LP problem does not exist.
cj → 0 0 0 –1
Basic Variables Basic Basic Variables x1 x2 x3 A1
Coefficient Variables Value
cB B b( = xB )
–1 A1 5/4 –7/2 –5/4 0 1
0 x3 1/4 1/2 3/4 1 0
Table 4.20
Z * = – 5/4 zj 7/2 5/4 0 –1 Optimal but not
cj – zj – 7/2 – 5/4 0 0 Feasible Solution
Minimize Z* = A1
subject to the constraints
(i) 5x1 + 7x2 + 4x3 + s1 = 7, (ii) 4x1 – 7x2 – 5x3 + s2 = 2, (iii) 3x1 + 4x2 – 6x3 – s3 + A1 = 29/7
and x1, x2, x3, s1, s2, s3, A1 ≥ 0.
Setting variables x1 = x2 = x3 = s3 = 0, the basic feasible solution shown in Table 4.21 to the auxiliary LP
problem is: s1 = 7, s2 = 2, A1 = 29/7
cj Æ 0 0 0 0 0 0 1
Basic Variables Basic Basic Variables x1 x2 x3 s1 s2 s3 A1 Min Ratio
Coefficient Variables Value xB /x2
cB B b (= xB)
0 s1 7 5 7 4 1 0 0 0 1 →
0 s2 2 4 –7 –5 0 1 0 0 —
1 A1 29/7 3 4 –6 0 0 –1 1 29/28
Since c2 – z2 = – 4 is the largest negative value under x2-column in Table 4.21, replacing basic variable s1
with the non-basic variable x2 into the basis. For this, apply following row operations:
R1(new) → R1(old) ÷ 7(key element); R2(new) → R2(old) + 7R1(new);
R3(new) → R3(old) – 4R1(new)
to get an improved solution as shown in Table 4.22.
cj Æ 0 0 0 0 0 0 1
Basic Variables Basic Basic Variables x1 x2 x3 s1 s2 s3 A1 Min Ratio
Coefficient Variables Value xB /x1
cB B b (= xB)
0 x2 1 5/7 1 4/7 1/7 0 0 0 7/5
0 s2 9 9 0 –1 1 1 0 0 1
Tie
1 A1 1/7 1/7 0 – 58/7 – 4/7 0 –1 1 1
Table 4.22
An Improved Z = 1/7 zj 1/7 0 – 58/7 – 4/7 0 –1 1
Solution cj – zj –1/7 0 58/7 4/7 0 1 0
↑
Solution shown in Table 4.22 is not optimal and there is a tie between the s2 and A1-rows for the key row.
The A1-row is selected as the key row because preference is given to the artificial variable. Thus (1/7) is the key
element. Replace basic variable A1 in the basis with the non-basic variable x1. Applying following row opera-
tions to get the new solution as shown in Table 4.23.
R3(new) → R3(old) ÷ (1/7) key element; R1(new) → R1(old) – (5/7) R3 (new);
R2(new) → R2(old) – 9 R3(new)
cj → 0 0 0 0 0 0
Basic Variables Variables Basic Variables x1 x2 x3 s1 s2 s3
Coefficient in Basis Value
cB B b (= xB)
0 x2 2/7 0 1 42 3 0 5
0 s2 0 0 0 521 37 1 63
Table 4.23 0 x1 1 1 0 – 58 –4 0 –7
Basic Feasible
Solution Z=0 zj 0 0 0 0 0 0
c j – zj 0 0 0 0 0 0
Linear Programming: The Simplex Method 119
In Table 4.23, all cj – zj = 0 under non-basic variable columns. Thus, the current solution is optimal. Also
Min Z* = 0 and no artificial variable appears in the basis, and hence this solution is the basic feasible
solution to the original LP problem.
Phase II: Using the solution shown in Table 4.23 as the initial solution for Phase II and carrying out
computations to get optimal solution as shown in Table 4.24.
cj → 3 2 2 0 0 0
Basic Variables Basic Basic Variables x1 x2 x3 s1 s2 s3 Min Ratio
Coefficient Variables Value xB /x3
cB B b (= xB)
2 x2 2/7 0 1 42 3 0 5 1/147
0 s2 0 0 0 521 37 1 63 0 →
3 x1 1 1 0 – 58 –6 0 –7 —
Z = 25/7 zj 3 2 – 90 –6 0 – 11 Table 4.24
c j – zj 0 0 92 6 0 11 Initial Solution
↑
In Table 4.24, c3 – z3 = 92 is the largest positive value corresponding non-basic variable x3, replacing basic
variable s2 with non-basic variable x3 into the basis. For this apply necessary row operations as usual. The new
solution is shown in Table 4.25.
cj → 3 2 2 0 0 0
Basic Variables Basic Basic Variables x1 x2 x3 s1 s2 s3
Coefficient Variables Value
cB B b (= xB)
2 x2 2/7 0 1 0 9/521 – 42/521 – 41/521
2 x3 0 0 0 1 37/521 1/521 63/521
3 x1 1 1 0 0 62/521 58/521 7/521
Z = 25/7 zj 3 2 2 278/521 92/521 65/521 Table 4.25
c j – zj 0 0 0 –278/521 – 92/521 – 65/521 Optimal Solution
Since all cj – zj ≤ 0 in Table 4.25, the current solution is the optimal basic feasible solution: x1 = 1, x2 = 2/7,
x3 = 0 and Max Z = 25/7.
Step 1: Express the LP problem in the standard form by adding slack variables, surplus variables and/or
artificial variables. Assign a zero coefficient to both slack and surplus variables. Then assign a very large
coefficient + M (minimization case) and – M (maximization case) to artificial variable in the objective function.
Step 2: The initial basic feasible solution is obtained by assigning zero value to decision variables, x1,
x2, ..., etc.
Step 3: Calculate the values of cj – zj in last row of the simplex table and examine these values.
(i) If all cj – zj ≥ 0, then the current basic feasible solution is optimal.
(ii) If for a column, k, ck – zk is most negative and all entries in this column are negative, then the
problem has an unbounded optimal solution.
120 Operations Research: Theory and Applications
(iii) If one or more cj – zj < 0 (minimization case), then select the variable to enter into the basis
(solution mix) with the largest negative cj – zj value (largest per unit reduction in the objective
function value). This value also represents the opportunity cost of not having one unit of the
variable in the solution. That is,
ck – zk = Min {cj – zj : cj – zj < 0}
Step 4: Determine the key row and key element in the same manner as discussed in the simplex algorithm
for the maximization case.
Step 5: Continue with the procedure to update solution at each iteration till optimal solution is obtained.
Remarks At any iteration of the simplex algorithm one of the following cases may arise:
1. If at least one artificial variable is a basic variable (i.e., variable that is present in the basis) with zero
value and the coefficient it M in each cj – zj ( j = 1, 2, . . ., n) values is non-negative, then the given
LP problem has no solution. That is, the current basic feasible solution is degenerate.
2. If at least one artificial variable is present in the basis with a positive value and the coefficients M in
each cj – zj ( j = 1, 2, . . ., n) values is non-negative, then the given LP problem has no optimum basic
feasible solution. In this case, the given LP problem has a pseudo optimum basic feasible solution.
Example 4.7 Use penalty (Big-M) method to solve the following LP problem.
Minimize Z = 5x1 + 3x2
subject to the constraints
(i) 2x1 + 4x2 ≤ 12, (ii) 2x1 + 2x2 = 10, (iii) 5x1 + 2x2 ≥ 10
and x1, x2 ≥ 0.
Solution Adding slack variable, s1; surplus variable, s2 and artificial variables, A1 and A2 in the
constraints of the given LP problem, the standard form of the LP problem becomes.
Minimize Z = 5x1 + 3x2 + 0s1 + 0s2 + MA1 + MA2
subject to the constraints
(i) 2x1 + 4x2 + s1 = 12, (ii) 2x1 + 2x2 + A1 = 10 (iii) 5x1 + 2x2 – s2 + A2 = 10
and x1, x2, s1, s2, A1, A2 ≥ 0
An initial basic feasible solution: s1 = 12, A1 = 10, A2 = 10 and Min Z = 10M + 10M = 20M is obtained
by putting x1 = x2 = s2 = 0. It may be noted that the columns that correspond to the current basic variables
and form the basis (identity matrix) are s1 (slack variable), A1 and A2 (both artificial variables). The initial basic
feasible solution is given in Table 4.26.
Since the value c1 – z1= 5 – 7M is the smallest value, therefore variable x1 is chosen to enter into the basis
(solution mix). To decide a current basic variable to leave the basis, calculate minimum ratio as shown in
Table 4.26.
cj → 5 3 0 0 M M
Basic Variables Basic Basic Variables x1 x2 s1 s2 A1 A2 Min Ratio
Coefficient Variables Value xB /x1
cB B b (= xB )
0 s1 12 2 4 1 0 0 0 12/2 = 6
M A1 10 2 2 0 0 1 0 10/2 = 5
M A2 10 5 2 0 –1 0 1 10/5 = 2 →
Z = 20M zj 7M 4M 0 – M M M
Table 4.26 cj – zj 5 – 7M 3 – 4M 0 M 0 0
Initial Solution ↑
Iteration 1: Introduce variable x1 into the basis and remove A2 from the basis by applying the following
row operations.
R3 (new) → R3 (old) ÷ 5 (key element); R2 (new) → R2 (old) – 2R3 (new).
R1 (new) → R1 (old) – 2R3 (new).
The improved basic feasible solution is shown in Table 4.27.
Linear Programming: The Simplex Method 121
cj → 5 3 0 0 M
Basic Variables Basic Basic Variables x1 x2 s1 s2 A1 Min Ratio
Coefficient Variables Value xB /x2
cB B b (= xB )
Iteration 2: Since the value of c2 – z2 in Table 4.27 is the largest negative value, variable x2 is chosen
to replace basic variable s1 in the basis. Thus, to get an improved basic feasible solution, apply, the
following row operations:
R1 (new) → R1 (old) × 5/16 (key element); R2 (new) → R2 (old) – (6/5) R1 (new).
R3 (new) → R3 (old) – (2/5) R1 (new).
The new solution is shown in Table 4.28.
cj → 5 3 0 0 M
Basic Variables Basic Basic Variables Min Ratio
Coefficient Variables Value x1 x2 s1 s2 A1 xB /s2
cB B b (= xB )
3 x2 5/2 0 1 5/16 1/8 0 (5/2)/(1/8) = 40
M A1 3 0 0 – 3/8 1/4 1 3/(1/4) = 12 →
5 x1 1 1 0 – 1/8 – 1/4 0
Z = 25/2 + 3M zj 5 3– 3M/8 + 5/16 M/4 – 7/8 M
cj – zj 0 03M/8 – 5/16 – M/4 + 7/8 0 Table 4.28
Improved Solution
↑
Iteration 3: Since c4 – z4 < 0 (negative) in s2-column, the current solution is not optimal. Thus, non-basic
variable s2 is chosen to replace artificial variable A1 in the basis. To get an improved basic feasible solution,
apply the following row operations:
R2 (new) → R2 (old) × 4 (key element); R1 (new) → R1 (old) – (1/8) R2 (new)
R3 (new) → R3 (old) + (1/4) R2 (new).
The improved basic feasible solution is shown in Table 4.29.
cj → 5 3 0 0
Basic Variables Basic Basic Variables x1 x2 s1 s2
Coefficient Variables Value
cB B b(= xB )
3 x2 1 0 1 1/2 0
0 s2 12 0 0 – 3/2 1
5 x1 4 1 0 – 1/2 0
Z = 23 zj 5 3 – 1 0 Table 4.29
cj – zj 0 0 1 0 Optimal Solution
In Table 4.24, all cj – zj ≥ 0. Thus an optimal solution is arrived at with the value of variables as:
x1 = 4, x2 = 1, s1 = 0, s2 = 12 and Min Z = 23.
122 Operations Research: Theory and Applications
Example 4.8 Use penalty (Big-M) method to solve the following LP problem.
Maximize Z = x1 + 2x2 + 3x3 – x4
subject to the constraints
(i) x1 + 2x2 + 3x3 = 15, (ii) 2x1 + x2 + 5x3 = 20, (iii) x1 + 2x2 + x3 + x4 = 10
and x1, x2, x3, x4 ≥ 0 [Calicut, BTech. (Engg), 2000; Bangalore BE (Mech.), 2000; AMIE, 2009]
Solution Since all constraints of the given LP problem are equations, therefore only artificial variables A1
and A2 are added in the constraints to convert given LP problem to its standard form. The standard form
of the problem is stated as follows:
Maximize Z = x1 + 2x2 + 3x3 – x4 – MA1 – MA2
subject to the constraints
(i) x1 + 2x2 + 3x3 + A1 = 15, (ii) 2x1 + x2 + 5x3 + A2 = 20
(iii) x1 + 2x2 + x3 + x4 = 10
and x1, x2, x3, x4, A1, A2 ≥ 0
An initial basic feasible solution is given in Table 4.30.
cj → 1 2 3 –1 – M – M
Basic Variables Basic Basic Variables Min Ratio
Coefficient Variables Value x1 x2 x3 x4 A1 A2 xB /x3
cB B b (= xB )
– M A1 15 1 2 3 0 1 0 15/3 = 5
– M A2 20 2 1 5 0 0 1 20/5 = 4 →
– 1 x4 10 1 2 1 1 0 0 10/1 = 10
Z = – 35M – 10 zj – 3M – 1 – 3M – 2 – 8M – 1 –1 – M – M
Table 4.30 cj – zj 3M + 2 3M + 4 8M + 4 0 0 0
Initial Solution ↑
Since value of c3 – z3 in Table 4.30 is the largest positive value, the non-basic variable x3 is chosen to replace
the artificial variable A2 in the basis. Thus, to get an improved solution, apply the following row operations.
R2 (new) → R1 (old) ÷ 5 (key element) ; R1 (new) → R1 (old) – 3 R2 (new).
R3 (new) → R3 (old) – R2 (new)
The improved basic feasible solution is shown in Table 4.31.
cj → 1 2 3 –1 –M
3 15
– M A1 3 – 1/5 7/5 0 0 1 = →
7/5 7
4
3 x3 4 2/5 1/5 1 0 0 = 20
15
/
6 30
– 1 x4 6 3/5 9/5 0 1 0 =
9/5 9
Since value of c2 – z2 > 0 (positive) in Table 4.31, the non-basic variable x2 is chosen to replace the
artificial variable A1 in the basis. Thus, to get an improved basic feasible solution, apply the following row
operations:
Linear Programming: The Simplex Method 123
c j→ 1 2 3 – 1
Basic Variables Basic Basic Variables x1 x2 x3 x4 Min Ratio
Coefficient Variables Value xB /x1
cB B b(= xB )
2 x2 15/7 – 1/7 1 0 0 –
3 x3 25/7 3/7 0 1 0 25/7 × 7/3 = 25/3
–1 x4 15/7 6/7 0 0 1 15/7 × 7/6 = 15/6 →
Z = 90/7 zj 1/7 2 3 –1
cj – zj 6/7 0 0 0 Table 4.32
Improved Solution
↑
Once again, the solution shown in Table 4.32 is not optimal as c1 – z1 > 0 in x1-column. Thus, applying
the following row operations for replacing non-basic variable x1 in the basis with basic variable x4:
In Table 4.28, since all cj – zj ≤ 0, therefore, an optimal solution is arrived at with value of variables
as: x1 = 15/6, x2 = 15/6, x3 = 15/6 and Max Z = 15.
Example 4.9 ABC Printing Company is facing a tight financial squeeze and is attempting to cut costs
wherever possible. At present it has only one printing contract, and luckily, the book is selling well in both the
hardcover and the paperback editions. It has just received a request to print more copies of this book in either
the hardcover or the paperback form. The printing cost for the hardcover books is Rs 600 per 100 books while
that for paperback is only Rs 500 per 100. Although the company is attempting to economize, it does not wish
to lay off any employee. Therefore, it feels obliged to run its two printing presses – I and II, at least 80 and 60
hours per week, respectively. Press I can produce 100 hardcover books in 2 hours or 100 paperback books in 1
hour. Press II can produce 100 hardcover books in 1 hour or 100 paperbacks books in 2 hours. Determine how
many books of each type should be printed in order to minimize costs.
Solution Let x1 and x2 be the number of batches containing 100 hard cover and paperback books, to
be printed respectively. The LP problem can then be formulated as follows.
Minimize Z = 600x1 + 500x2
subject to the constraints
(i) 2x1 + x2 ≥ 80, (ii) x1 + 2x2 ≥ 60 (Printing press hours)
and x1, x2 ≥ 0
Standard form Adding surplus variables s1, s2 and artificial variables A1, A2 in the the constraints, the
standard form of the LP problem becomes
124 Operations Research: Theory and Applications
In Table 4.36, all cj – zj ≥ 0 and no artificial variable is present in the basis (solution mix). Hence, an
optimum solution is arrived at with x1 = 100/3 batches of hardcover books, x2 = 40/3 batches of paperback
books, at a total minimum cost, Z = Rs. 80,000/3.
Example 4.10 An advertising agency wishes to reach two types of audiences: Customers with annual
income greater than Rs 15,000 (target audience A) and customers with annual income less than Rs 15,000
(target audience B). The total advertising budget is Rs 2,00,000. One programme of TV advertising costs
Rs 50,000; one programme on radio advertising costs Rs 20,000. For contract reasons, at least three
programmes ought to be on TV, and the number of radio programmes must be limited to five. Surveys
indicate that a single TV programme reaches 4,50,000 customers in target audience A and 50,000 in target
Linear Programming: The Simplex Method 125
audience B. One radio programme reaches 20,000 in target audience A and 80,000 in target audience B.
Determine the media mix to maximize the total reach. [Delhi Univ., MBA, 2000]
Solution Let x1 and x2 be the number of insertions in TV and radio, respectively. The LP problem can
then be formulated as follows:
Maximize (total reach) Z = (4,50,000 + 50,000) x1 + (20,000 + 80,000) x2
= 5,00,000 x1 + 1,00,000 x2 = 5x1 + x2
subject to the constraints
(i) 50,000 x1 + 20,000 x2 ≤ 2,00,000 or 5x1 + 2x2 ≤ 20 (Advt. budget)
(ii) x1 ≥ 3 (Advt. on TV) (iii) x2 ≤ 5 (Advt. on Radio)
and x1, x2 ≥ 0.
Standard form Adding slack/surplus and/or artificial variables in the constraints of LP problem. Then
standard form of given LP problem becomes
Maximize Z = 5x1 + x2 + 0s1 + 0s2 + 0s3 – MA1
subject to the constraints
(i) 5x1 + 2x2 + s1 = 20, (ii) x1 – s2 + A1 = 3, (iii) x2 + s3 = 5
and x1, x2, s1, s2, s3, A1 ≥ 0
Solution by simplex method An initial basic feasible solution: s1 = 20, A1 = 3, s3 = 5 and Max Z = – 3M
obtained by putting x1 = x2 = s2 = 0 is shown in simplex Table 4.37.
cj → 5 1 0 0 0 –M
Basic Variables Basic Basic Variables x1 x2 s1 s2 s3 A1 Min Ratio
Coefficient Variables Value xB/x1
cB B b(= xB )
0 s1 20 5 2 1 0 0 0 20/5 = 4
–M A2 3 1 0 0 –1 0 1 3/1 = 3 →
0 s3 5 0 1 0 0 1 0 —
Z = – 3M zj –M 0 0 M 0 –M
Table 4.37
cj – zj M+5 1 0 –M 0 0
Initial Solution
↑
The c1 – z1 value in x1-column of Table 4.37 is the largest positive value. The non-basic variable x1
is chosen to replace basic variable A1 in the basis. For this apply following row operations
R2 (new) → R2 (old) ÷ 1 (key element); R1 (new) → R1 (old) – 5R2 (new)
to get the improved basic feasible solution as shown in Table 4.38.
cj → 5 1 0 0 0
cj → 5 1 0 0 0
Basic Variables Basic Basic Variables x1 x2 s1 s2 s3
Coefficient Variables Value
cB B b(= xB )
0 s2 1 0 2/5 1/5 1 0
5 x1 4 1 2/5 1/5 0 0
0 s3 5 0 1 0 0 1
Table 4.39 Z = 20 zj 5 2 1 0 0
Optimal Solution c j – zj 0 – 1 – 1 0 0
Since all cj – zj ≥ 0 in Table 4.39, the total reach of target audience cannot be increased further. Hence,
the optimal solution is: x1 = 4 insertions in TV and x2= 0 in radio with Max (total audience) Z = 20,00,000.
Example 4.11 An Air Force is experimenting with three types of bombs P, Q and R in which three kinds of
explosives, viz., A, B and C will be used. Taking the various factors into account, it has been decided to use the
maximum 600 kg of explosive A, at least 480 kg of explosive B and exactly 540 kg of explosive C. Bomb P requires
3, 2, 2 kg, bomb Q requires 1, 4, 3 kg and bomb R requires 4, 2, 3 kg of explosives A, B and C respectively. Bomb
P is estimated to give the equivalent of a 2 ton explosion, bomb Q, a 3 ton explosion and bomb R, a 4 ton
explosion respectively. Under what production schedule can the Air Force make the biggest bang?
Solution Let x1, x2 and x3 be the number of bombs of type P, Q and R to be experimented, respectively.
Then the LP problem can be formulated as:
Maximize Z = 2x1 + 3x2 + 4x3
subject to the constraints
(i) Explosive A : 3x1 + x2 + 4x3 ≤ 600, (ii) Explosive B : 2x1 + 4x2 + 2x3 ≥ 480,
(iii) Explosive C : 2x1 + 3x2 + 3x3 = 540,
and x1, x2, x3 ≥ 0.
Standard form Adding slack, surplus and artificial variables in the constraints of LP problem, the standard
form of LP problem becomes:
Maximize Z = 2x1 + 3x2 + 4x3, + 0s1 + 0s2 – MA1 – MA2
subject to the constraints
(i) 3x1 + x2 + 4x3 + s1 = 600, (ii) 2x1 + 4x2 + 2x3 – s2 + A1 = 480, (iii) 2x1 + 3x2 + 3x3 + A2 = 540,
and x1, x2, x3 s1, s2, A1, A2 ≥ 0.
Solution by simplex method The initial basic feasible solution: s 1 = 600, A 1 = 480, A 2 = 540,
Max Z = –1,020 M obtained by putting basic variables x1 = x2 = s2 = 0 is shown in Table 4.40.
cj Æ 2 3 4 0 0 –M –M
Basic Variables Basic Basic Variables x1 x2 x3 s1 s2 A1 A2 Min Ratio
Coefficient Variables Value xB /x2
cB B b (= xB)
0 s1 600 3 1 4 1 0 0 0 600/1
–M A1 480 2 4 2 0 –1 1 0 480/4 →
–M A2 540 2 3 3 0 0 0 1 540/3
Z = 1,020 M zj – 4M – 7M – 5M 0 M –M –M
Table 4.40 cj – zj 2 + 4M 3 + 7M 4 + 5M 0 –M 0 0
Initial Solution ↑
Since in Table 4.40, c2 – z2 value in x2–column is largest positive, non-basic variable x2 is chosen to replace
basic variable A1 in the basis. For this, apply the following row operations:
R2(new) → R2(old) × (1/4) (key element); R1(new) → R1(old) – R2(new);
R3(new) → R3(old) – 3R2(new)
to get the improved basic feasible solution as shown in Table 4.41.
Linear Programming: The Simplex Method 127
cj Æ 2 3 4 0 0 –M
Basic Variables Basic Basic Variables x1 x2 x3 s1 s2 A1 Min Ratio
Coefficient Variables Value xB /x3
cB B b (= xB)
0 s1 480 5/2 0 7/2 1 1/4 0 960/7
3 x2 120 1/2 1 1/2 0 –1/4 0 240
–M A1 180 1/3 0 3/2 0 3/4 1 120 →
Z = 360 – 180M zj 3/2 – M/2 3 3/2 – 3M/2 0 –3/4 – 3M/4 –M
cj – zj 1/2 + M/2 0 5/2 + 3M/2 0 3/4 + 3M/4 0 Table 4.41
↑ Improved Solution
In Table 4.41, c3 – z3 value in x3-column is largest positive, non-basic variable x3 is chosen to replace basic
variable A2 into the basis. For this, apply following row operations:
R3(new) → R3(old) × (2/3) (key element); R1(new) → R1(old) – (7/2) R3(new);
R2(new) → R2(old) – (1/2) R3(new).
to get the improved basic feasible solution as shown in Table 4.42.
cj Æ 2 3 4 0 0
0 s1 60 4/3 0 0 1 –3/2
3 x2 60 1/3 1 0 0 –1/2
4 x3 120 1/3 0 1 0 1/2
Z = 660 zj 7/3 3 4 0 1/2 Table 4.42
cj – zj –1/3 0 0 0 –1/2 Optimal Solution
In Table 4.42, all cj – zj ≤ 0 and artificial variables A1 and A2 have been removed from the basis (solution
mix). Thus, an optimal solution is arrived at with x1 = 0 bombs of type P, x2 = 60 bombs of type Q, x3 = 120 bombs
of type R, at largest benefit of Z = 660.
1. A television company has three major departments for manufac- M3 and Belt C requires 5 hours on machine M2 and 4 hours on
turing two of its models – A and B. The monthly capacities of machine M3. There are 8 hours of time per day available on
the departments are given as follows: machine M1, 10 hours of time per day available on machine M2
and 15 hours of time per day available on machine M3. The profit
Per Unit Time gained from belt A is Rs 3.00 per unit, from Belt B is Rs 5.00
Requirement (hours) Hours Available per unit, from belt C is Rs 4.00 per unit. What should be the daily
Model A Model B this Month production of each type of belt so that the products yield the
maximum profit?
Department I 4.0 2.0 1,600 3. A company produces three products A, B and C. These
Department II 2.5 1.0 1,200 products require three ores O1, O2 and O3. The maximum
Department III 4.5 1.5 1,600 quantities of the ores O1, O2 and O3 available are 22 tonnes,
14 tonnes and 14 tonnes, respectively. For one tonne of each
The marginal profit per unit from model A is Rs 400 and from of these products, the ore requirements are:
model B is Rs 100. Assuming that the company can sell any
quantity of either product due to favourable market conditions, A B C
determine the optimum output for both the models, the highest
O1 3 – 3
possible profit for this month and the slack time in the three
departments. O2 1 2 3
O3 3 2 3
2. A manufacturer of leather belts makes three types of belts A,
Profit per tonne 1 4 5
B and C which are processed on three machines M1, M2 and
(Rs in thousand)
M3. Belt A requires 2 hours on machine M1 and 3 hours on
machine M2 and 2 hours on machine M3. Belt B requires 3 hours The company makes a profit of Rs 1,000, 4,000 and 5,000 on
on machine M1, 2 hours on machine M2 and 2 hours on machine each tonne of the products A, B and C, respectively. How many
128 Operations Research: Theory and Applications
tonnes of each product should the company produce in order 7. Mr Jain, the marketing manager of ABC Typewriter Company is
to maximize its profits. trying to decide how he should allocate his salesmen to the
4. A manufacturing firm has discontinued the production of a company’s three primary markets. Market I is in the urban area
certain unprofitable product line. This has created considerable and the salesman can sell, on the average, 40 typewriters a
excess production capacity. Management is considering to week. Salesmen in the other two markets, II and III can sell, on
devote this excess capacity to one or more of three products; the average, 36 and 25 typewriters per week, respectively. For
call them product 1, 2 and 3. The available capacity on the the coming week, three of the salesmen will be on vacation,
machines that might limit output is summarized in the following leaving only 12 men available for duty. Also because of lack of
table: company care, a maximum of 5 salesmen can be allocated to
market area I. The selling expenses per week for salesmen in
Machine Type Available Time each area are Rs 800 per week for area I, Rs 700 per week
(in Machine-hours per Week) for area II, and Rs 500 per week for area III. The budget for
the next week is Rs 7,500. The profit margin per typewriter is
Milling Machine 250 Rs 150. Determine how many salesmen should be assigned to
Lathe 150 each area in order to maximize profits?
Grinder 50 8. Three products – A, B and C – are produced in three machine
centres X, Y and Z. All three products require a part of their
The number of machine-hours required for each unit of the manufacturing operation at each of the machine centres. The
respective product is as follows: time required for each operation on various products is indicated
in the following table. Only 100, 77 and 80 hours are available
Machine Type Productivity at machine centres X, Y and Z, respectively. The profit per unit
(in Machine-hours per Unit) from A, B and C is Rs 12, Rs 3 and Re 1, respectively.
10. A blender of whisky imports three grades A, B and C. He mixes 15. A marketing manager wishes to allocate his annual advertising
them according to the recipes that specify the maximum or budget of Rs 2,00,000 to two media vehicles – A and B. The
minimum percentages of grades A and C in each blend. These unit cost of a message in media A is Rs 1,000 and that of B
are shown in the table below. is Rs 1,500. Media A is a monthly magazine and not more than
one insertion is desired in one issue, whereas at least five
Blend Specification Price per Unit messages should appear in media B. The expected audience for
(Rs) unit messages in media A is 40,000 and that of media B is
55,000. Develop an LP model and solve it for maximizing the
Blue Dot Not less than 60% of A 6.80
total effective audience.
Not more than 20% of C
16. A transistor radio company manufactures four models A, B, C
Highland Not more than 60% of C 5.70
and D. Models A, B and C, have profit contributions of Rs 8, Rs
Fling Not less than 15% of A 15 and Rs 25 respectively and has model D a loss of Re 1.
Old Frenzy Not more than 50% of C 4.50 Each type of radio requires a certain amount of time for the
manufacturing of components, for assembling and for packing.
Following are the supplies of the three whiskies along with their
A dozen units of model A require one hour for manufacturing,
cost.
two hours for assembling and one hour for packing. The
Whisky Maximum Quantity Cost per corresponding figures for a dozen units of model B are 2, 1 and
Available per Day Unit (Rs) 2, and for a dozen units of C are 3, 5 and 1. A dozen units of
model D however, only require 1 hour of packing. During the
A 2,000 7.00 forthcoming week, the company will be able to make available
B 2,500 5.00 15 hours of manufacturing, 20 hours of assembling and 10
C 1,200 4.00 hours of packing time. Determine the optimal production sched-
ule for the company.
Show how to obtain the first matrix in a simplex computation of
a production policy that will maximize profits. 17. A transport company is considering the purchase of new
11. An animal feed company must produce on a daily basis 200 kg vehicles for providing transportation between the Delhi Airport
of a mixture that consists ingredients x1 and x2 ingredient. x1 and hotels in the city. There are three vehicles under consid-
costs Rs 3 per kg and x2 costs Rs 8 per kg. Not more than eration: Station wagons, minibuses and large buses. The pur-
80 kg of x1 can be used and at least 60 kg of x2 must be used. chase price would be Rs 1,45,000 for each station wagon, Rs
Find out how much of each ingredient should be used if the 2,50,000 for each minibus and Rs 4,00,000 for each large bus.
company wants to minimize costs. The board of directors has authorized a maximum amount of Rs
50,00,000 for these purchases. Because of the heavy air travel,
12. A diet is to contain at least 20 ounces of protein and 15 ounces
the new vehicles would be utilized at maximum capacity,
of carbohydrate. There are three foods A, B and C available in the
regardless of the type of vehicles purchased. The expected net
market, costing Rs 2, Re 1 and Rs 3 per unit, respectively. Each
annual profit would be Rs 15,000 for the station wagon,
unit of A contains 2 ounces of protein and 4 ounces of carbohy-
Rs 35,000 for the minibus and Rs 45,000 for the large bus. The
drate; each unit of B contains 3 ounces of protein and 2 ounces
company has hired 30 new drivers for the new vehicles. They
of carbohydrate; and each unit of C contains 4 ounces of protein
are qualified drivers for all three types of vehicles. The mainte-
and 2 ounces of carbohydrate. How many units of each food
nance department has the capacity to handle an additional 80
should the diet contain so that the cost per unit diet is minimum?
station wagons. A minibus is equivalent to 1.67 station wagons
13. A person requires 10, 12 and 12 units of chemicals A, B and C, and each large bus is equivalent to 2 station wagons in terms
respectively for his garden. A typical liquid product contains 5, 2 of their use of the maintenance department. Determine the
and 1 unit of A, B and C, respectively per jar. On the other hand number of each type of vehicle that should be purchased in
a typical dry product contains 1, 2 and 4 units of A, B and C per order to maximize profit.
unit. If the liquid product sells for Rs 3 per jar and the dry product
18. Omega Data Processing Company performs three types of activi-
for Rs 2 per carton, how many of each should be purchased in
ties: Payroll, accounts receivables, and inventories. The profit and
order to minimize the cost and meet the requirement?
time requirement for keypunch, computation and office printing, for
14. A scrap metal dealer has received an order from a customer a standard job, are shown in the following table:
for a minimum of 2,000 kg of scrap metal. The customer
requires that at least 1,000 kg of the shipment of metal be of Job Profit/ Time Requirement (Min)
high quality copper that can be melted down and used to Standard
produce copper tubing. Furthermore, the customer will not
Job (Rs) Keypunch Computation Printing
accept delivery of the order if it contains more than 175 kg metal
that he deems unfit for commercial use, i.e. metal that contains Payroll 275 1,200 20 100
an excessive amount of impurities and cannot be melted down
A/c Receivable 125 1,400 15 60
and refined profitably.
Inventory 225 800 35 80
The dealer can purchase scrap metal from two different suppli-
ers in unlimited quantities with following percentages (by weight) Omega guarantees overnight completion of the job. Any job
of high quality copper and unfit scrap. scheduled during the day can be completed during the day or
night. Any job scheduled during the night, however, must be
Supplier A Supplier B
completed during the night. The capacities for both day and night
Copper 25% 75% are shown in the following table:
Unfit scrap 5% 10%
Capacity (Min) Keypunch Computation Print
The cost per kg of metal purchased from supplier A and B are Re 1
and Rs 4, respectively. Determine the optimal quantities of metal to Day 4,200 150 400
be purchased for the dealer from each of the two suppliers. Night 9,200 250 650
130 Operations Research: Theory and Applications
Determine the mixture of standard jobs that should be accepted The sales revenue per unit of waste cans, filing cabinets,
during the day and night. correspondence boxes and lunch boxes are Rs 20, Rs 400,
Rs 90 and Rs 20, respectively. There are 225 units of sheet
19. A furniture company can produce four types of chairs. Each chair
metal A available in the company’s inventory, 300 of sheet metal
is first made in the carpentry shop and then furnished, waxed and
B, and a total of 190 units of manual labour. What is the
polished in the finishing shop. The man-hours required in each are:
company’s optimal sales revenue?
Chair Type [Delhi Univ., MBA, 2003, 2005]
21. A company mined diamonds in three locations in the country. The
1 2 3 4
three mines differed in terms of their capacities, number, weight
Carpentry shop 4 9 7 10 of stones mined, and costs. These are shown in the table below:
Due to marketing considerations, a monthly production of exactly
Finishing shop 1 1 3 40
1,48,000 stones was required. A similar requirement called for at
Contribution per chair (Rs) 12 20 18 40 least 1,30,000 carats (The average stone size was at least 130/148
= 0.88 carats). The capacity of each mine is measured in cubic
The total number of man-hours available per month in carpentry meter. The mining costs are not included from the treatment costs
and finishing shops are 6,000 and 4,000, respectively. and assume to be same at each mine. The problem for the company
Assuming an abundant supply of raw material and an abundant was to meet the marketing requirements at the least cost.
demand for finished products, determine the number of each
type of chairs that should be produced for profit maximization. Capacity Treatment Crude Stone Count
20. A metal products company produces waste cans, filing cabinets, (M 3 of Costs (Carats (Number of
file boxes for correspondence, and lunch boxes. Its inputs are Mine earth (Rs. per M 3) per M 3) stone per
sheet metal of two different thickness, called A and B, and processed) M 3)
manual labour. The input-output relationship for the company are
shown in the table given below: Plant 1 83,000 0.60 0.360 0.58
Plant 2 3,10,000 0.36 0.220 0.26
Waste Filing Correspondence Lunch Plant 3 1,90,000 0.50 0.263 0.21
Cans Cabinets Boxes Boxes
Formulate a linear programming model to determine how much
Sheet metal A 6 0 2 3 should be mined at each location.
Sheet metal B 0 10 0 0
Manual labour 4 8 2 3
1. Let x1 and x2 = units of models A and B to be manufactured, 4. Let x1, x2 and x3 = number of units of products 1, 2 and 3
respectively. to be produced per week, respectively.
Max Z = 400x1 + 400x2 Max Z = 20x1 + 6x2 + 8x3
subject to 4x1 + 2x2 ≤ 1,600 subject to 8x1 + 2x2 + 3x3 ≤ 250
5x1/2 + x2 ≤ 1,200 4x1 + 3x2 ≤ 150
9x1/2 + 3x2/2 ≤ 1,600 2x1 + x3 ≤ 50
and x1 , x 2, x3 ≥ 0
and x1 , x 2 ≥ 0
Ans. x1 = 0, x2 = 50, x3 = 50 and Max Z = 700.
Ans. x1 = 355.5, x2 = 0 and Max Z = 1,42,222.2.
5. Let x1, x2 and x3 = acreage of corn, wheat and soyabean,
2. Let x1, x2 and x3 = units of types A, B and C belt to be
respectively.
manufactured, respectively.
Max Z = 30x1 + 40x2 + 20x3
Max Z = 3x1 + 5x2 + 4x3
subject to 10x1 + 12x2 + 7x3 ≤ 10,000
subject to 2x1 + 3x2 ≤ 8
7x1 + 10x2 + 8x3 ≤ 8,000
2x2 + 5x3 ≤ 10
3x1 + 2x2 + 4x3 ≤ 15 x1 + x2 + x3 ≤ 1,000
and x1, x2, x 3 ≥ 0 and x1 , x 2, x3 ≥ 0
Ans. x1 = 89/41, x2 = 50/41 x3 = 64/41 and Max Z = 775/41. Ans. x1 = 250, x2 = 625, x3 = 0 and Max Z = Rs 32,500.
6. Let x1, x2 and x3 = number of units of chair of styles A, B
3. Let x1, x2 and x3 = quantity of products A, B and C to be and C, respectively.
produced, respectively.
Max Z = 40x1 + 35x2 + 30x3
Max Z = x1 + 4x2 + 5x3
subject to 2x1 + 3x2 + 2x3 ≤ 120
subject to 3x1 + 3x2 ≤ 22 4x1 + 3x2 + x3 ≤ 160
x1 + 2x2 + 3x3 ≤ 14 3x1 + 2x2 + 4x3 ≤ 100
3x1 + 2x2 ≤ 14 x1 + x2 + x3 ≤ 40
and x1, x2, x 3 ≥ 0 and x1 , x 2, x3 ≥ 0
Ans. x1 = 0, x2 = 7, x3 = 0 and Max Z = Rs 28,000. Ans. x1 = 20, x2 = 20, x3 = 0 and Max Z = Rs 1,500.
Linear Programming: The Simplex Method 131
7. Let x1, x2 and x3 = salesman assigned to area, 1, 2 and 3, subject to (i) x1 + 2x2 + 3x3 = 15; (ii) 2x1 + x2 + 5x3 = 20
respectively. (iii) x1 + 2x2 + x3 + x4 = 10
Max. Z = 40 × 150x1 + 36 × 150x2 + 25 × 150x3 and x1, x 2, x 3 , x 4 ≥ 0
– (800x1 + 700x2 + 500x3) Ans. x1 = 5/2, x2 = 5/2, x3 = 5/2, x4 = 0 and Max Z = 120.
subject to (i) x1 + x2 + x3 ≤ 12; (ii) x1 ≤ 5;
17. Let x1, x2 and x3 = number of station wagons, minibuses and
(iii) 800x1 + 700x2 + 500x3 ≤ 7,500 large buses to be purchased, respectively.
and x1, x 2, x3 ≥ 0 Max Z = 15,000x1 + 35,000x2 + 45,000x3
11. Let x and y = number of kg of ingredients x1, x2, respectively. subject to x1 + x2 + x3 ≤ 30
Min (total cost) Z = 3x + 8y 1,45,000x1 + 2,50,000x2 + 4,00,000x3 ≤ 50,00,000
subject to (i) x + y = 200; (ii) x ≤ 80; (iii) y ≥ 60 x1 + 1.67x2 + 0.5x3 ≤ 80
and x, y ≥ 0 and x1, x2 , x3 ≥ 0
Ans. x = 80, y = 120 and Min Z = Rs 1,200.
18. Let xij represents ith job and jth activity
12. Let x1, x2 and x3 = number of units of food A, B and C,
Max Z = 275 (x11 + x12 ) + 125(x21 + x22 ) + 225 (x31 + x32 )
respectively which a diet must contain.
subject to
Min (total cost ) Z = 2x1 + x2 + x3
1,200 (x11 + x12 ) + 1,400 (x21 + x22 )
subject to 2x1 + 2x2 + 4x3 ≥ 20
+ 800 (x31 + x32 ) ≤ 13,400
4x1 + 2x2 + 2x3 ≥ 15
20 (x11 + x12 ) + 15 (x21 + x22 ) + 35 (x31 + x32 ) ≤ 400
and x1, x2, x3 ≥ 0
100 (x11 + x12 ) + 60 (x21 + x22 ) + 80 (x31 + x32 ) ≤ 1,050
13. Let x1 and x2 = number of units of liquid and dry product
produced, respectively. 1,200x12 + 1,400x22 + 800x32 ≤ 9,200
Min (total cost) Z = 3x1 + 2x2 20x12 + 15x22 + 35x32 ≤ 250
subject to (i) 5x1 + x2 ≥ 10; (ii) 2x1 + 2x2 ≥ 12; 100x12 + 60x22 + 80x32 ≤ 650
(iii) x1 + 4x2 ≥ 12 and xij ≥ 0 for all i, j
and x1, x 2 ≥ 0 19. Let x1, x2, x3 and x4 = chair types 1, 2, 3 and 4 to be produced,
Ans. x1 = 1, x2 = 5 and Min Z = 13. respectively.
14. Let x1 and x2 = number of scrap (in kg) purchased from Max Z = 12x1 + 20x2 + 18x3 + 40x4
suppliers A and B, respectively.
subject to 4x1 + 9x2 + 7x3 + 10x4 ≤ 6,000
Min (total cost) Z = x1 + 4x2
x1 + x2 + 3x3 + 40x4 ≤ 4,000
subject to 2.25x1 + 0.75x2 ≥ 1,000
0.05x1 + 0.10x2 ≥ 175 and x1, x2, x3 , x4 ≥ 0
x1 + x2 ≥ 2,000 Ans. x1 = 4,000/3, x2 = x3 = 0, x4 = 200/3 and Max Z =
and x1, x 2 ≥ 0 Rs 56,000/3.
Ans. x1 = 2,500, x2 = 500 and Min Z = 4,500. 21. Let x1, x2 and x3 = cubic metric of earth processed at plants
15. Let x1 and x2 = number of insertions messages for media A and 1, 2 and 3, respectively.
B, respectively. Min Z = 0.60x1 + 0.36x2 + 0.50x3
Min (total effective audience) Z = 40,000x1 + 55,000x2 subject to
subject to (i) 1,000x1 + 1500x2 ≤ 2,00,000; 0.58x1 + 0.26x2 + 0.21x3= 1,48,000 (Stone count requirement)
(ii) x1 ≤ 12; (iii) x2 ≥ 5
0.36x1 + 0.22x2 + 0.263x3≤ 1,30.000 (Carat requirement)
and x1, x 2 ≥ 0
x1 ≤ 83,000; x2 ≤ 3,10,000;
Ans. x1 = 12, x2 = 16/3 and Max Z = 77,3333.33.
16. Let x1, x2, x3 and x4 = unit of models A, B, C and D to be x3 ≤ 1,90,000 (Capacity requirement)
produce, respectively. Ans. x1 = 61,700; x2 = 3,10,000; x3 = 1,50,500
Max (total income) Z = 8x1 + 15x2 + 25x3 – x4 and Min Z = Rs 2,23,880.
assume positive, negative or zero value are called unrestricted variables. Since use of the simplex method
requires that all the decision variables must have non-negative value at each iteration, therefore in order to
convert an LP problem involving unrestricted variables into an equivalent LP problem having only non-
negative variables, each of unrestricted variable is expressed as the difference of two non-negative variables.
Let variable xr be unrestricted in sign. We define two new variables say xr′ and xr′′ such that
xr = xr′ – xr′′ ; xr′ , xr′′ ≥ 0
If xr′ ≥ xr′′ , then xr ≥ 0, but and if xr′ ≤ xr′′ , then xr ≤ 0. Also if xr′ = xr′′ , then xr = 0. Hence depending on the
value of xr′ and xr′′ , the variable xr can have either positive or negative sign. For example, the following LP
problem
n
Maximize Z = ∑ c j x j + cr xr
j≠r
An unrestricted subject to the constraints
variable in an LP
model can have n
either positive, ∑ a ij x j + air xr = bi , i = 1, 2, . . ., m
negative or zero j≠r
value. and xj ≥ 0, and xr unrestricted in sign; j = 1, 2, . . ., n, j ≠ r;
can be converted into its equivalent standard form as follows:
n
Maximize Z = ∑ cj xj + c r ( x r′ + x r′′ )
j≠r
Example 4.12 Use the simplex method to solve the following LP problem.
Maximize Z = 3x1 + 2x2 + x3
subject to the constraints
(i) 2x1 + 5x2 + x3 = 12, (ii) 3x1 + 4x2 = 11
and x2, x3 ≥ 0, and x1 unrestricted [Bombay, BSc (Maths), 2001]
Solution Introducing an artificial variable A1 in the second constraint of the given LP problem in order
to obtain the basis matrix as shown in Table 4.43. Since x1 is unrestricted in sign, introducing the non-
negative variables x1′ and x 2′′ so that x1 = x1′ – x1′′ , where x1′ , x1′′ ≥ 0. The standard form of the LP
problem now becomes:
Maximize Z = 3 ( x1′ – x1′′ ) + 2x2 + x3 – MA1
subject to the constraints
(i) 2 ( x1′ − x1′′ ) + 5x2 + x3 = 12, (ii) 3 ( x1′ − x1′′ ) + 4x2 + A1 = 11
and x1′ , x1′′ , x2, x3 , A1 ≥ 0
The initial solution is shown in Table 4.43.
Linear Programming: The Simplex Method 133
cj → 3 – 3 2 1 – M
In Table 4.43, c3 – z3 is the largest positive value, the non-basic variable x2 is chosen to enter into
the basis to replace basic variable x3 in the basis. For this, apply the following row operations:
R1 (new) → R1 (old)/5 (key element) R2 (new) → R2 (old) – 4R1 (new).
to get an improved solution shown in Table 4.44.
cj → 3 –3 2 1 –M
In Table 4.44, as c1 – z1 in x'1-column is positive, the non-basic variable x'1 is chosen to enter into
the basis to replace basic variable A1 in the basis. For this, apply the following row operations:
R2 (new) → R2 (old) × (5/7) (key element); R1 (new) → R1 (old) – (2/5) R2 (new).
to get an improved solution shown in Table 4.45.
cj → 3 –3 2 1
Z = 7 zj 3 – 3 2 – 6/7
cj – zj 0 0 0 13/7 Table 4.45
Improved Solution
↑
Further, in order to improve the solution given in Table 4.45, the non-basic variable x3 is chosen to
enter into the basis and remove basic variable x2 from the basis. For this, apply the following row
operations:
R1 (new) → R1 (old ) × (7/3) (key element); R2 (new) → R2 (old) + (4/7) R1 (new)
cj → 3 – 3 2 1
Since in Table 4.46 all cj – zj ≤ 0, an optimal solution: x1′ = 11/3 or x1 = x1′ – x1′′ = 11/3 – 0 = 11/3;
x3 = 14/3 is arrived with Max Z = 47/3.
The initial basic feasible solution is given in Table 4.47. Since c2 – z2 = 9 is the largest positive value,
therefore, variable x2 is selected to be entered into the basis. However, both variables s1 and s2 are eligible
to leave the basis as the minimum ratio is same, i.e. 2, so there is a tie among the ratio in rows s1 and s2.
This causes the problem of degeneracy. To obtain the key row for resolving degeneracy, apply the following
procedure:
(i) Write the coefficients of the slack variables as shown in Table 4.47.
cj → 3 9 0 0
Basic Variables Basic Basic Variables x1 x2 s1 s2 Min Ratio
Coefficient Variables Value xB/x2
B b(= xB )
0 s1 8 1 4 1 0 8/4 = 2
0 s2 4 1 2 0 1 4/2 = 2
Z = 0 zj 0 0 0 0
cj – zj 3 9 0 0 Table 4.47
↑ Initial Solution
x2-column Column
Row (Key Column) s1 s2
s1 4 1 0
s2 2 0 1
(ii) Dividing the coefficients of slack variables s1 and s2 by the corresponding elements in the key
column as shown below in the table.
x2-column Column
Row (Key Column) s1 s2
(iii) Comparing the ratios of Step (ii) from left to right columnwise, the minimum ratio (i.e., 0/2 = 0)
occurs in the s2-row. Thus, variable s2 is selected to leave the basis. The new solution is shown
in Table 4.48.
cj → 3 9 0 0
Basic Variables Basic Basic Variables x1 x2 s1 s2
Coefficient Variables Value
B b(= xB)
0 s1 0 –1 0 1 –2
9 x2 2 1/2 1 0 1/2
Z = 18 zj 9/2 9 0 9/2 Table 4.48
cj – zj – 3/2 0 0 – 9/2 Optimal Solution
In Table 4.48, all cj – zj ≤ 0. Hence, an optimal solution is arrived at. The optimal basic feasible solution
is: x1 = 0, x2 = 2 and Max Z = 18.
In Table 4.49, c2 – z2 = 0 corresponds to a non-basic variable, x2. Thus, an alternative optimal solution
can also be obtained by entering variable x2 into the basis and removing basic variable, s1 from the basis.
The new solution is shown in Table 4.50.
cj → 6 4 0 0 0
Basic Variables Basic Basic Variables x1 x2 s1 s2 s3
Coefficient Variables Value
B b(= xB )
The optimal solution shown in Table 4.50 is: x1 = 12/5, x2 = 42/5 and Max Z = 48. Since this optimal
solution shows no change in the value of objective function, it is an alternative solution.
Once again, c3 – z3 = 0 corresponds to non-basic variable, s1. This again indicates that an alternative
optimal solution exists. The infinite number of solutions that can be obtained for this LP problem are as
follows:
Linear Programming: The Simplex Method 137
1 2
x1 8 12/5 x1 = 8λ + (12/5) (1 – λ)
x2 0 42/5 x2 = 0λ + (42/5) (1 – λ)
s1 14 0 s1 = l4 λ + (0) (1 – λ)
s3 5 39/5 s3 = 5λ + (39/5) (1 – λ)
For each arbitrary value of λ, the value of objective function will remain same.
Solution Adding slack variables s1, s2, surplus variable s3 and artificial variable A1 in the constraint set. Unbounded
Then the standard form of LP problem becomes solution occurs
when value of
Maximize Z = 3x1 + 5x2 + 0s1 + 0s2 + 0s3 – MA1 decision variables in
the solution of LP
subject to the constraints problem becomes
(i) x1 – 2x2 + s1 = 6, (ii) x1 + s2 = 10, (iii) x2 – s3 + A1 = 1 infinitely large
without violating any
and x1, x2, s1, s2, s3, A1 ≥ 0 given constraints.
The initial solution to this LP problem is shown in Table 4.51.
cj → 3 5 0 0 0 – M
0 s1 6 1 – 2 1 0 0 0 –
0 s2 10 1 0 0 1 0 0 –
– M A1 1 0 1 0 0 – 1 1 1 →
Z = – M zj 0 – M 0 0 M – M
c j – zj 3 5 + M 0 0 – M 0 Table 4.51
Initial Solution
↑
Iteration 1: Since c2 – z2 ≥ 0, non-basic variable x2 is chosen to enter into the basis in place of basic variable
A1. The new solution is shown in Table 4.52.
138 Operations Research: Theory and Applications
cj → 3 5 0 0 0 –M
0 s1 8 1 0 1 0 – 2 2
0 s2 10 1 0 0 1 0 0
5 x2 1 0 1 0 0 – 1 1
Z = 5 zj 0 5 0 0 – 5 5
Table 4.52 cj – zj 3 0 0 0 5 – M – 5
In Table 4.52, c5 – z5 = 5 is largest positive, so variable s3 should enter into the basis. But, coefficients
in the ‘s3’ column are all negative or zero. This indicates that s3 cannot be entered into the basis. However,
the value of s3 can be increased infinitely without removing any one of the basic variables. Further, since
s3 is associated with x2 in the third constraint, x2 will also be increased infinitely because it can be expressed
as x2 = 1 + s3 – A1. Hence, the solution to the given problem is unbounded.
6 s1 5 1 1 1 0 0 5/1 →
– M A1 8 0 1 0 –1 1 8/1
Z = 30 – 8M zj 6 6 – M 0 M – M
Table 4.53 cj – zj 0 – 2 + M 0 – M 0
Initial Solution
↑
Iteration 1: Since c2 – z2 = M – 2 (≥ 0), non-basic variable x2 is chosen to enter into the basis to replace basic
variable x1. The new solution is shown in Table 4.58.
Linear Programming: The Simplex Method 139
cj → 6 4 0 0 – M
4 x2 5 1 1 1 0 0
–M A1 3 –1 0 –1 –1 1 Table 4.54
Optimal but
Z = 20 – 3M zj 4 + M 4 4 + M M –M Infeasible
c j – zj 2 – M 0 – 4 – M –M 0 Solution
In table 5.44, since all cj – zj ≤ 0, the current solution is optimal. But this solution is not feasible for
the given LP problem because values of decision variables are: x1 = 0 and x2 = 5 violates second constraint,
x2 ≥ 8. The presence of artificial variable A1 = 3 in the solution also indicates that the optimal solution
violates the second constraint (x2 ≥ 8) by 3 units.
CONCEPTUAL QUESTIONS
1. Define slack and surplus variables in a linear programming 7. Explain what is meant by the terms degeneracy and cycling in
problem. linear programming? How can these problems be resolved?
2. Explain the various steps of the simplex method involved in the 8. Explain the term artificial variables and its use in linear programming.
computation of an optimum solution to a linear programming problem. 9. What are artificial variables? Why do we need them? Describe the
3. (a) Give outlines of the simplex method in linear programming. two-phase method of solving an LP problem with artificial variables.
(b) What is simplex? Describe the simplex method of solving 10. What is the significance of cj – zj numbers in the simplex table?
linear programming problem. Interpret their economic significance in terms of marginal worth.
(c) What do you understand by the term two-phase method of
11. What is meant by the term opportunity cost? How is this concept
solving linear programming problem?
used in designing a test for optimality?
(d) Outline the simplex method in linear programming. Why is
it called so? 12. How do the graphical and simplex methods of solving LP
(e) Explain the purpose and procedure of the simplex method. problems differ from each other? In what ways are they same?
4. What do you mean by an optimal basic feasible solution to a 13. How do maximization and minimization problems differ when
linear programming problem? applying the simplex method?
5. Given a general linear programming problem, explain how you 14. What is the reason behind the use of the minimum ratio test in
would test whether a basic feasible solution is an optimal solution selecting the key row? What might happen without it?
or not. How would you proceed to change the basic feasible 15. What conditions must exist in a simplex table to establish the
solution in case it is not optimal? existence of an alternative solution? No feasible solution? Un-
6. Explain the meaning of basic feasible solution and degenerate bounded solution? Degeneracy?
solution in a linear programming problem.
6. Solve the following LP problems to show that these have an unbounded solution.
(i) Max Z = – 2x1 + 3x2 (ii) Max Z = 3x1 + 6x2 (iii) Max Z = 107x1 + x2 + 2x3
subject to x1 ≤ 5 subject to 3x1 + 4x2 ≥ 12 subject to 14x1 + x2 – 6x3 + 3x4 = 7
2x1 – 3x2 ≤ 6 – 2x1 + x2 ≤ 4 16x1 + 0.5x2 – 6x3 ≤ 5
and x1 , x 2 ≥ 0 and x 1, x 2 ≥ 0 3x1 – x2 – x3 ≤ 0
and x1 , x 2 ≥ 0
(iv) Max Z = 6x1 – 2x2
subject to 2x1 – x2 ≤ 2
x1 ≤ 4
and x 1, x 2 , x 3, x 4 ≥ 0
7. Solve the following LP problems to show that these have no feasible solution.
(i) Max Z = 2x1 + 3x2 (ii) Max Z = 4x1 + x2 + 4x3 + 5x4 (iii) Max Z = x1 + 3x2
subject to x1 – x 2 ≥ 4 subject to 4x1 + 6x2 – 5x3 + 4x4 ≥ – 20 subject to x1 – x 2 ≥ 1
x1 + x 2 ≤ 6 3x1 – 2x2 + 4x3 + x4 ≤ 10 3x1 – x2 ≤ – 3
x1 ≤ 2 3x1 – 2x2 + 4x3 + x4 ≤ 10 and x1 , x 2 ≥ 0
and x 1, x 2 ≥ 0 8x1 – 3x2 – 3x3 + 2x4 ≤ 20
and x 1, x 2, x 3, x 4 ≥ 0
(iv) Max Z = 3x1 + 2x2
subject to 2x1 + x2 ≤ 2
3x1 + 4x2 ≥ 12
and x 1, x 2 ≥ 0
[Meerut, MSc (Maths), 2006]
(ii) At the current solution: x2 = 4, s1 = 4 and Max Z = 24, (iv) Optimal solution: x1 = 4, x2 = 6 and Max Z = 12. Since
it may be observed that c2 – z2 = 15 but all elements in in the initial simplex table all the elements are negative
the second column are negative. Solution is unbounded. in the second column, the feasible solution is unbounded
(iii) At second best solution, c3 – z3 = 113/3 but all elements but the optimal solution is bounded.
in the third column are negative. Solution is unbounded; 7. (i) x1 = 2, x2 = 0, A1 = 2 and M Max Z = 9 – 4M; Infeasible
x1 = 0, x4 = 7/3, s1 = 5 and Max Z = 0. solution.
(iv) x1 = 0, x2 = 2, A1 = 2 and Max Z = 4 – 4M; Infeasible
solution.
CHAPTER SUMMARY
The simplex method is an interactive procedure for reaching the optimal solution to any LP problem. It consists of a series of
rules that, in effect, algebraically examine corner (extreme) points of the solution space in a systematic way. Each step moves
towards the optimal solution by increasing profit or decreasing cost, while maintaining feasibility. The simplex method consists
of five steps: (i) identifying the pivot column, (ii) identifying the pivot row and key element, (iii) replacing the pivot row, (iv)
computing new values for each remaining row; and (v) computing the zj and cj – zj values and examining for optimality. Each
step of this iterative procedure is displayed and explained in a simplex table both for maximization and minimization LP problems.
True or False
1. The major difference between slack and artificial variables is that 15. The value for the replacing row must be ————— before
an artificial can never be zero. computing the values for the ————— rows.
2. If an optimal solution is degenerate, then there are alternate 16. Entries in the cj – zj rows are known as ————— costs.
optimal solutions of the LP problem. 17. Optimality is indicated for a maximization problem when all
3. An infeasible solution is characterized as one where one elements in the cj – zj rows are —————, while for a
constraint is violated. minimization problem all elements must be —————.
4. If the objective function coefficient in the cj row above an artificial 18. In Big-M method, ————— basic feasible solution is obtained
variable is – M, then the problem is a minimization problem. by assigning ————— value to the original value.
19. In the two-phase method, an ————— variable is never
5. In the simplex method, the initial solution contains only slack
considered for re-entry into the basis.
variable in the product mix.
20. ————— occurs when there is no finite solution in the LP
6. If there is a tie between decision variable and a slack (or
problem.
surplus) variable, then select the decision variable to enter into
the first basis.
Multiple Choice
7. An optimal solution to the maximized LP problem is reached if
all cj – zj ≥ 0. 21. The role of artificial variables in the simplex method is
8. Variables which can assume negative, positive or zero value are (a) to aid in finding an initial solution
called unrestricted variables. (b) to find optimal dual prices in the final simplex table
9. All the rules and procedures of the simplex method are identical (c) to start phases of simplex method
whether solving a maximization or minimization LP problem. (d) all of the above
10. Artificial variables are added to a linear programming problem to 22. For a maximization problem, the objective function coefficient for
aid in the finding an optimal solution. an artificial variable is
(a) + M (b) – M
(c) Zero (d) none of the above
Fill in the Blanks 23. If a negative value appears in the solution values (xB )
column of the simplex table, then
11. In the simplex method, the ————— column contains the (a) the solution is optimal
variables which are currently in the solution; the values of these (b) the solution is infeasible
variables can be read from the ————— column. (c) the solution is unbounded
12. A ————— variable represents amounts by which solution (d) all of the above
values exceed a resource. 24. At every iteration of the simplex method, for minimization
13. The simplex method examines the ————— points in a problem, a variable in the current basis is replaced with another
systematic manner, repeating the same set of steps of the variable that has
algorithm until an ————— solution is reached. (a) a positive cj – zj value
14. ————— occurs when there is no solution that satisfies all of (b) a negative cj – zj value
the constraints in the linear programming problem. (c) cj – zj = 0
(d) none of the above
Linear Programming: The Simplex Method 143
25. In the optimal simplex table, cj – zj = 0 value indicates (d) none of the above
(a) unbounded solution (b) cycling 31. If any value in xB – Column of final simplex table is negative, then
(c) alternative solution (d) infeasible solution the solution is
26. For maximization LP model, the simplex method is terminated (a) unbounded (b) infeasible
when all values (c) optimal (d) none of the above
(a) cj – zj ≤ 0 (b) cj – zj ≥ 0 32. If all aij values in the incoming variable column of the simplex
(c) cj – zj = 0 (d) zj ≤ 0 table are negative, then
27. A variable which does not appear in the basic variable (B) (a) solution is unbounded (b) there are multiple solutions
column of simplex table is (c) there exist no solution (c) the solution is degenerate
(a) never equal to zero (b) always equal to zero 33. If an artificial variable is present in the ‘basic variable’ column
(c) called a basic variable (d) none of the above of optimal simplex table, then the solution is
28. If for a given solution a slack variable is equal to zero then (a) infeasible (b) unbounded
(c) degenerate (d) none of the above
(a) the solution is optimal (b) the solution is infeasible
(c) the entire amount of resource with the constraint in which 34. The per unit improvement in the solution of the minimization
the slack variable appears has been consumed. LP problem is indicated by the negative value of
(d) all of the above (a) cj – zj in the decision-variable column
29. If an optimal solution is degenerate, then (b) cj – zj in the slack variable column
(a) there are alternative optimal solutions (c) cj – zj in the surplus variable column
(b) the solution is infeasible
(d) none of the above
(c) the solution is of no use to the decision-maker
(d) none of the above 35. To convert ≥ inequality constraints into equality constraints, we
must
30. To formulate a problem for solution by the simplex method, we (a) add a surplus variable
must add artificial variable to
(b) subtract an artificial variable
(a) only equality constraints (c) substract a surplus variable and an artificial variable
(b) only ‘greater than’ constraints (d) add a surplus variable and substract an artificial variable
(c) both (a) and (b)
Answers to Quiz
1. F 2. F 3. T 4. F 5. F 6. T 7. T 8. T 9. F 10. T
11. product mix; quantity 12. Suplus 13. Extreme; optimal 14. Infeasibility 15. Computed; remaining
16. reduced 17. non positive, non negative 18. Initial; zero 19. Artificial 20. Unboundedness
21. (d) 22. (b) 23. (b) 24. (b) 25. (c) 26. (a) 27. (b) 28. (c) 29. (d) 30. (c)
31. (b) 32. (a) 33. (a) 34. (d) 35. (c)
CASE STUDY
Case 4.1: New Bharat Bank
New Bharat Bank is planning its operations for the next year. The bank makes five types of loans. These are listed
below, together with the annual return (in per cent);
Education 15
Furniture 12
Automobile 9
Home Construction 10
Home repair 7
Legal requirements and bank policy place the following limits on the amounts of the various types of loans:
Education loans cannot exceed 10 per cent of the total amount of loans. The amount of education and furniture loans
together cannot exceed 20 per cent of the total amount of loans. Home construction loan must be at least 40 per cent
of the total amount of home loans and at least 20 per cent of the total amount of loans. Home construction loan must
not exceed 25 per cent of the total amount of loans.
The bank wishes to maximize its revenue from loan interest, subject to the above restrictions. The bank can lend
a maximum of Rs 75 crore. You are expected to suggest to the management of the bank for maximizing revenue keeping
in view operational restrictions.
144 Operations Research: Theory and Applications
Month
Jan. Feb. Mar. April May June
Orders (units) 58 36 34 69 72 43
Cost per unit at 180 170 170 185 190 190
regular time (in '000 Rs)
Cost per unit at 200 190 190 210 220 220
overtime (in '000 Rs)
The cost of carrying an unsold transformer in stock is Rs 25,000 per month. As on January 1 the company has
15 transformers in stock on and it wishes to have no less than 5 in stock on June 30. Suggest to the management
of the company to determine the optimal production schedule.
City Flight Sequence Minimum Fuel Maximum Fuel Regular Fuel Additional Fuel
Required Allowed Consumption if Burned per
Minimum Fuel Gallon of
Boarded Tankered Fuel
(i.e. fuel above
minimum Price per
– in gallons) Gallons (Rs)
The fuel for any one of these flight segments may be bought at its departure city, or it may be purchased at a previous
city in the sequence and ‘tankered’ for the flight. Of course, it takes fuel to carry fuel, and thus an economic trade-off
between purchasing fuel at the lowest-cost location and tankering it all around the country must be made.
In the table above the column ‘Regular Fuel Consumption’ takes into account fuel consumption if the minimum
amount of fuel is on board, and the column ‘Additional Fuel Burned’ indicates the additional fuel burned in each flight
segment per gallon of ‘tankered’ fuel carried; tankered fuel refers to fuel above the minimum amount.
The fuel originally carried into Delhi should equal fuel carried into Delhi on the next rotation, in order for the
system to be in equilibrium.
If l1= Leftover fuel inventory coming into city i (1,000 gallons) and xi = Amount of fuel purchased at city i (1,000
gallons) then, (li + xi) is the amount of fuel on board the aircraft when it departs city i.
*
This case is based on ‘D. Wayne Darnell and Carln Loflin, National Airlines Fuel Management and Allocation
Model, Interfaces’ Feburary, 1977.