看看这个lingo程序哪里出错了?

问题描述:

看看这个lingo程序哪里出错了?
model:
sets:
de/1..8/:x,y;
fe/1..5/:f;
link(fe,de):W;
endsets
data:
x=5 7 5 4 6 5 5 3;
y=25 36 32 15 31 28 22 12;
L=20;
enddata
min=@sum(de:x*w(1,j))+@sum(de:x*w(2,j))+@sum(de:x*w(3,j))+@sum(de:x*w(4,j))+@sum(de:x*w(5,j))+0.66*Q^0.51*20;
@for(de:@bin(w(i,j)));
w(1,1)+w(2,1)+w(3,1)+w(4,1)+w(5,1)

model:
sets:
de/1..8/:x,y;
fe/1..5/:f;
link(fe,de):W;
endsets
data:
x=5 7 5 4 6 5 5 3;
y=25 36 32 15 31 28 22 12;
L=20;
enddata
min=@sum(link(i,j):x(1)*w(1,j))+@sum(link(i,j):x(2)*w(2,j))+@sum(link(i,j):x(3)*w(3,j))+@sum(link(i,j):x(4)*w(4,j))+@sum(link(i,j):x(5)*w(5,j))+
0.66*Q^0.51*20;
@for(link(i,j):@bin(w(i,j)));
w(1,1)+w(2,1)+w(3,1)+w(4,1)+w(5,1)