6 Module 6 Unit 3 Linear Programming Simplex Method Minimization
6 Module 6 Unit 3 Linear Programming Simplex Method Minimization
• The company wants to determine the quantity of each ingredient A and B that must
go in to drug in order to meet the antibiotics minimum requirements at the
minimum cost.
Minimization
Solution
Step 1: Represent the unknown in the problem.
BV X1 X2 S1 S2 S3 P RHS
*S1 3 1 -1 0 0 0 6 1st Constraint
*S2 1 1 0 -1 0 0 4 2nd Constraint
*S3 2 6 0 0 -1 0 12 3rd Constraint
C 80 50 0 0 0 1 0 Objective Function
• Simplex Tableau
• Right-Hand-Side (RHS)
• Basic Variables (BV)
Step 6: Select the pivot column. (It is the column that contains
the most positive entry in the bottom row.) In this example it
is the column of X1 which contains 80.)
• Tableau 1
BV X1 X2 S1 S2 S3 P RHS
*S1 3* 1 -1 0 0 0 6
*S2 1* 1 0 -1 0 0 4
*S3 2* 6 0 0 -1 0 12
C 80* 50 0 0 0 1 0
*Pivot column
*Intersectional Elements
Step 7: Identify the pivot row using the test ratio by dividing
the RHS values by the non-zero and non-negative entries in the
pivot column.
• Tableau 1
*Pivot row
*Pivot
Then initiate the following steps.
• Tableau 1
BV X1 X2 S1 S2 S3 P RHS
*S1 3 1 -1 0 0 0 6 ← R11
*S2 1 1 0 -1 0 0 4 ← R21
*S3 2 6 0 0 -1 0 12 ← R31
C 80 50 0 0 0 -1 0 ← R41
BV X1 X2 S1 S2 S3 P RHS COMPUTATION
X1 1 1/3 -1/3 0 0 0 2 R12 = R11÷ P11
*S2 0 2/3 1/3 -1 0 0 2 R22 = R21 − 1R12
*S3 0 5 1/3 2/3 0 -1 0 8 R32 = R31 − 2R12
C 0 23 1/3 26 2/3 0 0 1 -160 R42 = R41 − 80R12
• Pivot column
• Pivot row
• Pivot
Step 8 – 9: compute for replacing row and
the remaining rows of Tableau 3.
• Tableau 3
BV X1 X2 S1 S2 S3 P RHS COMPUTATION
X1 1 0 -3/8 0 1/16 0 1½ R13 = R12 − 1/3R33
*S2 0 0 ¼ -1 1/8 0 1 R23 = R22 − 2/3R33
X2 0 1 1/8 0 -3/16 0 1½ R33 = R32 ÷ P32
C 0 0 23 3/4 0 4 3/8 1 -195 R43 = R42 − 23 1/3R33
• Pivot column
• Pivot row
• Pivot
Step 8 – 9: Compute for replacing row and
the remaining rows of Tableau 4.
• Tableau 4
BV X1 X2 S1 S2 S3 P RHS COMPUTATION
X1 1 0 -½ ½ 0 0 1 R14 = R13 − 1/16R24
S3 0 0 2 -8 1 0 8 R24 = R23 ÷ 1/8P23
X2 0 1 ½ -1 ½ 0 0 3 R34 = R33 + 3/16R24
C 0 0 15 35 0 1 -230 R44 = R43 − 4 3/8R24
• Notice that there are no starred entries in the basic solutions, thus,
the tableau is already optimal. Also, optimal solution was triggered
by non-existence of negative entries in the objective function except
for the RHS column.
Step 10: Make a decision.
• Tableau 4
BV X1 X2 S1 S2 S3 P RHS COMPUTATION
X1 1 0 -½ ½ 0 0 1 R14 = R13 − 1/16R24
S3 0 0 2 -8 1 0 8 R24 = R23 ÷ 1/8P23
X2 0 1 ½ -1 ½ 0 0 3 R34 = R33 + 3/16R32
C 0 0 15 35 0 1 -230 R44 = R43 − 4 3/8R24
• Decision:
• X1 = 1 unit of ingredient 1 S1 = 0
• X2 = 3 units of ingredient 2 S2 = 0
• C = ₱230 cost S3 = 8
Exercise 1
Solve the following Linear Programming Models.
• Minimize: C = 5X1 + 9X2
• Subject to: X1 + 2X2 ≥ 11
X1 + X2 ≥ 10
X1 ≥ 0, X2 ≥ 0
Reference