LPP Maximization Simplex Method
LPP Maximization Simplex Method
Solution:
in given problem objective function is
Max Z = 3 X + 5 Y
subject to constraints
X + 2 Y ≤ 2000
X + Y ≤ 1500
Y ≤ 600
and X,Y ≥ 0;
Maximize
Subject to
Page 1 of 14
Operations Research Simplified
where X,Y,S1,S2,S3≥0
Note that for objective functions coefficient of slack variable will be zero as slack variable do not
contribute in profit Z.
The first row of the table called as objective row (Cj row) contains the coefficient of variables in
the objective function. The elements in this row indicate the contribution per unit to the objective
function of each of the variables.
The first column headed by Cj is called as objective column. It lists the coefficient of variables
included in the solution at any stage of the problem. Only slack variables are considered in the
solution in the initial solution, their profit coefficient is zero which is listed in this column.
The second column called as product mix column contains basic variables in the current
solution. In the initial simplex table these basic variables are slack variables (S1, S2 and S3).
Then there are number of columns equal to variables in the constraints (in this example there are
five variables X, Y, S1, S2 and S3). It contains the coefficient of variables from corresponding
constraints.
Second last column is called as solution column which contains the right hand side (RSH) value
of corresponding constraints in corresponding row.
Last column is replacement ratio column which we need to calculate for deciding the leaving
variable.
Page 2 of 14
Operations Research Simplified
To obtain the initial feasible solution, decision variables (X and Y) are set to zero, which reduces
the constraint value to
X = 0 and Y = 0 so
Page 3 of 14
Operations Research Simplified
Positive value of Cj-Zj indicates an opportunity for improving the current solution.
Zj values for each column are calculated by summing the products of elements in the column and
corresponding element in objective column (Cj)
Cj-Zj values are calculated by subtracting Cj value from corresponding Zj value for a column
For example for the column having variable X (third column in Table-3)
Zj = (0 x 1) + (0 x 1) + (0 x 0)
Zj = 0;
Cj = 3;
So Cj – Zj = (3 – 0) = 3
In similar way Cj-Zj values are calculated for all the columns as shown in table-3
Page 4 of 14
Operations Research Simplified
For maximization problem if there are any positive values (>0) in the Cj-Zj row, then we have to
perform step-5. If there are all zero or negative values in the Cj-Zj row then solution is optimum
and we can stop at that point?
As maximum positive value of Cj-Zj is 5 in table 3 there is a scope for improvement so we will
move to step-5
Maximum positive value of Cj-Zj is 5 and its column index is 2, which is associated to variable
Y. So, the entering variable is Y.
Page 5 of 14
Operations Research Simplified
Now select minimum positive value of replacement ratio, corresponding row will become key
row and corresponding variable will be leaving variable.
Minimum ratio is 600 and its row index is 3. So, the leaving basis variable is S3.
Key Element =1
Iteration-I
Page 7 of 14
Operations Research Simplified
Page 8 of 14
Operations Research Simplified
Maximum positive value of Cj-Zj is 3 and its column index is 1. So, the entering variable is X.
Minimum positive ratio is 800 and its row index is 1. So, the leaving basis variable is S1.
∴ the key element is 1.
Entering variable =X, Departing variable =S1, Key Element =1
As Cj-Zj value is positive, there is a still scope for improvement we will perform next iteration
Iteration II
Repeat the steps 7, reduced row for second iteration is shown in table-9
Page 9 of 14
Operations Research Simplified
Repeat the steps 8, Replaced rows for second iteration is shown in table-10
Page 10 of 14
Operations Research Simplified
Maximum positive value of Cj-Zj is 1 and its column index is 3. So, the entering variable is S3.
Page 11 of 14
Operations Research Simplified
Minimum positive replacement ratio is 100 and its row index is 2. So, the leaving basis variable
is S2.
∴ the key element is 1.
Entering variable =S3, Departing variable =S2, Key Element =1
Iteration III
Repeat the steps 7, reduced row for second iteration is shown in table-13
Repeat the steps 8, Replaced rows for second iteration is shown in table-14
Page 12 of 14
Operations Research Simplified
As all the values of Cj-Zj are either negative or zero it represents an optimal solution at
Page 13 of 14
Operations Research Simplified
X = 1000,
Y = 500,
Page 14 of 14