当前位置: > lingo显示check for undefined indices and/or conditions in expression:4错误信息是啥意思!...
题目
lingo显示check for undefined indices and/or conditions in expression:4错误信息是啥意思!
model:
sets:
wh/1..5/;
vd/1..4/;
LINK(wh,vd):c,x;
endsets
Data:
c=66.8,57.2,78,70,67.4
75.6,66,67.8,74.2,71
87,66.4,84.6,69.6,83.8
58.6,53,59.4,57.2,62.4;
enddata
min= @sum(link:c*x);
@for(wh(i):@sum(vd(j):x(i,j))

提问时间:2021-04-13

答案
model:
sets:
wh/1..5/;
vd/1..4/;
LINK(wh,vd):c,x;
endsets
Data:
c=66.8,57.2,78,70,67.4
75.6,66,67.8,74.2,71
87,66.4,84.6,69.6,83.8
58.6,53,59.4,57.2,62.4;
enddata
min= @sum(link:c*x);
@for(wh(i):@sum(vd(j):x(i,j))
举一反三
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
奥巴马演讲不用看稿子.为什么中国领导演讲要看?
想找英语初三上学期的首字母填空练习……
英语翻译
1,人们染上烟瘾,最终因吸烟使自己丧命.
版权所有 CopyRight © 2012-2019 超级试练试题库 All Rights Reserved.