lingo错误代码11,求改正
问题描述:
lingo错误代码11,求改正
model
sets:
pingtai/p1..p20/;
entrance/e1..e13/;
links/pingtai,entrance/:time,path;
endsets
time=@ole('1.xls',time);
data:
min=@sum(links:time*path);
@for(entrance(j)
@sum(pingtai(i):path(i,j))=1);
@for(pingtai(i)
@sum(entrance(j):path(i,j)#LE#1);
@bin(path);
end
答
model:sets:pingtai/p1..p20/;entrance/e1..e13/;links(pingtai,entrance):time,path;endsetsdata:time=@ole('1.xls',time);enddatamin=@sum(links:time*path);@for(entrance(j): @sum(pingtai(i):path(i,j))=1);@...