lingo错误代码1017model:sets:factory/p1..p6/:p;warhouse/w1..w4/:a,f,g;customer/c1..c6/:d;tr/tr1..tr4/:z;link1(factory,warhouse):c,w;link2(warhouse,customer):h,x;endsetsdata:p=40000 50000 60000 70000 60000 40000;a=70000 60000 70000 50000;f=500000 3
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/05 16:24:31
lingo错误代码1017model:sets:factory/p1..p6/:p;warhouse/w1..w4/:a,f,g;customer/c1..c6/:d;tr/tr1..tr4/:z;link1(factory,warhouse):c,w;link2(warhouse,customer):h,x;endsetsdata:p=40000 50000 60000 70000 60000 40000;a=70000 60000 70000 50000;f=500000 3
lingo 错误代码1017程序如下:(望大侠指正)Model:Sets:Yh/y1..y28/:D;wd/w1..w11/:I,R,V,wdx,F;sn/S1/;Linkssw(sn,wd):a,x;linkswy(wd,yh):b,y;EndsetsData:D=200 120 135 100 120 200 290 250 190 240 120 240 110 180 140 125 180 180 180 230 230
lingo错误代码1017,//源程序//model:sets:quarters/1,2,3,4/:dem,rp,op,inv;endsetsdata:dem=40,65,75,25;enddatamin=@sum(quarters(i):400*rp(i)+450*op(i)+25*inv(i));@for(quarters(i):rp(i)
lingo问题 错误代码29代码如下:model: !需求分配;sets: !定义集合;plant/p1..p8/: capacity; market/m1..m8/: demand; links(plant, market): cost, volume;endsetsmin=@sum(links: cost*volume); !目标函数;@for(market(J): @sum(plant(
LINGO 模型的代码 求高手版解决代码错误代码如下:model:sets :hang/1 2 3 4 5/:a;lie/1 2 3 4 5 6/;column/1 2 3 4 5/;links(hang,lie):x,y,s,c,d;link(hang,column):b;endsetsdata:a=60 100 30 40 50;b=0.5 0.70 0 0 0.300.1 0.2 0 0.3 00.2 0.60
lingo错误代码11.貌似是定义集的语法问题.
lingo运行后错误代码为1017是什么意思,帮我改一下程序,model:max=240*(x1+x2+x3+x4+x5+x6)-2016*(W1+W2+W3+W4+W5+W6)-18*(E1+E2+E3+E4+E5+E6)-50*(H1+H2+H3+H4+H5+H6)-100*(L1+L2+L3+L4+L5+L6)-20*(S1+S2+S3+S4+S5+S6)-100*(P1+P2+P3+P4+P5+P6)-200
LINGO求助!程序运行一直提示1017错误代码,MODEL:SETS:PERIODS/1,2,3,4,5,6,7,8,9,10,11,12/:DEM,M,W,HF,LF,HS,LS,I,C,OF,OS,PTE,PTT,PTEW,PTET;ENDSETSMIN=@SUM(PERIODS:15*63*8*(M*6+W)+22.5*(OF+OS)+3000*(HF+HS)+2500*(LF+LS)+10*PTT+60*C+2*PTE+5*PTE
LINGO求助!程序运行一直提示1017错误代码,MODEL:SETS:PERIODS/1,2,3,4,5,6,7,8,9,10,11,12/:DEM,M,W,HF,LF,HS,LS,I,C,OF,OS,PTE,PTT,PTEW,PTET;ENDSETSMIN=@SUM(PERIODS:15*63*8*(M*6+W)+22.5*(OF+OS)+3000*(HF+HS)+2500*(LF+LS)+10*PTT+60*C+2*PTE+5*PTE
下面的lingo程序有什么问题,错误代码是1017,unexpected Jacobian overflow:SETS:PORTE/1,2,3,4,5,6,7,8,9/:INCLUDEA;PORTW/1,2,3,4/:INCLUDEB;PAIREW(PORTE,PORTW):FREIGHT,CARGO,CARGOCOST,B,V,S,L;ENDSETSMAX=@SUM(PAIREW(I,J):FREIGHT(I,J)*CARGO(I
lingo中model is illdefined什么意思?
lingo错误代码11 MODEL DATA:P1=1.10352/1000000; P2=6.6121/1000000; P3=1.655278/10000; p4=4.138196/10000; p5=4.965835/1000; p6=6.6211134/1000; p7=0.050762; ENDDATA:s4=200; s5=10; s6=1; s7=60; r1
lingo tsp 错误代码 11 哪里错了啊MODEL:SETS:CITY / 1..20/:U;LINK( CITY,CITY):DIST,X;ENDSETSDATA:dist=0 9.7 12.2 7.8 10.4 7.6 4.6 12.8 10 11.2 10.2 16.1 9.8 10.7 17.2 14.8 9.5 11.8 7.45.1 0 10.5 6.1 8.9 5.2 9.4 3 5.7 2.8 8.3 7.8 2.9 1.2 14.9 3
lingo错误代码161model:sets:row/1..3/:z,dw,wtmax,wplus,wminus,bminus,bplus,cminus,cplus;column/1..3/:p;link(row,column):sminus,splus,q1minus,q1plus;endsetsdata:p=0.2 0.6 0.2;q1minus=3.2 7 143.2 7 143.2 7 14;q1plus=3.8 9 163.8 9 163.8 9 16;wtmax=7
lingo 错误代码11model:set:ljxqjh/1..49/:w;czhfjh/1..49/:c,p;ljhfjh(ljxqjh,czhfjh):d,y;endsetdata:数据省略enddatamin=@sum((ljczjh(i,j):d(i,j)*y(i,j)*w(i))+(czhfjh(j):p(j)*c(j)));@for(ljxqjh(i):@sum(czhfjh(j):y(i,j)=1));@for(ljczjh(i,j):@bin(
我在使用lingo 9.0的时候,出现错误代码1017.还有Unexpected Jacobian overflow原程序如下model:sets:city/1..5/:u; link(city,city):distance,x;endsetsdata:distance=0 14 12 7 1014 0 9 13 5 12 9 0 6 8 7 13 6 0 1110 5 8 11 0;enddatan=@size(c
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出现错误代码11,这是为什么?model:!目标函数;min=(0.005*((@log(1+k))^2+(@log(1+2*k))^2+(@log(1+3*k))^2+(@log(1+4*k))^2+(@log(1+5*k))^2))!/(@log(1+k)+@log(1+2*k)+@log(1+3*k)+@log(1+4*k)+@log(1+5*k));!约束条件;(@log