Sauerkraut739
2022-05-01 20:46
采纳率: 0%
浏览 23

lingo大规模规划

对s报错,报错代码21
sets:
T/1..104/:a,b,x,y,s;
endsets
data:
a=@ole('D\工作簿2.xlsx','A1:H13');
b=@ole('D\工作簿2.xlsx','A15:H27');
enddata

s=200y+101.5x+385-30a+5@sum(T(x))-30*@sum(T(b))+10*@sum(T(y));
49-8a-0.1x+@sum(T(x))-@sum(T(b))>0;
13-2*a+@sum(T(y))-@sum(T(b))>0;
min=@sum(T(s));

1条回答 默认 最新

相关推荐 更多相似问题