lingo错误代码11,运行不出,MODEL:TITLE 交通流均衡;SETS:ROAD/AD,BD,CD,DG,EG,FG,JG,KH,KI/:Y;CAR/1,2,3,4,5/;LINK(CAR,ROAD):T,X;ENDSETSDATA:T=1.2,0.81,0.79,1.8,0.84,1,1.54,0.52,0.4681.64,1.62,1.5,3.5,1.65,1.9,3.0,1.1,0.93.25,3.15,3.12,7.1,3.

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/15 05:47:32
lingo错误代码11,运行不出,MODEL:TITLE交通流均衡;SETS:ROAD/AD,BD,CD,DG,EG,FG,JG,KH,KI/:Y;CAR/1,2,3,4,5/;LINK(CAR,RO

lingo错误代码11,运行不出,MODEL:TITLE 交通流均衡;SETS:ROAD/AD,BD,CD,DG,EG,FG,JG,KH,KI/:Y;CAR/1,2,3,4,5/;LINK(CAR,ROAD):T,X;ENDSETSDATA:T=1.2,0.81,0.79,1.8,0.84,1,1.54,0.52,0.4681.64,1.62,1.5,3.5,1.65,1.9,3.0,1.1,0.93.25,3.15,3.12,7.1,3.
lingo错误代码11,运行不出,
MODEL:
TITLE 交通流均衡;
SETS:
ROAD/AD,BD,CD,DG,EG,FG,JG,KH,KI/:Y;
CAR/1,2,3,4,5/;
LINK(CAR,ROAD):T,X;
ENDSETS
DATA:
T=1.2,0.81,0.79,1.8,0.84,1,1.54,0.52,0.468
1.64,1.62,1.5,3.5,1.65,1.9,3.0,1.1,0.9
3.25,3.15,3.12,7.1,3.28,3.6,6.1,2.3,1.68
6.1,6.4,6.1,14.2,6.45,7,12.35,4.5,3.3
12,12.3,12.4,28.3,12.6,13.5,22.18,9,6.9;
ENDDATA
[OBJ]MIN=@SUM(LINK:T*X);
[NODE_G] Y(@INDEX(AD))+Y(@INDEX(BD))+Y(@INDEX(CD))+Y(@INDEX(EG))+Y(@INDEX(FG))+Y(@INDEX(JG)) = 35.384;
[NODE_D] Y(@INDEX(AD))+Y(@INDEX(BD))+Y(@INDEX(CD))=Y(@INDEX(BG));
[NODE_K] Y(@INDEX(GK))=Y(@INDEX(KH)))+Y(@INDEX(KI));
@FOR( ROAD(I):[ROAD_LIM] @SUM(CAR(J):X(J,I)) = Y(I));
@FOR(LINK(I,J)|I#EQ#1:@BND(0,X(I,J),2) );
@FOR(LINK(I,J)|I#GT#1:@BND(0,X(I,J),1) );
END

lingo错误代码11,运行不出,MODEL:TITLE 交通流均衡;SETS:ROAD/AD,BD,CD,DG,EG,FG,JG,KH,KI/:Y;CAR/1,2,3,4,5/;LINK(CAR,ROAD):T,X;ENDSETSDATA:T=1.2,0.81,0.79,1.8,0.84,1,1.54,0.52,0.4681.64,1.62,1.5,3.5,1.65,1.9,3.0,1.1,0.93.25,3.15,3.12,7.1,3.
title后面的分号用英文的 下标直接写1 2 3
比如Y(1)+Y(2) 先改好再看别的行吧

lingo错误代码11,运行不出,MODEL:TITLE 交通流均衡;SETS:ROAD/AD,BD,CD,DG,EG,FG,JG,KH,KI/:Y;CAR/1,2,3,4,5/;LINK(CAR,ROAD):T,X;ENDSETSDATA:T=1.2,0.81,0.79,1.8,0.84,1,1.54,0.52,0.4681.64,1.62,1.5,3.5,1.65,1.9,3.0,1.1,0.93.25,3.15,3.12,7.1,3. Lingo 错误代码 12-(data missing right parenthesis)运行时出现,数据缺少右括号的错误,这是怎么回事? lingo程序如何运行 lingo错误代码11.貌似是定义集的语法问题. 联通宽带连接时,出错误代码: LINGO求助!程序运行一直提示1017错误代码,MODEL:SETS:PERIODS/1,2,3,4,5,6,7,8,9,10,11,12/:DEM,M,W,HF,LF,HS,LS,I,C,OF,OS,PTE,PTT,PTEW,PTET;ENDSETSMIN=@SUM(PERIODS:15*63*8*(M*6+W)+22.5*(OF+OS)+3000*(HF+HS)+2500*(LF+LS)+10*PTT+60*C+2*PTE+5*PTE LINGO求助!程序运行一直提示1017错误代码,MODEL:SETS:PERIODS/1,2,3,4,5,6,7,8,9,10,11,12/:DEM,M,W,HF,LF,HS,LS,I,C,OF,OS,PTE,PTT,PTEW,PTET;ENDSETSMIN=@SUM(PERIODS:15*63*8*(M*6+W)+22.5*(OF+OS)+3000*(HF+HS)+2500*(LF+LS)+10*PTT+60*C+2*PTE+5*PTE 为啥运行LINGO时会出现错误代码11,MODEL:SETS:CHSH/1..6/;LINKS(CHSH,CHSH)/1,2 1,3 2,3 2,4 3,5 4,3 4,6 5,4 5,6 6,1/:C,U,F;ENDSETSDATA:U=8,7,5,9,9,2,5,6,10,15;C=2,8,5,2,3,1,6,4,7,8;ENDDATDN= @SIZE(CHSH);F(6,1)=14;MIN= @MIN( LINKS(I,J)|I#LT#N:C lingo一直长时间的运行,不出结果,怎么办?model:sets:gongdian/1..8/:a;city/1..16/:b;links(gongdian,city):x,y,R,u;endsetsdata:a=223 290 381 289 300 286 330 200;b=110 200 168 101 158 110 110 180 128 104 129 138 130 195 198 140;R=13 11 11 17 lingo的运行错误问题我的lingo程序模型是这样:MODEL:SETS:QUARTERS/1..1000/:X;ENDSETSMIN = @SUM(QUARTERS(i)|@MOD(i,2)#EQ#0:X(i);) - @SUM(QUARTERS(i)|0#NE#@MOD(i,2):X(i););@for(QUARTERS(i):@sum(QUARTERS(i):X(i)) >= 1000 ;);@for(QUARTERS( VPDN拨号错误,没有错误代码,不知道是什么情况 lingo运行时说是在data出缺少右括号,但是我检查了以后觉得不是括号问题啊 怎么解决呢 目标函数的lingo语句(0-1变量)是不是写错了啊求大神指点!运行出的结果是没有计算运费的最优方案,但是不知道错在哪里…本程序是模型Ⅰ中张三的程序;model:最优网购问题;sets:定义变量部 一个LINGO的程序结果运行不出,MODEL:TITLE 交通流均衡;SETS:ROAD/AD,BD,CD,DG,EG,FG,JG,GK,KH,KI/:Y;CAR/1,2,3,4,5/;LINK(CAR,ROAD):T,X;ENDSETSDATA:T=1.2,0.81,0.79,1.8,0.84,1,1.54,1.69,0.52,0.4681.64,1.62,1.5,3.5,1.65,1.9,3.0,3.3,1.1,0.93.25, lingo一直长时间的运行,不出结果,怎么办?求大师指导.model:sets:gongdian/1..8/:a;city/1..16/:b;links(gongdian,city):x,y,R,u;endsetsdata:a=223 290 381 289 300 286 330 200;b=110 200 168 101 158 110 110 180 128 104 129 138 130 195 198 14 关于lingo的问题 运行不出结果啊model:min=x11 + x12 + x13 + x14 + x15 + x16 + x21 + x22 + x23 + x24 + x25 + x26 + x31 + x32 + x33 + x34 + x35 + x36 x41 + x42 + x43 + x44 + x45 + x46 + x51 + x52 + x51 + x54 + x55 + x56 + x61 + x62 + x63 + x6 lingo运行后错误代码为1017是什么意思,帮我改一下程序,model:max=240*(x1+x2+x3+x4+x5+x6)-2016*(W1+W2+W3+W4+W5+W6)-18*(E1+E2+E3+E4+E5+E6)-50*(H1+H2+H3+H4+H5+H6)-100*(L1+L2+L3+L4+L5+L6)-20*(S1+S2+S3+S4+S5+S6)-100*(P1+P2+P3+P4+P5+P6)-200 语句print 37 mod 5 运行的结果