早教吧作业答案频道 -->数学-->
lingo运行小错误:toomanyinequalityorequalityralationmaxw=3.4x41+2.85x42+2.25x43-(2(x41x11+x42x12+x43x13)+1.5(x41x21+x42x22+x43x23)+(x41x31+x42x32+x43x33)+0.5x41+0.4x42+0.3x43)subjecttox11+x21+x31=1x12+x22+x32=1x13+x23+x33=1x11>=0.6x12>=
题目详情
lingo运行小错误:too many inequality or equality ralation
max w=3.4x41+2.85x42+2.25x43-(2(x41x11+x42x12+x43x13)+1.5(x41x21+x42x22+x43x23)+(x41x31+x42x32+x43x33)+0.5x41+0.4x42+0.3x43)
subject to
x11+x21+x31=1
x12+x22+x32=1
x13+x23+x33=1
x11>=0.6 x12>=0.15 x31>=0.3 x32=0 x23>=0 x31>=0 x32>=0 x33>=0 x41>=0 x42>=0 x43>=0
end
这其中先先x41,x42,x43原先是y1,y2,y3
max w=3.4x41+2.85x42+2.25x43-(2(x41x11+x42x12+x43x13)+1.5(x41x21+x42x22+x43x23)+(x41x31+x42x32+x43x33)+0.5x41+0.4x42+0.3x43)
subject to
x11+x21+x31=1
x12+x22+x32=1
x13+x23+x33=1
x11>=0.6 x12>=0.15 x31>=0.3 x32=0 x23>=0 x31>=0 x32>=0 x33>=0 x41>=0 x42>=0 x43>=0
end
这其中先先x41,x42,x43原先是y1,y2,y3
▼优质解答
答案和解析
很多问题 最好找教程看看语法应该怎么写
lingo每句最后要有分号 max后面不要写别的参数 直接max=
乘法要写乘号 不需要subject to
lingo每句最后要有分号 max后面不要写别的参数 直接max=
乘法要写乘号 不需要subject to
看了lingo运行小错误:toom...的网友还看了以下:
二进制转十进制这样计算对吗《1000001000》0*2^0+0*2^1+0*2^2+1*2^3+ 2020-04-07 …
5×0.7=0.43×5=3.6÷0.9-4=240÷37≈3.6-0.36=8.1-2.2=0. 2020-04-07 …
口算2.4+0.73=3.08×4=537-99=2.6×0.3=3-0.71-0.19=8-0. 2020-04-07 …
请帮我算下这个数独的答案,{4,2,0,0,9,0,0,0,0}{5,0,7,3,0,0,0,0, 2020-04-26 …
上面写不下,我写在下面填符号1.(1)1/2()0.4()3/10()0.1=1(2)1/2()0 2020-05-13 …
数学建模的lingo软件怎么用LINGO软件编程:MIN=X1+X2+X3+X4+X5;X1*(2 2020-05-16 …
matlab solve函数求解a='x=0.5*9.8*0.6^2/pi*tanh(2*pi*0 2020-05-16 …
matlab怎么求曲线最大值x=0:0.01:pi*2;i=5.515*0.045*(1480*p 2020-05-16 …
已知三个点,求法向矢量,是不是不同算法会得出不同的向量的?譬如(0,1,0),(3,2,0),(0 2020-07-01 …
0.1*0.3*0.9+0.2*0.6*1.8+0.3*0.9*2.7/0.1*0.2*0.4+0 2020-07-26 …