LINGO 报错

问题描述:

LINGO 报错
请大虾帮我指出哪里错了 程序总是报错 说我有语法错误
而且总是说最后一行有错
sets :
si/1..7/:x,rl;
sj/1..4/:y;
sk/1..5/:z;
endsets
data:
rl= 5 6 7 8 7 9 10;
enddata
min=25*@sum(si:x)+10*@sum(sj:y)+15*@sum(sk:z);
@for(si(i):(y(i)+z(i))=0);
@for(sj(j):y(j)>=0);
@for(sk(k):z(k)>=0);
@for(si(i):@GIN(x(i));
@for(sj(j):@GIN(y(j));
@for(sk(k):@GIN(z(k));
x(1)=rl(1);
x(2)=rl(2);
x(3)+z(1)=rl(3);
@for(si(i)|i#GE#4:x(i)+y(i-3)+z(i-2)=rl(i));

@for(si(i):@GIN(x(i));
@for(sj(j):@GIN(y(j));
@for(sk(k):@GIN(z(k));
这些后面缺括号,但是完了我运行说y溢出.我调试了半天也不行,估计我版本太低了是8的