Use simplex method to maximize π = 3π₯ + 5π¦ + 4π§ subject to the conditions 2π₯ + 3π¦ β€ 18 2π₯ + 5π¦ β€ 10 3π₯ + 2π¦ + 4π§ β€ 15 and π₯, π¦, π§ β₯ 0.
Solution:
Assuming given variables x,y,z as x1, x2, x3 respectively.
Max Z=3x1+5x2+4x3
subject to
2x1+3x2β€18
2x1+5x2β€10
3x1+2x2+4x3β€15 and
x1,x2,x3β₯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 S1
2. As the constraint-2 is of type 'β€' we should add slack variable S2
3. As the constraint-3 is of type 'β€' we should add slack variable S3
After introducing slack variables
Max Z=3x1+5x2+4x3+0S1+0S2+0S3
subject to
2x1+3x2+S1=18
2x1+5x2+S2=10
3x1+2x2+4x3+S3=15 and
x1,x2,x3,S1,S2,S3β₯0
Similarly, going further, we get the third iteration:
Since all Zj-Cjβ₯0
Hence, optimal solution is arrived with value of variables as :
x1=0,x2=2,x3=2.75
Max Z=21
Comments
Leave a comment