请各位大大看看这个lingo程序哪里出错了?

问题描述:

请各位大大看看这个lingo程序哪里出错了?
model:
sets:
I/1..45/:x,y,c,b,t;
endsets
data:
c=64,88,193,193,128,120,120,120,110,120,64,247,190,210,70,85,192,195,128,120,120,120,110,160,70,256,190,210,190,205,110,160,70,256,190,210,190,190,210,200,150,150,180,70,120;
b=42,42,48,50,36,36,36,36,36,36,27,75,48,50,42,42,48,50,36,36,36,36,36,36,27,75,48,50,48,50,36,36,27,75,48,50,48,48,50,48,50,48,48,25,45;
t=40,40,50,48,45,45,48,45,40,45,40,45,48,50,40,40,50,48,45,45,48,45,40,45,40,45,48,50,48,50,40,45,40,45,48,50,48,48,50,48,50,48,48,50,48;
enddata
min=@sum(I:y*b*t);
@for(I:x>=0.8);
@for(I:x=0.95);
@sum(I:x*c)>=5600;
end

没有语法错误,可以得到结果,你那边有错是什么错误代码?换个版本试试,我空间有下载地址,自个找找.结果如下:Global optimal solution found.Objective value:70652.13Extended s...