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,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