早教吧作业答案频道 -->其他-->
求高手看看这一段lingo程序有什么错误。model:maxz=35*x11+12*x12+16*x13+38*x14+5*x15+2*x16+25*x21+8*x22+9*x23+24*x24+6*x25+8*x26+12*x31+8*x32+11*x33+27*x34+3*x35+2*x36+38*x41+15*x42+14*x43+39*x44+2*x45+9*x46+0*x51+9*x52+8*x53+25*x54+10*
题目详情
求高手看看这一段lingo程序有什么错误。
model:
max z=35*x11+12*x12+16*x13+38*x14+5*x15+2*x16+25*x21+8*x22+9*x23+24*x24+6*x25+8*x26+12*x31+8*x32+11*x33+27*x34+3*x35+2*x36+38*x41+15*x42+14*x43+39*x44+2*x45+9*x46+0*x51+9*x52+8*x53+25*x54+10*x55+5*x56+0*x61+0*x62+0*x63+14*x64+6*x65+7*x66;
x11+x21+x31+x41+x51+x61=1;
x12+x22+x32+x42+x52+x62=1;
x13+x23+x33+x43+x53+x63=1;
x14+x24+x34+x44+x54+x64=1;
x15+x25+x35+x45+x55+x65=1;
x16+x26+x36+x46+x56+x66=1;
x11+x12+x13+x14+x15+x16=1;
x21+x22+x23+x24+x25+x26=1;
x31+x32+x33+x34+x35+x36=1;
x41+x42+x43+x44+x45+x46=1;
x51+x52+x53+x54+x55+x56=1;
x61+x62+x63+x64+x65+x66=1;
@bin(x11);@bin(x12);@bin(x13);@bin(x14);@bin(x15);@bin(x16);
@bin(x21);@bin(x22);@bin(x23);@bin(x24);@bin(x25);@bin(x26);
@bin(x31);@bin(x32);@bin(x33);@bin(x34);@bin(x35);@bin(x36);
@bin(x41);@bin(x42);@bin(x43);@bin(x44);@bin(x45);@bin(x46);
@bin(x51);@bin(x52);@bin(x53);@bin(x54);@bin(x55);@bin(x56);
@bin(x61);@bin(x62);@bin(x63);@bin(x64);@bin(x65);@bin(x66);
end
model:
max z=35*x11+12*x12+16*x13+38*x14+5*x15+2*x16+25*x21+8*x22+9*x23+24*x24+6*x25+8*x26+12*x31+8*x32+11*x33+27*x34+3*x35+2*x36+38*x41+15*x42+14*x43+39*x44+2*x45+9*x46+0*x51+9*x52+8*x53+25*x54+10*x55+5*x56+0*x61+0*x62+0*x63+14*x64+6*x65+7*x66;
x11+x21+x31+x41+x51+x61=1;
x12+x22+x32+x42+x52+x62=1;
x13+x23+x33+x43+x53+x63=1;
x14+x24+x34+x44+x54+x64=1;
x15+x25+x35+x45+x55+x65=1;
x16+x26+x36+x46+x56+x66=1;
x11+x12+x13+x14+x15+x16=1;
x21+x22+x23+x24+x25+x26=1;
x31+x32+x33+x34+x35+x36=1;
x41+x42+x43+x44+x45+x46=1;
x51+x52+x53+x54+x55+x56=1;
x61+x62+x63+x64+x65+x66=1;
@bin(x11);@bin(x12);@bin(x13);@bin(x14);@bin(x15);@bin(x16);
@bin(x21);@bin(x22);@bin(x23);@bin(x24);@bin(x25);@bin(x26);
@bin(x31);@bin(x32);@bin(x33);@bin(x34);@bin(x35);@bin(x36);
@bin(x41);@bin(x42);@bin(x43);@bin(x44);@bin(x45);@bin(x46);
@bin(x51);@bin(x52);@bin(x53);@bin(x54);@bin(x55);@bin(x56);
@bin(x61);@bin(x62);@bin(x63);@bin(x64);@bin(x65);@bin(x66);
end
▼优质解答
答案和解析
格式有问题 要写max= 而不是max z=
model:
max=35*x11+12*x12+16*x13+38*x14+5*x15+2*x16+25*x21+8*x22+9*x23+24*x24+6*x25+8*x26+12*x31+8*x32+11*x33+27*x34+3*x35+2*x36+38*x41+15*x42+14*x43+39*x44+2*x45+9*x46+0*x51+9*x52+8*x53+25*x54+10*x55+5*x56+0*x61+0*x62+0*x63+14*x64+6*x65+7*x66;
x11+x21+x31+x41+x51+x61=1;
x12+x22+x32+x42+x52+x62=1;
x13+x23+x33+x43+x53+x63=1;
x14+x24+x34+x44+x54+x64=1;
x15+x25+x35+x45+x55+x65=1;
x16+x26+x36+x46+x56+x66=1;
x11+x12+x13+x14+x15+x16=1;
x21+x22+x23+x24+x25+x26=1;
x31+x32+x33+x34+x35+x36=1;
x41+x42+x43+x44+x45+x46=1;
x51+x52+x53+x54+x55+x56=1;
x61+x62+x63+x64+x65+x66=1;
@bin(x11);@bin(x12);@bin(x13);@bin(x14);@bin(x15);@bin(x16);
@bin(x21);@bin(x22);@bin(x23);@bin(x24);@bin(x25);@bin(x26);
@bin(x31);@bin(x32);@bin(x33);@bin(x34);@bin(x35);@bin(x36);
@bin(x41);@bin(x42);@bin(x43);@bin(x44);@bin(x45);@bin(x46);
@bin(x51);@bin(x52);@bin(x53);@bin(x54);@bin(x55);@bin(x56);
@bin(x61);@bin(x62);@bin(x63);@bin(x64);@bin(x65);@bin(x66);
end
model:
max=35*x11+12*x12+16*x13+38*x14+5*x15+2*x16+25*x21+8*x22+9*x23+24*x24+6*x25+8*x26+12*x31+8*x32+11*x33+27*x34+3*x35+2*x36+38*x41+15*x42+14*x43+39*x44+2*x45+9*x46+0*x51+9*x52+8*x53+25*x54+10*x55+5*x56+0*x61+0*x62+0*x63+14*x64+6*x65+7*x66;
x11+x21+x31+x41+x51+x61=1;
x12+x22+x32+x42+x52+x62=1;
x13+x23+x33+x43+x53+x63=1;
x14+x24+x34+x44+x54+x64=1;
x15+x25+x35+x45+x55+x65=1;
x16+x26+x36+x46+x56+x66=1;
x11+x12+x13+x14+x15+x16=1;
x21+x22+x23+x24+x25+x26=1;
x31+x32+x33+x34+x35+x36=1;
x41+x42+x43+x44+x45+x46=1;
x51+x52+x53+x54+x55+x56=1;
x61+x62+x63+x64+x65+x66=1;
@bin(x11);@bin(x12);@bin(x13);@bin(x14);@bin(x15);@bin(x16);
@bin(x21);@bin(x22);@bin(x23);@bin(x24);@bin(x25);@bin(x26);
@bin(x31);@bin(x32);@bin(x33);@bin(x34);@bin(x35);@bin(x36);
@bin(x41);@bin(x42);@bin(x43);@bin(x44);@bin(x45);@bin(x46);
@bin(x51);@bin(x52);@bin(x53);@bin(x54);@bin(x55);@bin(x56);
@bin(x61);@bin(x62);@bin(x63);@bin(x64);@bin(x65);@bin(x66);
end
看了求高手看看这一段lingo程序...的网友还看了以下:
根据如表数据,下列选项正确的是()化学式CH3COOHH2SO3NH3•H2O电离常数K(25℃) 2020-04-11 …
按照我的格式检验方程的是叫你填写的小的x=英文x大的X=乘(x+8)÷0.5=20用我的格式检验x 2020-05-14 …
橡胶棒与毛皮摩擦后,带上4.8×10的负19次方C的负电.在摩擦过程中,橡胶棒获得了个电子?橡胶棒 2020-05-22 …
废铅蓄电池的一种回收利用工艺流程如图所示:部分难溶电解质的性质如表:物质Ksp(25℃)颜色PbS 2020-06-30 …
自考.工程经济学.(F/P,8%,5)=1.469(P/F,8%,5)=0.6806(F/A,8% 2020-07-18 …
已知25℃时一些难溶物质的溶度积常数如下:化学式Zn(OH)2ZnSAgClAg2SMgCO3Mg 2020-07-18 …
(1/2+1/3+1/4+...+1/10)+(2/3+2/4+2/5+...+2/10)+(3/ 2020-07-20 …
小弟不才,有几题c语言的问题请教大虾,还请答疑解惑!1.以下程序的输出结果是#include"std 2020-11-15 …
1-9分之4加9分之5=简便10.15-6.25-3.75+7.856.48÷(3.3-2.7)×0 2020-11-28 …
脱式计算能简算的要简算5分之23*10分之9+5分之27除9分之10过程(9分之8-3分之1)除(1 2020-12-17 …