lingo错误1017MODELSETS:POLICE/P1..P4/;ROAD/R1,R2,R3,R4/;LINKS(POLICE,ROAD):TIME,X;ENDSETSDATA:TIME=12,12,23,12,34,12,43,32,23,43,54,43,54,32,12,12;ENDDATAMIN=@SUM(LINKS:TIME*X);@FOR(POLICE(I):@SUM(ROAD(J):X(I,J))=1);@FOR(ROAD(J):@SUM(POLICE(I):X(I,

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/27 20:35:31
lingo错误1017MODELSETS:POLICE/P1..P4/;ROAD/R1,R2,R3,R4/;LINKS(POLICE,ROAD):TIME,X;ENDSETSDATA:TIME=12,

lingo错误1017MODELSETS:POLICE/P1..P4/;ROAD/R1,R2,R3,R4/;LINKS(POLICE,ROAD):TIME,X;ENDSETSDATA:TIME=12,12,23,12,34,12,43,32,23,43,54,43,54,32,12,12;ENDDATAMIN=@SUM(LINKS:TIME*X);@FOR(POLICE(I):@SUM(ROAD(J):X(I,J))=1);@FOR(ROAD(J):@SUM(POLICE(I):X(I,
lingo错误1017
MODEL
SETS:
POLICE/P1..P4/;
ROAD/R1,R2,R3,R4/;
LINKS(POLICE,ROAD):TIME,X;
ENDSETS
DATA:
TIME=12,12,23,12,
34,12,43,32,
23,43,54,43,
54,32,12,12;
ENDDATA
MIN=@SUM(LINKS:TIME*X);
@FOR(POLICE(I):@SUM(ROAD(J):X(I,J))=1);
@FOR(ROAD(J):@SUM(POLICE(I):X(I,J))=1);
@FOR(LINKS:@BIN(X));
END

lingo错误1017MODELSETS:POLICE/P1..P4/;ROAD/R1,R2,R3,R4/;LINKS(POLICE,ROAD):TIME,X;ENDSETSDATA:TIME=12,12,23,12,34,12,43,32,23,43,54,43,54,32,12,12;ENDDATAMIN=@SUM(LINKS:TIME*X);@FOR(POLICE(I):@SUM(ROAD(J):X(I,J))=1);@FOR(ROAD(J):@SUM(POLICE(I):X(I,
model后面要加:
MODEL:
SETS:
POLICE/P1..P4/;
ROAD/R1,R2,R3,R4/;
LINKS(POLICE,ROAD):TIME,X;
ENDSETS
DATA:
TIME=12,12,23,12,
34,12,43,32,
23,43,54,43,
54,32,12,12;
ENDDATA
MIN=@SUM(LINKS:TIME*X);
@FOR(POLICE(I):@SUM(ROAD(J):X(I,J))=1);
@FOR(ROAD(J):@SUM(POLICE(I):X(I,J))=1);
@FOR(LINKS:@BIN(X));
END

lingo错误1017MODELSETS:POLICE/P1..P4/;ROAD/R1,R2,R3,R4/;LINKS(POLICE,ROAD):TIME,X;ENDSETSDATA:TIME=12,12,23,12,34,12,43,32,23,43,54,43,54,32,12,12;ENDDATAMIN=@SUM(LINKS:TIME*X);@FOR(POLICE(I):@SUM(ROAD(J):X(I,J))=1);@FOR(ROAD(J):@SUM(POLICE(I):X(I, lingo编程错误1017,modelsets:ycd/yc1..yc5/;wlyq/wl1..wl4/:z,e,f,c;!z、e都是0-1函数,0表示不存在,1表示存在;nmsc/nm1..nm30/:m;link1(ycd,wlyq):q,d,x;!q,d已知x为未知数;link2(wlyq,nmsc):r,l,y;!r,l已知y为未知数;a;!a表示一 lingo错误modelsets:xiaodi/1..4/:b;chandi/1..3/:a;link(chandi,xiaodi):c,x;endsetsdata:a=16 10 22;b=8 14 12 14;c=4 12 4 112 10 3 98 5 11 6;enddatamin=@sum(link(i,j):x(i,j)*c(i,j))@for(chandi(i):@sum(xiaodi(j):x(i,j)b(j)));end lingo矩阵输入错误29 lingo矩阵输入错误29 lingo求解,顺便看看目标函数还有没别的错误 lingo错误subscript out of range on attribute lingo使用错误在使用lingo时出现unexpected jacobian overflow contact lindo systems for patch availability是怎么回事?由于初学lingo所以还请大家多多指教, lingo两次求和modelsets:p1/1..4/:b;p2/1..4/;link(p2,p1):x,v;endsetsdata:v=2800 4500 6000 73002800 4500 6000 7300 2800 4500 6000 7300 2800 4500 6000 7300 ;b=15,10,20,12;enddatamin=@sum(link:x*v);@sum(p1(i):(@sum p2(j):x(i,j))) 请高手帮忙看下这个lingo程序哪里出错了?modelsets:myset/1..8/:T,S;myset1/1..3/:L;link(myset1,myset):x;endsetsdata:T=25 36 32 15 31 28 22 12S=5 7 5 4 6 5 5 3enddatamin=0.66*Q^0.51*20+@sum(myset(j):myset1(i):(@sum(x(i,j))));@sum(myset1(i) LINGO运行出现语法错误MODELsets:num_j/1..2/:x;num_k/1..3/:p,z,f;num_l/1..4/:d1,d2,g;link_lj(num_l,num_j):c;link_kl(num_k,num_l):w1,w2;endsetsdata:p=?;z=?0;!参数优先因子p和单目标问题的最优值z需在每一步求解输入实际数 lingo错误代码11,求改正modelsets:pingtai/p1..p20/;entrance/e1..e13/;links/pingtai,entrance/:time,path;endsetstime=@ole('1.xls',time);data:min=@sum(links:time*path);@for(entrance(j)@sum(pingtai(i):path(i,j))=1);@for(pingtai(i)@sum(entrance(j 怎么在lingo中使用括号,好像有括号的都显示是错误的 lingo错误求纠正0.0.数学建模作业明天就交了.速来 lingo中错误代码11,Invalid input .A syntax error has occured.3] I/1..4/; ^ 初学者哈modelsets:I/1 2 3 4/;J/1..4/:d;link(I,J):c,x;endsetsdata:d=60 70 120 60;x=70 72 74 760 72 74 760 0 80 820 0 0 76;min = @sum(link(i,j):c(i,j)*x(i,j));@for(J(j): LINGO 错误1017min=7.2*(((x1^2+(y1-5)^2)^(1/2))+((x1-15)^2+(y1-y2)^2)^(1/2)+(25+(8-y2)^2)^(1/2)+x1)+21*(25+(8-y2)^2)^(1/2)STx1>0x10y1 LINGO编程问题,代码在下面,运行说第三行有错误max=2*x1+x2;st5*x2 Lingo 错误代码 12-(data missing right parenthesis)运行时出现,数据缺少右括号的错误,这是怎么回事?