Question #176287

Solve the following linear programming model using the simplex method:


maximize Z = 100x1 + 20x2 + 60x3

subject to

x3 smaller than or equal to 40

2x1 + 2x2 + 2x3 smaller than or equal to 100

3x1 + 5x2 smaller than or equal to 60


x1, x2, x3 bigger than or equal to 0


1
Expert's answer
2021-03-30T16:31:46-0400

Solution:

MaxZ=100x1+20x2+60x3\operatorname{Max} Z=100 x_{1}+20 x_{2}+60 x_{3}

subject to

x3402x1+2x2+2x3100\begin{aligned} x_{3} & \leq 40 \\ 2 x_{1}+2 x_{2}+2 x_{3} & \leq 100 \end{aligned}

3x1+5x260and x1,x2,x303 x_{1}+5 x_{2} \quad \geq 60\\ and\ x_{1}, x_{2}, x_{3} \geq 0

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

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

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

3. As the constraint-3 is of type '≥' we should subtract surplus variable S3S_3  and add artificial variable A1A_1

After introducing slack, surplus, artificial variables

MaxZ=100x1+20x2+60x3+0S1+0S2+0S3MA1\operatorname{Max} Z=100 x_{1}+20 x_{2}+60 x_{3}+0 S_{1}+0 S_{2}+0 S_{3}-M A_{1}

subject to

x3+S1=402x1+2x2+2x3S=1003x1+5x2S3+A1=60and x1,x2,x3,S1,S2,S3,A10x_{3}+S_{1} =40\\ 2 x_{1}+2 x_{2}+2 x_{3} S =100\\ 3 x_{1}+5 x_{2} \quad-S_{3}+A_{1}=60\\ and\ x_{1}, x_{2}, x_{3}, S_{1}, S_{2}, S_{3}, A_{1} \geq 0


Negative minimum ZjCjZ_{j}-C_{j} is 5M20-5 M-20 and its column index is 2 . So, the entering variable is x2x_{2}

The minimum ratio is 12 and its row index is 3. So, the leaving basis variable is A1A_{1} .

Therefore, the pivot element is 5 .

Entering =x2=x_{2} , Departing =A1=A_{1} , Key Element =5

R3(new)=R3(old)÷5R_{3}(\mathrm{new})=R_{3}(\mathrm{old}) \div 5

R1(new)=R1(old)R_{1}( new )=R_{1}( old )


R2(new)=R2(old)2R3(new)R_2(new)=R_2(old)-2R_3(new)



Similarly, we have iteration 2, 3, 4, and 5 as follows:



Since all ZjCj0Z_j-C_j≥0

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

x1=50,x2=0,x3=0x_1=50,x_2=0,x_3=0

Max Z=5000


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS