lingo 报错 model is ill defined
来源:学生作业帮 编辑:作业帮 分类:数学作业 时间:2024/11/07 16:43:51
lingo 报错 model is ill defined
model:
sets:
set1/1..4/:per,low,E,x,q,cost;
endsets
data:
per=1,2,4.5,6.5;
low=103,198,52,40;
q=2.5,1.5,5.5,2.6;
E=28,21,23,25;
M=?;
cost=0;
risk=?;
enddata
max=@sum(set1(i):x(i))+@sum(set1(i):cost(i));
@sum(set1(i)|i:x(i))=M;
cost(i)=@if(x(i)#gt#low(i),x(i)*per(i),low(i)*per(i));
@max(set1(j):(x(j)/M*q(j)))
model:
sets:
set1/1..4/:per,low,E,x,q,cost;
endsets
data:
per=1,2,4.5,6.5;
low=103,198,52,40;
q=2.5,1.5,5.5,2.6;
E=28,21,23,25;
M=?;
cost=0;
risk=?;
enddata
max=@sum(set1(i):x(i))+@sum(set1(i):cost(i));
@sum(set1(i)|i:x(i))=M;
cost(i)=@if(x(i)#gt#low(i),x(i)*per(i),low(i)*per(i));
@max(set1(j):(x(j)/M*q(j)))
说明语法是没有问题的,检查逻辑错误.
lingo 报错 model is ill defined
model is ill defined.lingo新手求助~
lingo运行出现model is ill defined
Lingo里出现Model is ill defined
lingo提示MODEL IS ILL DEFINED.
跪求lingo高手更正,提示model is ill defined,具体模型如下:
lingo 数模提示model is ill defined,SETS:租赁点坐标及其容量和7:00~8:30,11:0
model is ill lingo,高手帮帮忙!1
lingo报错,MODEL:sets:fac/a1..a49/:Fcus/b1..b49/;link(fac,cus):
lingo中model is illdefined什么意思?
小弟刚接触LINGO,实在是没辙了,编写完成后出现model is ill difined希望各位好心人帮助,十万火急,
lingo,@for函数莫名报错