作业帮 > 综合 > 作业

LINGO错误提示index variables may not share names with other vari

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/10/03 03:22:43
LINGO错误提示index variables may not share names with other variables
demand/1..8/:b;
links(supply,demand):cost,x;
endsets
目标函数;
min=@sum(links:cost*x);
约束;
@for(demand(J):
@sum(supply(I):x(I,J))
你补充的不全啊,缺了头,应该是属性上设置冲突,不然你发我原程序,我看下:1194196435@qq.com