lingo问题
我的lingo11为什么运行不了lingo的语句啊,只能运行lindo语句我是个新手求解答
我的代码如下
model:
sets:
chandi/1..3/:a;
yonghu/1..4/:b,d;
routes(chandi,yonghu):c,x;
endsets
data:
a=50,60,50;
b=30,70,10,10;
d=80,140,30,50;
c=160,130,220,170,
140,130,190,150,
190,200,230,99999999999;
enddata
min=@sum(routes:c*x);
@for(chandi(i):@sum(yonghu(j):x(i,j))=a(i));
@for(yonghu(j):@sum(chandi(i):x(i,j))<=d(j));
@for(yonghu(j):@sum(chandi(i):x(i,j))>=d(j));
end 我运行提示你的问题没有可行解呀,是不是模型有问题!
页:
[1]