Answer to Question #291991 in Operations Research for jone

Question #291991

The crumb and Custard bakery makes cakes and pies. The main ingredients are flour and sugar. The following linear programming model has been developed for determining the number of cakes and pies (x1 and x2 to produce each day to maximize profit.

Max Z=x1 + 5x2

Subject to:

8x1+10x2< 25(flour, lb)

2x1+4x2< 16(sugar, lb)

x1< 5(demand for cakes)

x1,x2 >0

Solve this model using simplex method.



1
Expert's answer
2022-01-31T16:46:29-0500

Solution:

According to question:

maximize  Z=1x1+5x2subject to5x1+5x2252x1+4x216x18and x1,x20maximize\ \ Z=1x_1+5x_2\\subject\ to\\5x_1+5x_2\leq25\\2x_1+4x_2\leq 16\\x_1\leq8\\and\ x_1,x_2\geq0



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 add slack variable S3S_3


After introducing slack variables

MaxZ=x1+5x2+0S1+0S2+0S3subject to 5x1+5x2+S1=252x1+4x2+S2=16x1+S3=8 andx1,x2,S1,S2,S30Max Z=x_1+5x_2+0S_1+0S_2+0S_3\\subject\ to\ 5x_1+5x_2+S_1=25\\2x_1+4x_2+S_2=16\\x_1+S_3=8\ and \\x_1,x_2,S_1,S_2,S_3≥0


Negative minimum ZjCjZ_j-C_j  is -5 and its column index is 2. So, the entering variable is x2.x_2.


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


∴ The pivot element is 4.


Entering =x2x_2 , Departing =S2S_2 , Key Element =4



Since all ZjCj0Z_j-C_j≥0


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

x1=0,x2=4x_1=0,x_2=4

Max Z=20Max \ Z=20

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!

Leave a comment