Linear Programming Problems-Simplex Method PDF
Linear Programming Problems-Simplex Method PDF
BITS Pilani
problems-Simplex Method
Pilani|Dubai|Goa|Hyderabad Dr. Udayan Chanda, Department of Management, BITS Pilani.
Lecture Outline
Introduction
How to Set Up the Initial Simplex Solution
Simplex Solution Procedures
The Second Simplex Tableau
Developing the Third Tableau
Review of Procedures for Solving LP
Maximization Problems
2T + 1C + S1 = 100
2(40) + 1(10) + S1 = 100
S1 = 10
S2 4 3 0 1 240
T 30
C 40
=
S1 0
S2 0
Cj $70 $50 $0 $0
SOLUTION
QUANTITY
MIX T C S1 S2
$0 S1 2 1 1 0 100
$0 S2 4 3 0 1 240
14-Nov-18 LPP-Simplex Method 19
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
The First Simplex Tableau
• The Zj and Cj – Zj rows
– We can complete the initial tableau by adding two final
rows
– These rows provide important economic information
including total profit and whether the current solution
is optimal
– We compute the Zj value by multiplying the
contribution value of each number in a column by each
number in that row and the jth column, and summing
COLUMN
T C S1 S2
Cj for column $70 $50 $0 $0
Zj for column 0 0 0 0
Cj – Zj for column $70 $50 $0 $0
Table 9.2
14-Nov-18 LPP-Simplex Method 29
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
The Second Simplex Tableau
Table 9.3
Step 3.
3 We can now begin to develop the second, improved
simplex tableau. We have to compute a replacement for the
pivot row. This is done by dividing every number in the pivot
row by the pivot number. The new version of the pivot row is
below.
2 1 1* 0 100
1 0 .5 0 .5 0 50
2 2 2 2 2
1
The T column contains and the S2 column
0
contains 0 , necessary conditions for variables to
1
be in the solution. The manipulations of steps 3 and 4
were designed to produce 0s and 1s in the appropriate
positions.
Step 5.
5 The final step of the second iteration is to introduce
the effect of the objective function. This involves computing
the Cj - Zj rows. The Zj for the quantity row gives us the gross
profit and the other Zj represent the gross profit given up by
adding one unit of each variable into the solution.
• Current solution
– The solution point of 50 tables and 0 chairs
(T = 50, C = 0) generates a profit of $3,500. T is a basic
variable and C is a nonbasic variable. This corresponds
to point D in Figure 9.2.
• Resource information
– Slack variable S2 is the unused time in the carpentry
department and is in the basis. Its value implies there
is 40 hours of unused carpentry time remaining. Slack
variable S1 is nonbasic and has a value of 0 meaning
there is no slack time in the painting department.
Cj $70 $50 $0 $0
SOLUTION
MIX T C S1 S2 QUANTITY
$70 T 1 0.5 0.5 0 50
$0 S2 0 1 –2 1 40
Pivot number Pivot row
Zj $70 $35 $35 $0 $3,500
Cj - Zj $0 $15 –$35 $0
Pivot column
Table 9.5
14-Nov-18 LPP-Simplex Method 41
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Developing the Third Tableau
Step 3.
3 The pivot row is replaced by dividing every
number in it by the pivot point number
0 1 2 1 40
0 1 2 1 40
1 1 1 1 1
$5 C 0 1 –2 1 40
T = 30 tables
C = 40 chairs
S1 = 0 slack hours in the painting department
S2 = 0 slack hours in the carpentry department
profit = $4,100 for the optimal solution
Cj $70 $50 $0 $0
SOLUTION
MIX T C S1 S2 QUANTITY
$70 T 1 0 1.5 –0.5 30
$50 C 0 1 –2 1 40
Zj $70 $50 $5 $15 $4,100
Cj - Zj $0 $0 –$5 –$15
Table 9.6
Arithmetic mistakes are easy to make
It is always a good idea to check your answer by going back
to the original constraints and objective function
14-Nov-18 LPP-Simplex Method 46
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Example:
Maximize Z = 7X1+5X2 , subject to the constraints,
X1+2X2 < = 6
4X1+3X2 < = 12 and X1 & X2 are non-negative.
Cj 7 5 0 0
Min.Ratio
Basic
Basic (XB/Pivotal
CB Variable X1 X2 S1 S2
Soln(XB) Col.)
(B)
0 S1 3 0 54 1 - 1/4
7 X1 3 1 3/4 0 1/4
Zj 7 21 4 0 74
(Net Evaluation)Cj - Zj 0 - 1/4 0 -74
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Step 7: If all the (Cj-Zj) values are zero or
negative,an optimum point is reached
otherwise repeat the process as given in
Step 4,5 & 6.
Since all the (Cj-Zj) values are either negative or
zero,hence an optimum solution has been achieved.The
optimum values are:
X1=3,
X2=0 and,
Max Z=21.