Professional Documents
Culture Documents
Management Science Group 2
Management Science Group 2
LINEAR
PROGRAMMING
(Simplex Method)
CORONEL, SHAIRA ALESSANDRA
CUZON, MOLLEEN
DAGANGON, TRIXSHA FAITH
DIVINAGRACIA, CHERRY
GALAMITON. JOHN CLARK SAR
MANAGEMENT SCIENCE
LINEAR PROGRAMMING
The simplex method was developed during the Second
World War by Dr. George Dantzig. His linear programming
models helped the Allied forces with transportation and
scheduling problems.
1 each week. The firm charges ₱2000 for legal documents and ₱300 for consultation.
Each legal document requires 100 hours of staff time and 10 hours of review time,
and each consultation requires 10 hours of staff time and 2 hours of review time.
What number of legal document and consultation will bring in a maximum revenue?
Let x1represents the no. of legal documents, and x2 the no. of consultation.
MANAGEMENT SCIENCE
Z -2000 -300 0 0 0
S1 100 10 1 0 900
S2 10 2 0 1 100
MANAGEMENT SCIENCE Green – Pivot column
Blue – Pivot Row
Step 4: Pivot Variables Orange – Pivot element
Basic
X1 X2 S1 S2 RHS RATIO
Variable
smallest
value Z -2000 -300 0 0 0
S1 100 10 1 0 900 9
S2 10 2 0 1 100 10
Basic
X1 X2 S1 S2 RHS RATIO
Variable
Z -2000 -300 0 0 0
X1 1 1/10 1/100 0 9
S2 10 2 0 1 100
MANAGEMENT SCIENCE
Formula: New Row = (Current row) - ( Pivot column coefficient) * New pivot row
Basic1
X X S1 S RHS RATIO
Variable 1 2 2
Z 0 -100 20 0 18000
X1 1 1/10 1/100 0 9
S2 10 2 0 1 100
Basic
X1 X2 S1 S2 RHS RATIO
Variable
Z 0 -100 20 0 18000
X1 1 1/10 1/100 0 9 90
S2 0 1 -1/10 1 10 10
MANAGEMENT SCIENCE
Basic
X1 X2 S1 S RHS RATIO
Variable 2
Z 0 -100 20 0 18000
X1 1 1/10 1/100 0 9
X2 0 1 -1/10 1 10
Basic
X1 X2 S1 S2 RHS RATIO
Variable
Z 0 -100 20 0 18000
X1 1 0 1/50 -1/10 8
X2 0 1 -1/10 1 10
MANAGEMENT SCIENCE
Basic
X X S S 2 RHS RATIO
Variable 1 2 1
Z 0 0 10 100 19000
X1 1 0 1/50 -1/10 8
X2 0 1 -1/10 1 10
MANAGEMENT SCIENCE
STEP 7: IDENTIFY OPTIMAL VALUES
Basic
X1 X2 S1 S2 RHS RATIO
Variable
Maximum
Z 0 0 10 100 19000 Revenue
X1 1 0 1/50 -1/10 8 X1
X2 0 1 -1/10 1 10 X2
X1= 8
X2= 10
1 3 UNITS 1 UNIT 6
2 1 UNIT 1 UNIT 4
3 2 UNITS 6 UNITS 12
The company wants to determine the quantity of ingredient A and B that must go
in the drug in order to meet the antibiotics minimum requirements at minimum cost.
Solution:
Step 1. Represent the unknown
2 problem.
Let, Ingredient A = X1
Ingredient B = X 2
Requirement = Right Hand Side (RHS)
MANAGEMENT SCIENCE
Antibiotic 1 3 1 6
Antibiotic 2 1 1 4
Antibiotic 3 2 6 12
Step 3. Formulate the objective function and constraints by restating the information
in mathematical form.
S1 3 1 -1 0 0 0 6 2
S2 1 1 0 -1 0 0 4 4
S3 2 6 0 0 -1 0 12 6
P 80 50 0 0 0 1 0 80
Tableu 1. X1= Pivot Column; 80 = Most Positive at the last row; 3 = Pivot Element;
S1= Pivot Row; 2 = smallest positive
TEST
BV X1 X2 S1 S2 S3 P RHS
RATIO
S1 1 1/3 -1/3 0 0 0 2 6
S2 0 2/3 1/3 -1 0 0 2 3
Tableu 2. X2= Pivot Column; 23 1/3 = Most Positive at the last row; 5 1/3= Pivot Element
S3= Pivot Row; 2 = smallest positive
MANAGEMENT SCIENCE
TEST
BV X1 X2 S1 S2 S3 P RHS
RATIO
S1 1 0 -3/8 0 0 0 1 1/2 24
S2 0 0 1/4 -1 1/8 0 1 8
Tableu 3. S3= Pivot Column; 4 3/8 = Most Positive at the last row; 1/8= Pivot Element
S2= Pivot Row; 8 = smallest positive
BV X1 X2 S1 S2 S3 P RHS
X1 1 0 -1/2 1/2 0 0 1
S3 0 0 2 -8 1 0 8
X2 0 1 1/2 -1 3/5 0 0 3
P 0 0 15 35 0 1 -230
Tableu 4.
P = -C S1 = 0 X1 = 1
P = - (230) S2 = 0 X2 = 3
C = 230 S3 = 8 C =230 Thus, (1,3) minimize the C= 230
MANAGEMENT SCIENCE
SIMPLEX METHOD - MAXIMIZATION
George holds two part-time jobs, Job I and Job II. He never wants to work more
3 than a total of 12 hours a week. He has determined that for every hour he works at
Job I, he needs 2 hours of preparation time, and for every hour he works at Job II,
he needs one hour of preparation time, and he cannot spend more than 16 hours for
preparation. If he makes ₱50 an hour at Job I, and ₱40 an hour at Job II, how many
hours should he work per week at each job to maximize her income?
1st 1 1 1 0 0 12
2nd 2 1 0 1 0 16
Objective
-50 -40 0 0 1 0
to function
MANAGEMENT SCIENCE
STEP 4. The most negative entry in the bottom row identifies the pivot column.
Subject to
X1 X2 Y1 Y2 Z C
constraint
1st 1 1 1 0 0 12
2nd 2 1 0 1 0 16
Objective
-50 -40 0 0 1 0
to function
Pivot column.
STEP 5. Calculate the quotients. The smallest quotient identifies a row. The element in the
intersection of the column identified in step 4 and the row identified in this step is identified as
the pivot element.
Subject to
X X Y Y Z C
constraint
1st 1 1 1 0 0 12 12 ÷ 1 = 12
2nd 2 1 0 1 0 16 16 ÷ 2 = 8
Objective
-50 -40 0 0 1 0
to function
Pivot Element
MANAGEMENT SCIENCE
STEP 6. Perform pivoting to make all other entries in this column zero.
Subject to
X1 X2 Y1 Y2 Z C
constraint
1st 1 1 1 0 0 12
Objective
-50 -40 0 0 1 0
to function
To obtain a zero in the entry first above the pivot element, we multiply the second row by -1 and
add it to row 1. We get
Subject to
X1 X2 Y1 Y2 Z C
constraint
Objective
-50 -40 0 0 1 0
to function
MANAGEMENT SCIENCE
To obtain a zero in the element below the pivot, we multiply the second row by 50 and add
it to the last row. We get
Subject to
X1 X2 Y1 Y2 Z C
constraint
Objective
0 -15 0 25 1 400
to function
0 1 0 4
1 0 0 8
0 0 1 400
MANAGEMENT SCIENCE
STEP 7. When there are no more negative entries in the bottom row, we are finis
otherwise, we start again from step 4.
Subject to
X1 X2 Y1 Y2 Z C
constraint
Objective
0 -15 0 25 1 400
to function
1st 0 1 2 -1 0 8
Objective
0 -15 0 25 1 400
to function
MANAGEMENT SCIENCE
Now to make all other entries as zeros in this column, we first multiply row 1 by -1/2
and add it to row 2, and then multiply row 1 by 15 and add it to the bottom row.
Subject to
X1 X2 Y1 Y2 Z C
constraint
1st 0 1 2 -1 0 8
2nd 1 0 -1 1 0 4
Objective
0 0 30 10 1 520
to function
The answer lies in the bottom row. The bottom row corresponds to the equation:
0x1+ 0x2+ 30y1+ 10y2+ Z = 520 or
Z = 520 - 30y1 −10y2
X1 X2 Z C
0 1 0 8
1 0 0 4
0 0 1 520
Management Science | Group 2
THANK
YOU FOR
LISTENING!