帮我使用lingo或者matlab求解如下最小值规划问题
来源:学生作业帮 编辑:神马作文网作业帮 分类:综合作业 时间:2024/11/18 09:53:19
帮我使用lingo或者matlab求解如下最小值规划问题
min 283x1-1830x1^2-145.8x2+520.21x2^2+74
-978.42x1+4484.19x1^2-79.29x2-168.98x2^2+197.95>=150
-45.6x1+183x1^2+8.47x2-51.03x2^2+8.45>=7
0.01=
min 283x1-1830x1^2-145.8x2+520.21x2^2+74
-978.42x1+4484.19x1^2-79.29x2-168.98x2^2+197.95>=150
-45.6x1+183x1^2+8.47x2-51.03x2^2+8.45>=7
0.01=
model:
min=283*x1-1830*x1^2-145.8*x2+520.21*x2^2+74;
-978.42*x1+4484.19*x1^2-79.29*x2-168.98*x2^2+197.95>=150;
-45.6*x1+183*x1^2+8.47*x2-51.03*x2^2+8.45>=7;
0.01<=x1;
x1<=0.25;
0.01<=x2;
x2<=0.25;
end
再问: 好酷,灰常感谢
min=283*x1-1830*x1^2-145.8*x2+520.21*x2^2+74;
-978.42*x1+4484.19*x1^2-79.29*x2-168.98*x2^2+197.95>=150;
-45.6*x1+183*x1^2+8.47*x2-51.03*x2^2+8.45>=7;
0.01<=x1;
x1<=0.25;
0.01<=x2;
x2<=0.25;
end
再问: 好酷,灰常感谢