lingo运行时出现错误代码29,而且第25行的分号那被标注错误了,求大佬帮助,感激不尽~问题出在哪儿呢
MODEL:Titlew2015211413;sets:MD/1..8/:NEED;SC/1..6/:PRO;PS/1..6/:n,t,z;link1(SC,PS):x,...
MODEL:Title w2015211413;sets: MD/1..8/:NEED; SC/1..6/:PRO; PS/1..6/:n,t,z; link1(SC,PS):x,w; link2(PS,MD):y,v;endsetsdata:x= 8 13 6 10 11 12 10 14 11 10 9 7 8 9 11 12 14 15 6 9 13 12 10 16 11 12 8 9 10 13 6 5 7 9 11 12;y= 7 8 9 7 4 5 6 10 9 14 4 10 5 9 10 9 12 13 6 8 9 7 11 6 11 9 10 6 13 8 9 7 8 7 11 5 11 15 14 13 10 6 13 6 8 12 9 15;w=65 45 40 30 35 30 5 6 8 4 4 7 40 30 35 40 40 30;v=4 3 5 6 3 3 3 4 2 4 2 6 3 4 3 3 3 5 7 2 6 5 2 4 2 2 5 3 4 2 5 6 4 4 2 3 4 4 2 5 3 5 3 4 2 2 5 5;t=8,7,8,6,6,6,6,6;NEED=15,10,10,15,15,10,25,15;PRO=15,20,15,20,20,25;enddata[OBJ]min=@sum(F(i)*Z(i))+@sum(link1(SC,PS):w(i)*x)+@sum(link2(PS,MD):y*Y(i,j))+@sum(w(k,i)*b(i));!目标函数;@for(@sum(w(k,i))<=A(k));@for(@sum(Y(i,j)>=D(j));@for(@sum(w(k,j)=@sum(Y(i,j));@for(@sum(w(k,i))-MZ(j)<=0);@for(@sum(w(k,i))<=Q(i));@for(@sum(Z(i))<=s);@for(@sum(Z(i))*@sum(t(i,j))<=n(j));END
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询