Question

In: Mechanical Engineering

Solve the following optimization problem. Minimize J = x + 3y + 2z

Solve the following optimization problem. Minimize

J = x + 3y + 2z

subject to the constraints

3x + 3y – 3z < 20 6x – 4y – 3z = 20 7x + 4y + 11z < 50

Solutions

Expert Solution

MuPAD can be used to solve both symbolic and numeric types of calculations. MuPAD can be run by entering mupadwelcome in the command window.

 

To solve optimization problems using MuPAD, the constraint equations and the optimization problem are defined and the solution is obtained using the linopt::minimize function.

 

The program can be defined as:

 

Define the constraints as:

eq1:=3*x+3*y-3*z<=20;eq2:=6*x-4*y-3*z=20;eq3:=7*x+4*y+11*z<=50

 

Define the optimization problem as:

J:=[{eq1, eq2, eq3}, x+3*y+2*z]

 

Solve the optimization problem:

linopt::minimize(J)

The result obtained is:

 

Define the constraints as:

 

Define the optimization problem as:

 

Solve the optimization problem:

 

Thus, the given optimization problem has been solved and the solution is unbounded.


Thus, the given optimization problem has been solved and the solution is unbounded.

Related Solutions

Solve the following optimization problem (Be sure to include the statement of the optimization problem and...
Solve the following optimization problem (Be sure to include the statement of the optimization problem and a graph of the feasible in your solution): Jamie has joined a building contest. A dog shape requires 3 small blocks and one large block to build. A robot shape requires 5 small bricks and 5 large bricks to build. Jamie has a supply of 240 small bricks and 100 large bricks. If a dog is worth 2 points and a robot is worth...
2 Optimization Use fminsearch to solve the following unconstrained optimization problem. min x∈R4 f(x) = (x1...
2 Optimization Use fminsearch to solve the following unconstrained optimization problem. min x∈R4 f(x) = (x1 + 10x2)^2 + 5(x3 − x4)^2 + (x2 − 2x3)^4 + 10(x1 − x4)^4 Use the following as initial guess x0 = [3 -1 0 1] (x0 us a column not a row) What is the minimizer you find, and what is the value of the objective function f(x) at that point? Also, report the number of iterations taken to converge.
3. Solve the following system of equations. 5x- y+ z= -4 2x+ 2y-3z= -6 x-3y+ 2z=...
3. Solve the following system of equations. 5x- y+ z= -4 2x+ 2y-3z= -6 x-3y+ 2z= 0 Select the correct choice below: A. There is one solution. The solution is (     ). B. There are infinitely many solutions. The solutions (   ,z) C. There is no solution. 4. The total number of​ restaurant-purchased meals that the average person will eat in a​ restaurant, in a​ car, or at home in a year is 150. The total number of these meals...
solve by determinants a.x+y+z=0 3x-y+2z=-1 2x+3y+3z=-5 b. x+2z=1 2x-3y=3 y+z=1 c. x+y+z=10 3x-y=0 3y-2z=-3 d. -8x+5z=-19...
solve by determinants a.x+y+z=0 3x-y+2z=-1 2x+3y+3z=-5 b. x+2z=1 2x-3y=3 y+z=1 c. x+y+z=10 3x-y=0 3y-2z=-3 d. -8x+5z=-19 -7x+5y=4 -2y+3z=3 e. -x+2y+z-5=0 3x-y-z+7=0 -2x+4y+2z-10=0 f. 1/x+1/y+1/z=12 4/x-3/y=0 2/y-1/z=3
Solve for x,y,z using the inverse if possible. x+2y+5z=2 2x+3y+8z=3 -x+y+2z=3
Solve for x,y,z using the inverse if possible. x+2y+5z=2 2x+3y+8z=3 -x+y+2z=3
Maximizar P=2x+3y+5z Sujeto a: x+2y+3z ≤ 12                x-3y+2z ≤ 10                 x ≥ 0, y...
Maximizar P=2x+3y+5z Sujeto a: x+2y+3z ≤ 12                x-3y+2z ≤ 10                 x ≥ 0, y ≥ 0, z ≥ 0 Maximize P=2x+3y+5z Subject to: x+2y+3z ≤ 12 x-3y+2z ≤ 10                 x ≥ 0, y ≥ 0, z ≥ 0
Use MATLAB to solve the following problem: x - 3y = 2 x + 5y = 18 4x - 6y = 20
Use MATLAB to solve the following problem:x - 3y = 2x + 5y = 184x - 6y = 20  
Solve linear equations by Gaussian Elimination 2x-3y+z-w+u=0 4x-6y+2z-3w-u=-5 -2x+3y-2z+2w-u=3
Solve linear equations by Gaussian Elimination 2x-3y+z-w+u=0 4x-6y+2z-3w-u=-5 -2x+3y-2z+2w-u=3
Solve the system of linear equations using the Gauss-Jordan elimination method. 2x + 3y - 2z...
Solve the system of linear equations using the Gauss-Jordan elimination method. 2x + 3y - 2z = 8 3x - 2y + 2z = 2 4x - y + 3z = 2 (x, y, z) = ?
Suppose an optimization problem is trying to minimize the cost function : Cost = 7S +...
Suppose an optimization problem is trying to minimize the cost function : Cost = 7S + 10R.   The company is producing two products, product S and product R, subject to the following constraints:                                 S + R ≤ 90                         3S + 10R ≥ 620                         R ≤ 100                         S ≥ 20                         S, R ≥ 0 Program this into a blank Excel worksheet and use Solver to find the solution for S and R such that the objective function is...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT