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.
According to question:
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
2. As the constraint-2 is of type '≤' we should add slack variable
3. As the constraint-3 is of type '≤' we should add slack variable
After introducing slack variables
Negative minimum is -5 and its column index is 2. So, the entering variable is
Minimum ratio is 4 and its row index is 2. So, the leaving basis variable is
∴ The pivot element is 4.
Entering = , Departing = , Key Element =4
Since all
Hence, optimal solution is arrived with value of variables as :
Comments
Leave a comment