how do i minimize this function due to these constraints and bound constraints. I feel like i should use the function "fmincon" but i'm not exactly sure how to do it.
Info
This question is closed. Reopen it to edit or answer.
Show older comments
%%Function to Minimize
funct = 0.7854*(x_1)*((x_2)^2)*(3.33*((x_3)^2)+14.933*(x_3)-43.0934)-1.508*(x_1)*(((x_6)^2)+((x_7))^2) +7.4777*(((x_6)^3)+((x_7))^3)+0.7854*(((x_4)*((x_6)^2))+((x_5)*((x_7)^2)))
%%Constraints
con1 = 27*((x_1)^-1)*((x_2)^-2)*((x_3)^-3) - 1 <= 0 con2 = 397.5*((x_1)^-1)*((x_2)^-2)*((x_3)^-2) - 1 <= 0 con3 = 1.93*((x_2)^-1)*((x_3)^-1)*((x_4)^3)*((x_6)^-4) - 1 <= 0 con4 = 1.93*((x_2)^-1)*((x_3)^-1)*((x_5)^3)*((x_7)^-4) - 1 <= 0 con5 = ((745*(x_4)*((x_2)^-1)*((x_3)^-1))^2 + 16.91*(10^6))^(1/2)/ (110*((x_6)^3)) -1 <= 0 con6 = ((745*(x_5)*((x_2)^-1)*((x_3)^-1))^2 + 157.5*(10^6))^(1/2)/ (85*((x_7)^3)) -1 <= 0 con7 = (x_2)*(x_3) - 40 <= 0 con8 = 5<= (x_1)/(x_2) <= 12 con9 = (x_1) - 12*(x_2) <= 0 con10 = (1.5*(x_6)+1.9)*((x_4)^-1) - 1 <= 0 con11 = (1.1*(x_7)+1.9)*((x_5)^-1) - 1 <= 0
%%Bound Constraints
2.6<(x_1)<3.6 0.7<(x_2)<0.8 17<(x_3)<28 7.3<(x_4)<8.3 7.3<(x_5)<8.3 2.9<(x_6)<3.9 5.0<(x_7)<5.5
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!