早教吧 育儿知识 作业答案 考试题库 百科 知识分享

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
▼优质解答
答案和解析
很多问题 最好找教程看看语法应该怎么写
lingo每句最后要有分号 max后面不要写别的参数 直接max=
乘法要写乘号 不需要subject to