lingo运行出错,求指教,错误代码是1017,什么意思,我用的是lingo9.0

2024-12-26 01:33:30
推荐回答(1个)
回答1:

lingo不支持a<=x<=b;的形式,必须分开成a<=x;x<=b;
另外你用的lingo9.0应该也有问题,建议换个版本,我空间有下载地址。。。
model:
max=(150/(14+t1)+690/(14+t4))*x1+(150/(14+t2)+690/(14+t5))*x2+(150/(14+t3)+690/(14+t6))*x3;
t1=3;
t2=t3;t3<=3;!;
@bnd(10,t4,20);!;
t5=t6;t6<=t4;!;
@bnd(3,x2,5);!;
@bnd(6,x3,9);!;
x1=15;
End