Simplex Method For Maximisation
Simplex Method For Maximisation
Simplex Method For Maximisation
____
MAXIMIZATION CASE
Example:
A firm is engaged in producing two products A and B. Each unit of A requires 2kg of raw material and 4
labour hours. Each unit of B requires 3 kg of raw material and 3 labour hours. Every week the firm has
the availability of 60 kg of raw material and 96 labour hours. One unit of A and B is priced at Rs.40 and
Rs.35 respectively. What quantity of Product A and B should be produced to maximize the sale,
assuming that any quantity produced can be sold?
STEP 1:
Define decision variables, objective function and the constraints. Here the objective is to maximize total
sales.
Z = 40 X1 + 35 X2
X1, X2 > = 0
STEP 2:
Ensure that constraint values (i.e. the right hand side values in constrained inequalities) are non-negative.
If negative, rewrite constraints making them non-negative. Convert constraint inequalities into equalities.
Here, we have
2 X1 + 3 X2 + S1 = 60 where S1 ≥ 0
4 X1 + 3 X2 + S2 = 96 where S2 ≥ 0
S1 and S2 are called SLACK VARIABLES, showing surplus or slack resources company may have after
producing optimum quantity of A and B. Here, S1 represents surplus raw material and S2 represents
surplus labour hours.
S1 and S2 can also be represented as quantities of ‘Imaginary products’, where S1 is the quantity of first
‘Imaginary’ product such that 1 unit of S1 would require 1 kg of raw material and 0 labour hours.
Similarly, S2 is the quantity of second ‘Imaginary’ product such that 1 unit of S2 would require 0 kg of
raw material and 1 labour hour. The selling price of S1 and S2 is 0 since both are imaginary products.
Z = 40 X1 + 35 X2 + 0 S1 + 0 S2
Table 1
Please note:
1. Solution Variables are the products to be manufactured. The first Simplex table assumes
that company will first produce only ‘Imaginary’ products.
3. Numbers under the column X1, X2, S1, S2 are the coefficients in LHS of constraint
equations. They are called ‘technological coefficients’. It means that if we wish to produce
1 unit of X1, we would require 2 units of raw material and 4 units of labour hours. Hence, 2
units of S1 and 4 units of S2 should be reduced from current production of S1 and S2.
4. Cj represents the sale earned per unit of each product. They are the coefficients in the
objective function.
5. Zj represents the sacrifice in sale if the solution variables are taken out in lieu of the
column variable. For example, we have seen in point no. 3 above that 2 units of S1 and 4
units of S2 should be sacrificed if one unit of X1 is to be manufactured. Since selling price
of S1 and S2 is zero, we would sacrifice sale = 0*2+0*4 = 0 by taking out S 1 and S2 for
producing one unit of X1.
6. Cj-Zj represents the net increase in sale by introducing one unit of column variable in
solution set. For example, we will gain Rs.40 if one unit of X1 is produced and lose Rs 0 by
taking out S1 and S2 out of the solution. Thus, the net gain will be Rs. 40.
Similarly, sale will be increased by Rs. 35 if one unit of X2 is introduced and 3 units of S1
and 3 units of S2 are reduced from production.
Net gain for producing 1 unit of X1 is Rs. 40 and of X2 is Rs. 35. We will, therefore, prefer
to introduce X1 in the solution set since it gives maximum gain. Thus, X1 is called the
‘Incoming variable’. The column of incoming variable is called ‘Pivotal Column’.
Thus, we should produce minimum between 30 and 24 units of X 1 without exceeding any
resource capacity. We will, therefore, decide to produce 24 units of X 1. Hence, we will
take out S2 from the solution set. Hence, the lowest non-negative ratio of
‘Quantity/technological ratios in pivotal column’ (last column in table 2) should be taken
out from the solution set.
The row pertaining to outgoing variable is called ‘Pivotal row’. The element on the
intersection of pivotal row and pivotal column is called ‘Pivotal’ element.
Table 2
Pivotal column Pivotal element
STEP 4:
Replace outgoing variable with incoming variable. Then divide the pivotal row by pivotal element to get
row in next table. In our example the new row will be
STEP 5:
Let us say we want to find out element in the first row & fourth column in the new table (i.e. row S 1 and column
X2). Then,
1. Select the element from old table at the corresponding cell position (i.e. element in first row and fourth
column in old table. This element is 3)
The current solution is X1 = 24 and S1 = 12. The value of objective function is 960 which is the value
obtained in ‘Quantity’ column except the negative sign.
Since one of the (Cj-Zj) is positive, we can further improve the sale to the extent of Rs 5/- per unit of X2.
STEP 6:
With the similar steps given above the next Simplex table will be as follows:
Since all (Cj-Zj) are non-positive, there is no further scope to increase the sale. Hence, this is the optimal
solution. The maximum sale is achieved by producing 18 units of X1 and 8 units of X2. The maximum
sale is Rs.1000/-