MATLAB: How can i solve an optimization problem which has two constraints and five unknons

genetic algorithmmatlab function

my question is to find the values of x, y, z, p and q.
min f= 1100*(x+y+z)
subject to:
-2 = 240.773*((p*(x^4 + z^4)) - (10*x^4) - (q*z^4))
-1 = 240.773*((q*(y^4 + z^4)) - (10*y^4) - (p*z^4))
x,y,z ≥0.1, p,q0

Best Answer

This sounds like a job for fmincon. You might find this example to be helpful.
Alan Weiss
MATLAB mathematical toolbox documentation