前辈帮忙求解非线性规划模型
最近在写小论文,遇到这样一个非线性规划模型,自己编程总是出现优化结果与所赋初值相同的问题,不知如何求解,希望前辈们可以帮忙!minf=(x1-0.10)^2+(x2-0.30)^2+(x3-0.15)^2+(x4-0.45)^2+(x1-0.50)^2+(x2-0.24)^2+(x3-0.01)^2+(x4-0.25)^2+(x1-0.10)^2+(x2-0.25)^2+(x3-0.20)^2+(x4-0.45)^2+(x1-0.50)^2+(x2-0.24)^2+(x3-0.01)^2+(x4-0.25)^2+(x1-0.15)^2+(x2-0.20)^2+(x3-0.20)^2+(x4-0.45)^2
约束条件为x1+x2+x3+x4=1,0.1<x1<0.5;0.2<x2<0.3;0.01<x3<0.2;0.25<x1<0.45;
小妹初学matlab,希望多多指教!
页:
[1]