Question

Use the simplex method to solve the problem. Maximize subject to P = 4X2 + 12x2 2x1 + x2 58 Xy + 8x2 58 X1, X220 when X1 = Th

Please solve this step by step I do not understand the pivoting in the table and I would like to learn how to do it thx!

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution:
The problem is converted to canonical form by adding slack, surplus and artificial variables as appropiate

1. As the constraint-1 is of type '≤' we should add slack variable S1

2. As the constraint-2 is of type '≤' we should add slack variable S2

After introducing slack variables

Max P = 4x1 + 12x2 + 0S1 + 0S2

Subject to

2x1 + x2 + S1 = 8

x1 + 8x2 + S2 = 8

and x1, x2, S1,S2 ≥ 0

Iteration-1 Cj 4 12 0 0
B CB XB x1 x2 S1 S2 MinRatio
XB / x2
S1 0 8 2 1 1 0 8 / 1=8
S2 0 8 1 (8) 0 1 8 / 8=1
P=0 Pj 0 0 0 0
Pj - Cj -4 -12↑ 0 0



Negative minimum Pj - Cj is -12 and its column index is 2. So, the entering variable is x2.

Minimum ratio is 1 and its row index is 2. So, the leaving basis variable is S2.

∴ The pivot element is 8.

Entering =x2, Departing =S2, Key Element =8

R2(new)=R2(old) ÷ 8

R1(new)=R1(old) - R2(new)


Iteration-2 Cj 4 12 0 0
B CB XB x1 x2 S1 S2 MinRatio
XB / x1
S1 0 7 (1.875) 0 1 -0.125 7 / 1.875=3.7333
x2 12 1 0.125 1 0 0.125 1 / 0.125=8
P=12 Pj 1.5 12 0 1.5
Pj - Cj -2.5↑ 0 0 1.5



Negative minimum Pj - Cj is -2.5 and its column index is 1. So, the entering variable is x1.

Minimum ratio is 3.7333 and its row index is 1. So, the leaving basis variable is S1.

∴ The pivot element is 1.875.

Entering =x1, Departing =S1, Key Element =1.875

R1(new) = R1(old) ÷ 1.875

R2(new) = R2(old) - 0.125R1(new)


Iteration-3 Cj 4 12 0 0
B CB XB x1 x2 S1 S2 MinRatio
x1 4 3.7333 1 0 0.5333 -0.0667
x2 12 0.5333 0 1 -0.0667 0.1333
P=21.3333 Pj 4 12 1.3333 1.3333
Pj - Cj 0 0 1.3333 1.3333



Since all Pj - Cj ≥ 0

Hence, optimal solution is arrived with value of variables as :


x1 = 3.7333,   x2 = 0.5333

Max P = 21.3333

Add a comment
Know the answer?
Add Answer to:
Please solve this step by step I do not understand the pivoting in the table and...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT