Use simplex method to maximize π = 3π₯ + 5π¦ + 4π§ subject to the conditions 2π₯ + 3π¦ β€ 18 2π₯ + 5π¦ β€ 10 3π₯ + 2π¦ + 4π§ β€ 15 and π₯, π¦, π§ β₯ 0.
One of the theorems of simplex method states that the solution of the linear problem exists at one of the edge points. In our case the region is bounded by 6 planes: "2x+3y=18,2x+5y=10," "3x+2y+4z=15" , "x,y,z=0". It is possible to find such solution in Maple via the commands:
with(Optimization):
Minimize(-3*x-5*y-4*z,{2*x+3*y<=18,2*x+5*y<=10,3*x+2*y+4*z<=15,x>=0,y>=0,z>=0});
Since we want to reformulate the problem as the problem for minimum, the function must have the opposite sign.
The minimum point is at the intersection of planes "x=0,y=2,z=2.75". The minimum value of function is "-21". Thus, the solution of the maximization problem is at the point "(0,2,2.75)". The value is "21".
Comments
Leave a comment