LINGO运行错误1017model:Title AlocationSETS:machine/1..8/:c,v;segment/1..10/;link(machine,segment):a,k,m;ENDSETSDATA:c=120 73 180 80 125 125 81.1 90;v=2.2 1 3.2 1.3 1.8 2 1.4 1.8;a=-505 0 124 168 210 252 312 330 363 489-560 0 182 203 245 300 320 3

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/30 10:39:37
xT[OA+Li粳!oƇRW,<{Dhx1ޢ1 F33 l_mgv\| s?w 6_9zjX-TZkrUi6gsRzfx:erz.FKp jFu̢R7+z0[Afs |DZi=ЖTPL>.8HS2'4 ( ZW3'OLj=bB{q2D6D(OAJZQg:2P#q!
lingo运行错误improper use of attribute name,model:sets:chan/c1..c10/:p,q,w,f;xie/1..5/:d;links(chan,xie):x,c,l,a,b,t;endsets@for(chan(i):@sum(xie(j):x(i,j)) lingo程序运行错误model:sets:bed/bed1..bed7/;lebe/leb1..leb3/;operation/ope1..ope45/;links(lebe,operation):t,ta;llinks(lebe,operation,bed):x;endsetsmin=d2p;@for(operation(m):@for(bed(k):@for(lebe(j):@sum(links:t(m,j)*x(m,j,k)) LINGO运行错误1017model:Title AlocationSETS:machine/1..8/:c,v;segment/1..10/;link(machine,segment):a,k,m;ENDSETSDATA:c=120 73 180 80 125 125 81.1 90;v=2.2 1 3.2 1.3 1.8 2 1.4 1.8;a=-505 0 124 168 210 252 312 330 363 489-560 0 182 203 245 300 320 3 lingo的运行错误问题我的lingo程序模型是这样:MODEL:SETS:QUARTERS/1..1000/:X;ENDSETSMIN = @SUM(QUARTERS(i)|@MOD(i,2)#EQ#0:X(i);) - @SUM(QUARTERS(i)|0#NE#@MOD(i,2):X(i););@for(QUARTERS(i):@sum(QUARTERS(i):X(i)) >= 1000 ;);@for(QUARTERS( lingo利用for循环,有错误1 lingo有没有真为1这么一说2 @for(lianxi(i,j)| i #NE# j:(T(i)#EQ#1)*@floor((i+4)/5) #NE# (T(j)#EQ#1)*@floor((j+4)/5)); (j+4)/5))); 这句话哪有错误.整个程序是model:sets:jiaoshi/1..45/:dianliang,zuowei,K lingo程序如何运行 lingo 找错 for循环有问题(在线等)我是初学者,运行时显示错误为:subscript out of range on attribute 似乎说是指标超出范围,不是很懂!model:sets:year/1..5/:n,n1,n2,n3,n4,q4;endsetsdata:n1=122000000000,;n2=2970000000 lingo多元方程组model:ly1=200;ly2=360;vs1=1.47;vs2=2.11;vr=1.5;t1*(vs1+vr*z1)=lx1;t1*vr*(1-z1^2)^(1/2)=ly1;t2*(vs2+vr*z2)=lx2;t2*vr*(1-z2^2)^(1/2)=ly2;lx1+lx2=500;end为什么运行有错误求 t1+t2的 最小值 急求运行LINGO出现unexpected jacobian overflow错误,代码如下,希望大牛帮忙指出哪错了.MODEL:SETS:WH/W1..W13/:Q,C;NE/N1..N13/:N;LINKS(WH,NE):W,B;ENDSETSDATA:C=2,1,4,4,4,5,3,2,1,4,3,10,8;N=48757.8,29912.3,76360.4,68715.1,61605.9,1724 关于LINGO使用的问题,以下代码哪里有错误?无法运行啊model:sets:object/1..3/:f;endsetsdata:a,b = 3,4;!两个直角边长,修改很方便;enddataf (1) = a*@sin(x);f (2) = b*@cos(x);!从这一行开始提醒有语法错误;f (3) = lingo中这个INVALIDSETNAME.错误怎么改model:sets:bzx/1..7/:x,y,t,w,n;endsetsmin=20.4*10^2-@sum(bzx(i):(t(i)*x(i)+t(i)*y(i)));@for(bzx(i):@gin(x(i))); @for(bzx(i):@gin(y(i)));@for( @sum(bzx(i)|i#gt#4:t(i)*x(i)+t(i)*y(i)) 一个LINGO的程序结果运行不出,MODEL:TITLE 交通流均衡;SETS:ROAD/AD,BD,CD,DG,EG,FG,JG,GK,KH,KI/:Y;CAR/1,2,3,4,5/;LINK(CAR,ROAD):T,X;ENDSETSDATA:T=1.2,0.81,0.79,1.8,0.84,1,1.54,1.69,0.52,0.4681.64,1.62,1.5,3.5,1.65,1.9,3.0,3.3,1.1,0.93.25, lingo错误代码11,运行不出,MODEL:TITLE 交通流均衡;SETS:ROAD/AD,BD,CD,DG,EG,FG,JG,KH,KI/:Y;CAR/1,2,3,4,5/;LINK(CAR,ROAD):T,X;ENDSETSDATA:T=1.2,0.81,0.79,1.8,0.84,1,1.54,0.52,0.4681.64,1.62,1.5,3.5,1.65,1.9,3.0,1.1,0.93.25,3.15,3.12,7.1,3. 为什么下面程序用lingo运行时出现subscript out of range on attribute 求解释?model:sets: cities/s,a1,a2,a3,b1,b2,c1,c2,t/:l; roads(cities,cities)/ s,a1 s,a2 s,a3 a1,b1 a1,b2 a2,b1 a2,b2 a3,b1 a3,b2 b1,c1 b1,c2 b2,c1 b2,b2 c1,t c2 lingo运行出现model is ill defined我的代码:model:sets:duration/1..27/:t;start/1..240/;restrain/1..39/:m,n,c;c_a(start,duration):a;endsetsdata:t=30,41,40,70,40,80,32,24,50,80,10,44,90,23,21,50,36,55,70,70,90,42,44,50,70,90,12;m=17,17,16,16,16 lingo运行问题Model:max=2.28*y2+4.56*y3+3.34*y4+6.68*y5+12.65*y6;y1*t1+y2*t2+y3*t3+y4*t4+y5*t5+y6*t6 lingo中model is illdefined什么意思? LINGO问题 我找了一个程序 自己改了改,运行出错了,求大侠帮忙.model:sets:v/1..20/:a,b,d,n,m; endsetsmin=w;w=@sum(v(i):a*b*d)*t;@sum(v(i):n*d)>=k1;@sum(v(i):n*d)=0.8*m);@for(v(i):n