帮我看看这个lingo模型语法哪里错误了啊,max=6610.23*x1+11365.8*x2+7928.42*x3+9220.45*x4+27501.25*x5+198750*x6+21836.25*x7+1718.85*x8+97.03*x9+316.90*x10+91.54*x11+56.54*x12+244*x13+216*x14+714*x15x1+x2+x3+x4+x5+x6+x7+x8+x9+x10≤725;6
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/27 05:58:07
帮我看看这个lingo模型语法哪里错误了啊,max=6610.23*x1+11365.8*x2+7928.42*x3+9220.45*x4+27501.25*x5+198750*x6+21836.25*x7+1718.85*x8+97.03*x9+316.90*x10+91.54*x11+56.54*x12+244*x13+216*x14+714*x15x1+x2+x3+x4+x5+x6+x7+x8+x9+x10≤725;6
帮我看看这个lingo模型语法哪里错误了啊,
max=6610.23*x1+11365.8*x2+7928.42*x3+9220.45*x4+27501.25*x5+198750*x6+21836.25*x7+1718.85*x8+97.03*x9+316.90*x10+91.54*x11+56.54*x12+244*x13+216*x14+714*x15
x1+x2+x3+x4+x5+x6+x7+x8+x9+x10≤725;
6477.27*x1+3543*x2+3000*x3>=34456.8
2511.36*x4>=7618
x5+x6=580
x9>=307.83
5181.82*x1+283.44*x2+376.7*x4>=100*x12+86*x14+220*x15
647.73*x1+354.3*x2+1211.38x10>=800x12+450x14+90x15
x11=0
x13=0
x1>0
x2>0
x3>0
x4>0
x5>0
x6>0
x7>0
x8>0
x9>0
x10>0
x12>0
x14>0
x15>0
end
帮我看看这个lingo模型语法哪里错误了啊,max=6610.23*x1+11365.8*x2+7928.42*x3+9220.45*x4+27501.25*x5+198750*x6+21836.25*x7+1718.85*x8+97.03*x9+316.90*x10+91.54*x11+56.54*x12+244*x13+216*x14+714*x15x1+x2+x3+x4+x5+x6+x7+x8+x9+x10≤725;6
漏掉不少的分号,还有有的用中文状态下输入是错误的,另外lingo默认变量时非负的,如果仅是大于等于零可不必写.
max=6610.23*x1+11365.8*x2+7928.42*x3+9220.45*x4+27501.25*x5+198750*x6+21836.25*x7+1718.85*x8+97.03*x9+316.90*x10+91.54*x11+56.54*x12+244*x13+216*x14+714*x15;
x1+x2+x3+x4+x5+x6+x7+x8+x9+x10=34456.8;
2511.36*x4>=7618;
x5+x6=580;
x9>=307.83;
5181.82*x1+283.44*x2+376.7*x4>=100*x12+86*x14+220*x15;
647.73*x1+354.3*x2+1211.38*x10>=800*x12+450*x14+90*x15;
x11=0;
x13=0;
end
分号都没了