求大神帮看看这个lingo代码,MODEL:SETS:FAMILY/1..30/:YON,BNUM,GNUM,BED,LIMIT;ENDSETSDATA:BED=3 3 4 3 4 3 3 4 3 3 4 3 3 2 2 5 1 3 3 2 4 2 1 4 1 4 5 4 3 1;LIMIT=0 0 2 1 1 1 2 1 0 0 0 0 2 2 0 2 2 0 0 0 2 0 0 0 0 1 1 2 0 0;ENDDATAMIN=@SUM(FAMILY:
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/05 13:51:53
求大神帮看看这个lingo代码,MODEL:SETS:FAMILY/1..30/:YON,BNUM,GNUM,BED,LIMIT;ENDSETSDATA:BED=3 3 4 3 4 3 3 4 3 3 4 3 3 2 2 5 1 3 3 2 4 2 1 4 1 4 5 4 3 1;LIMIT=0 0 2 1 1 1 2 1 0 0 0 0 2 2 0 2 2 0 0 0 2 0 0 0 0 1 1 2 0 0;ENDDATAMIN=@SUM(FAMILY:
求大神帮看看这个lingo代码,
MODEL:
SETS:
FAMILY/1..30/:YON,BNUM,GNUM,BED,LIMIT;
ENDSETS
DATA:
BED=3 3 4 3 4 3 3 4 3 3 4 3 3 2 2 5 1 3 3 2 4 2 1 4 1 4 5 4 3 1;
LIMIT=0 0 2 1 1 1 2 1 0 0 0 0 2 2 0 2 2 0 0 0 2 0 0 0 0 1 1 2 0 0;
ENDDATA
MIN=@SUM(FAMILY:YON);
@FOR(FAMILY:@BIN(YON));
@FOR(FAMILY:@GIN(BNUM));
@FOR(FAMILY:@GIN(GNUM));
@FOR(FAMILY:(BNUM+GNUM)
求大神帮看看这个lingo代码,MODEL:SETS:FAMILY/1..30/:YON,BNUM,GNUM,BED,LIMIT;ENDSETSDATA:BED=3 3 4 3 4 3 3 4 3 3 4 3 3 2 2 5 1 3 3 2 4 2 1 4 1 4 5 4 3 1;LIMIT=0 0 2 1 1 1 2 1 0 0 0 0 2 2 0 2 2 0 0 0 2 0 0 0 0 1 1 2 0 0;ENDDATAMIN=@SUM(FAMILY:
MODEL:
SETS:
FAMILY/1..30/:YON,BNUM,GNUM,BED,LIMIT;
ENDSETS
DATA:
BED=3 3 4 3 4 3 3 4 3 3 4 3 3 2 2 5 1 3 3 2 4 2 1 4 1 4 5 4 3 1;
LIMIT=0 0 2 1 1 1 2 1 0 0 0 0 2 2 0 2 2 0 0 0 2 0 0 0 0 1 1 2 0 0;
ENDDATA
MIN=@SUM(FAMILY:YON);
@FOR(FAMILY:@BIN(YON));
@FOR(FAMILY:@GIN(BNUM));
@FOR(FAMILY:@GIN(GNUM));
@FOR(FAMILY:(BNUM+GNUM)