matlab中求函数极大值,有约束条件的,急.所求函数:Y1=-1.491+0.210*X1-0.191*X3+0.017*X5-0.001*X1*X1+0.010*X3*X3+0.005*X4*X4-0.001*X1*X2-0.005*X1*X4-0.0009*X1*X5+0.002*X2*X3Y2=0.213-0.062*X1-0.011*X4+0.001*X1*X5+0.0007*X2*X4+0.002*X3*X4
来源:学生作业帮助网 编辑:六六作业网 时间:2024/09/10 18:40:03
matlab中求函数极大值,有约束条件的,急.所求函数:Y1=-1.491+0.210*X1-0.191*X3+0.017*X5-0.001*X1*X1+0.010*X3*X3+0.005*X4*X4-0.001*X1*X2-0.005*X1*X4-0.0009*X1*X5+0.002*X2*X3Y2=0.213-0.062*X1-0.011*X4+0.001*X1*X5+0.0007*X2*X4+0.002*X3*X4
matlab中求函数极大值,有约束条件的,急.
所求函数:
Y1=-1.491+0.210*X1-0.191*X3+0.017*X5-0.001*X1*X1+0.010*X3*X3+0.005*X4*X4-0.001*X1*X2-0.005*X1*X4-0.0009*X1*X5+0.002*X2*X3
Y2=0.213-0.062*X1-0.011*X4+0.001*X1*X5+0.0007*X2*X4+0.002*X3*X4
Y3=2.221+4.008*X1+0.418*X2-5.848*X4-0.025*X1*X1-0.004*X2*X2+0.040*X4*X4-0.031*X1*X2-0.011*X1*X3-0.029*X1*X5+0.045*X2*X4-0.003*X2*X5+0.044*X4*X5
三个方程的约束条件都一样,约束条件:
x1=[0,30],x2=[0,50],x3=[0,20],x4=[0,20],x5=[50,120],x1+x2+x3+x4+x5=144.0
matlab中求函数极大值,有约束条件的,急.所求函数:Y1=-1.491+0.210*X1-0.191*X3+0.017*X5-0.001*X1*X1+0.010*X3*X3+0.005*X4*X4-0.001*X1*X2-0.005*X1*X4-0.0009*X1*X5+0.002*X2*X3Y2=0.213-0.062*X1-0.011*X4+0.001*X1*X5+0.0007*X2*X4+0.002*X3*X4
不是用matlab求解的,你参考一下,由于选的初始条件不一样,结果可能不对