lingo错误代码11,运行不出,

问题描述:

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

title后面的分号用英文的 下标直接写1 2 3
比如Y(1)+Y(2) 先改好再看别的行吧改了,不过还是不好使,一直提示出错你先改了再发来看看好不 说了改完再看别的