Chapter 3 Linear Programming Simplex Method
Chapter 3 Linear Programming Simplex Method
LINEAR
PROGRAMMING
:
Simplex
Method
CHAPTER 3
Example
The linear programming problem will appear
as follows:
Max Profit: P= 40x +20y + + +
Subject to: 4x + y + = 20
x + y + = 20
-x - 4y + -20
Maximization of Profit (Simplex
Method)
Jenny Furniture Shop produces two types of tables: an elegant
table and an ordinary table. The table, whether elegant or
ordinary, passes through two departments, namely, the assembly
department and finishing department . Each elegant table
requires 8 hours of assembly work and 4 hours of finishing task.
Each ordinary table requires 6 hours in the assembly department
and 2 hours in the finishing department. Every production period
, the shop has 480 hours of assembly time and 200 hours of
finishing time. The elegant table contributes Php700 to the
company’s profit, while the ordinary table has a profit of Php500
In this problem, there are positive values in the - row (700 and 500): hence, the
table needs to be improved.
Step 5
480 ÷ 8 = 60
200 ÷ 4 = 50
• has the lowest value; thus, it is the outgoing variable that is replaced by variable x as
the incoming variable.
700 500 0 0
700 500 0 0
200 ÷ 4 = 50
4 ÷ 4 = 1
2 ÷ 4 = ½
0 ÷ 4 = 0
1 ÷ 4 = 1/4
Table 3. After Computing for the Values of the Incoming Variable X
700 500 0 0
X 50 ÷ ½ = 100
80 ÷ 2 = 40
700 500 0 0
80 ÷ 2 = 40
0 ÷ 2 = 0
2 ÷ 2 = 1
1 ÷ 2 = ½
-2 ÷ 2 = -1
Table 6. After Computing for the Values of Variable y
700 500 0 0
700 500 0 0
Product Solution x y
Quantity
0 480 8 6 1 0
0 200 4 2 0 1
0 0 0 0 0
- 700 500 0 0
Table 9. First Iteration
700 500 0 0
0 80 0 2 1 -2
35,000 700 350 0 175
0 150 0 -175
Table 10. Second Iteration
700 500 0 0
500 Y 40 0 1 1/2 -1
700 x 30 1 0 - ¾
1/4
41,000 700 500 75 25
0 0 -75 -25
Minimization of Cost(Simplex
Method)
To operate the newly imported state of the art machinery recently
purchased by ABC Company, two types of fuels are needed
namely, Fuel A and Fuel B. The machine specifications and
requirements show that for every one hour of production time
each gallon of Fuel A emits 6 units of chemical gas and generated a
mechanical energy equivalent to 8 horsepower. The cost Ph320. In
similar manner, each gallon of Fuel B emits 10 units of chemical
gas generates 8 horsepower of mechanical energy. This costs
Php300. The maximum number of units of such type of chemical
gas allowed by the government to be emitted by such type of
machinery is 30 units. The operating activities of the company
require atleast 32 horsepower of mechanical energy per hour.
Required: Using the simplex method, determine the number of
gallons of Fuel A and Fuel B that are needed to operate the
machine at the lowest possible cost
Following procedures are done to convert the
constraints to equation
Minimizati 1. Add slack variable if the symbol used is ≤
on 2. Add an artificial variable if the symbol used
is =
Problem
3. Subtract a slack variable and add an
artificial variable if the symbol sign is ≥
Prevents the slack variable from becoming a
zero and prevents an equality constraints from
resulting in an constant zero.
Artificial
Variable It is equal to the power of the ten greater than
the coefficient value found in the objective
and constraints
Min total cost: C= 10x +20y
Subject to: 4x + y ≥ 10
3x + y ≤ 10
x + y = 10
Example
The linear programming problem will appear as
follows:
Step 2
• The highest negative value in the row is the incoming variable, which is variable y
with -7,700. The outgoing variable is determined as follows:
Product Solution Quantity Pivot Value Quotient
30 ÷ 10 = 3
32 ÷ 8 = 4
Old Values of Pivot Value New Values of New Values of
Retained of Incoming Retained
Variable (A1) Retained Variable (y) Variable (y)
Variable
(A1)
32 - 8 X 3 = 8
8 - 8 X 6/10 = 3 1/5
8 - 8 X 1 = 0
0 - 8 X 1/10 = -4/5
-1 - 8 X 0 = -1
1 - 8 X 0 = 1
The outgoing variable which has the smaller quotient. The improved table appears as
follows:
Table 12. First Iteration
320 300 0 0 1,000
Since the column does not contain negative values, this indicates that the optimal
solution has been achieved. Table 13 shows that the company should use 2.5 gallons of
Fuel A (X) and 1.5 gallons of Fuel B (Y); this will be the minimum total cost that the
company will incur to operate the state of the art machine.