芝酥糖
2022-05-28 15:40
采纳率: 0%
浏览 10

lingo报错,怎么改都不行

model
sets:
row/1..2/:b;
col/1..3/:c,x;
links(row,col):a;
endsets
data:
c=3 -1 -1
a=1 -2 1 4 -1 -2
b=11 -3
enddata
MAX=@sum(col:c*x);
@for(row(i):@sum(col(j):a(i,j)*x(j))<b(i));
-2x1+x3=1;
end

img


报错下标标了数字1,怎么改都显示报错

1条回答 默认 最新

相关推荐 更多相似问题