lingo程序运行错误model:sets:bed/bed1..bed7/;lebe/leb1..leb3/;operation/ope1..ope45/;links(lebe,operation):t,ta;llinks(lebe,operation,bed):x;endsetsmin=d2p;@for(operation(m):@for(bed(k):@for(lebe(j):@sum(links:t(m,j)*x(m,j,k))
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 15:57:54
lingo程序运行错误model:sets:bed/bed1..bed7/;lebe/leb1..leb3/;operation/ope1..ope45/;links(lebe,operation):t,ta;llinks(lebe,operation,bed):x;endsetsmin=d2p;@for(operation(m):@for(bed(k):@for(lebe(j):@sum(links:t(m,j)*x(m,j,k))
lingo程序运行错误
model:
sets:
bed/bed1..bed7/;
lebe/leb1..leb3/;
operation/ope1..ope45/;
links(lebe,operation):t,ta;
llinks(lebe,operation,bed):x;
endsets
min=d2p;
@for(operation(m):@for(bed(k):@for(lebe(j):
@sum(links:t(m,j)*x(m,j,k))
lingo程序运行错误model:sets:bed/bed1..bed7/;lebe/leb1..leb3/;operation/ope1..ope45/;links(lebe,operation):t,ta;llinks(lebe,operation,bed):x;endsetsmin=d2p;@for(operation(m):@for(bed(k):@for(lebe(j):@sum(links:t(m,j)*x(m,j,k))
集循环函数完全不对 集名后面要带上下标 @sum写了以后外面不要再对相应的集@for了 @sum已经是循环了