lingo 错误1017 min=3203.5x1+4842.5x2+2980x3+4023x4+3650.5x5+4395.5x6+3312.5x7+4000x8+2625x9+3000x10+3500x11+3687.5x12+3125x13+480x14+278.4x15+480x16+432x17+480x18+19.2x19+19.2x20+38.4x21+57.6x22+57.6x23+240x24;1.27664a1+1.938396a2+1.27664a3+1.63779

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/23 02:19:13
lingo错误1017min=3203.5x1+4842.5x2+2980x3+4023x4+3650.5x5+4395.5x6+3312.5x7+4000x8+2625x9+3000x10+3500

lingo 错误1017 min=3203.5x1+4842.5x2+2980x3+4023x4+3650.5x5+4395.5x6+3312.5x7+4000x8+2625x9+3000x10+3500x11+3687.5x12+3125x13+480x14+278.4x15+480x16+432x17+480x18+19.2x19+19.2x20+38.4x21+57.6x22+57.6x23+240x24;1.27664a1+1.938396a2+1.27664a3+1.63779
lingo 错误1017
min=3203.5x1+4842.5x2+2980x3+4023x4+3650.5x5+4395.5x6+3312.5x7+4000x8+2625x9+3000x10+3500x11+3687.5x12+3125x13+480x14+278.4x15+480x16+432x17+480x18+19.2x19+19.2x20+38.4x21+57.6x22+57.6x23+240x24;
1.27664a1+1.938396a2+1.27664a3+1.637792a4+1.63515a5+1.938396a6+1.63515a7+1.938396a8+1.470144a9+1.62688a10+1.940352a11+1.940392a12+1.668a13+1.43a14+0.939291a15+1.575196a16+1.54a17+1.54a18+0.11005a19+0.1107a20+0.218325a21+0.3266a22+0.29039a23+1.17124a24<15;
1.27664b1+1.938396b2+1.27664b3+1.637792b4+1.63515b5+1.938396b6+1.63515b7+1.938396b8+1.470144b9+1.62688b10+1.940352b11+1.940392b12+1.668b13+1.43b14+0.939291b15+1.575196b16+1.54b17+1.54b18+0.11005b19+0.1107b20+0.218325b21+0.3266b22+0.29039b23+1.17124b24<19.2366;
1.27664c1+1.938396c2+1.27664c3+1.637792c4+1.63515c5+1.938396c6+1.63515c7+1.938396c8+1.470144c9+1.62688c10+1.940352c11+1.940392c12+1.668c13+1.43c14+0.939291c15+1.575196c16+1.54c17+1.54c18+0.11005c19+0.1107c20+0.218325c21+0.3266c22+0.29039c23+1.17124c24<22.72;
1.27664d1+1.938396d2+1.27664d3+1.637792d4+1.63515d5+1.938396d6+1.63515d7+1.938396d8+1.470144d9+1.62688d10+1.940352d11+1.940392d12+1.668d13+1.43d14+0.939291d15+1.575196d16+1.54d17+1.54d18+0.11005d19+0.1107d20+0.218325d21+0.3266d22+0.29039d23+1.17124d24<26.964;
1.27664e1+1.938396e2+1.27664e3+1.637792e4+1.63515e5+1.938396e6+1.63515e7+1.938396e8+1.470144e9+1.62688e10+1.940352e11+1.940392e12+1.668e13+1.43e14+0.939291e15+1.575196e16+1.54e17+1.54e18+0.11005e19+0.1107e20+0.218325e21+0.3266e22+0.29039e23+1.17124e24<74.90178;
522399.48*(0.215a1+0.325a2+0.2a3+0.27a4+0.245a5+0.295a6+0.265a7+0.32a8+0.21a9+0.24a10+0.28a11+0.295a12+0.25a13)+578672.91*(0.1a14+0.058a15+0.1a16+0.09a17+0.1a18+0.004a19+0.004a20+0.008a21+0.012a22+0.012a23+0.05a24)+1007701.51*(0.215b1+0.325b2+0.2b3+0.27b4+0.245b5+0.295b6+0.265b7+0.32b8+0.21b9+0.24b10+0.28b11+0.295b12+0.25b13)+1043402.41*(0.1b14+0.058b15+0.1b16+0.09b17+0.1b18+0.004b19+0.004b20+0.008b21+0.012b22+0.012b23+0.05b24)+795135.47*(0.215c1+0.325c2+0.2c3+0.27c4+0.245c5+0.295c6+0.265c7+0.32c8+0.21c9+0.24c10+0.28c11+0.295c12+0.25c13)+872801.59*(0.1c14+0.058c15+0.1c16+0.09c17+0.1c18+0.004c19+0.004c20+0.008c21+0.012c22+0.012c23+0.05c24)+131840.71*(0.215d1+0.325d2+0.2d3+0.27d4+0.245d5+0.295d6+0.265d7+0.32d8+0.21d9+0.24d10+0.28d11+0.295d12+0.25d13)+243181.05*(0.1d14+0.058d15+0.1d16+0.09d17+0.1d18+0.004d19+0.004d20+0.008d21+0.012d22+0.012d23+0.05d24)+2280590.31*(0.215e1+0.325e2+0.2e3+0.27e4+0.245e5+0.295e6+0.265e7+0.32e8+0.21e9+0.24e10+0.28e11+0.295e12+0.25e13)+2522307.4*(0.1e14+0.058e15+0.1e16+0.09e17+0.1e18+0.004e19+0.004e20+0.008e21+0.012e22+0.012e23+0.05e24)>=232824;

lingo 错误1017 min=3203.5x1+4842.5x2+2980x3+4023x4+3650.5x5+4395.5x6+3312.5x7+4000x8+2625x9+3000x10+3500x11+3687.5x12+3125x13+480x14+278.4x15+480x16+432x17+480x18+19.2x19+19.2x20+38.4x21+57.6x22+57.6x23+240x24;1.27664a1+1.938396a2+1.27664a3+1.63779
出现1017错误,说明你的lingo软件有问题,换个版本,我空间有下载地址,自个找找.
另外:lingo中不能省略乘号,自己都补上了,还有问题再说.
另外2:建议看下lingo中集的概念以及for和sum函数简化一下代码,不然写这么复杂自己累,别人也懒得看得.

LINGO 错误1017min=7.2*(((x1^2+(y1-5)^2)^(1/2))+((x1-15)^2+(y1-y2)^2)^(1/2)+(25+(8-y2)^2)^(1/2)+x1)+21*(25+(8-y2)^2)^(1/2)STx1>0x10y1 lingo程序错误1017model:sets:question(/1..i/):x,y;endsetsinit:x(1)=0;y(1)=0;endinit[obj] max=@sum(link(i,j):c(i))@for(question:(min(@sqrt((x(i)-x(i1))^2+(y(i)-y(j))^2))>=z););@for(question:(max(@sqrt((x(i)-x(i1))^2+(y(i)-y(j))^2)) lingo 错误1017min=0.4*(sqrt(2*150^2+(65*sqrt(2)+10)^2-2*(65*sqrt(2)+10)*p)+p*(1+exp(10-0.1*p^2))*atan(p/sqrt(2*150^2+(65*sqrt(2)+10^2)-2*(65*sqrt(2)+10)*p)));p^2-(65*sqrt(2)-p)^2 lingo 错误的1017我在model后面打过:model:sets:para/1..3/:y;warehouses/wh1..wh3/:capacity;vendors/v1..v4/:demand;links(warehouses,vendors):cost,volume;endsets目标函数;min=@sum(links:cost*volume)+91y(1)+70y(2)+24y(3);@for(para:@bin(y)); lingo 错误1017 min=3203.5x1+4842.5x2+2980x3+4023x4+3650.5x5+4395.5x6+3312.5x7+4000x8+2625x9+3000x10+3500x11+3687.5x12+3125x13+480x14+278.4x15+480x16+432x17+480x18+19.2x19+19.2x20+38.4x21+57.6x22+57.6x23+240x24;1.27664a1+1.938396a2+1.27664a3+1.63779 lingo中这样求解对么 为什么运行错误?Min= (x^2-(2-y)^2)^1/2+((4-x)^2+(4-y)^2)^1/2+y X<=4 Y<=4 LINGO错误提示index variables may not share names with other variablesdemand/1..8/:b;links(supply,demand):cost,x;endsets目标函数;min=@sum(links:cost*x);约束;@for(demand(J):@sum(supply(I):x(I,J)) lingo矩阵输入错误29 lingo矩阵输入错误29 lingo中输入min=x;1312.5x-y7.79为什么老是显示unexpected jacobian o lingo@min与@smin的区别 lingo 错误1017怎么办啊model:min=x1+x2+x3;x1*r11+x2*r12+x3*r13>=60;x1*r21+x2*r22+x3*r23>=11;x1*r31+x2*r32+x3*r33>=34;x1*r41+x2*r42+x3*r43>=20;5*r11+6*r21+9*r31+11*r41>=21;5*r12+6*r22+9*r32+11*r42>=21;5*r13+6*r23+9*r33+11*r43>=21;5*r11+6*r21+9*r3 lingo错误1017怎么办,在线等,急min=(a1+a2+a3+a4+a5+a6+a7+a8+a9+a10+b1+b2+b3+b4+b5+b6+b7+b8+b9+b10+c1+c2+c3+c4+c5+c6+c7+c8+c9+c10)*2000+(d1+d2+d3+d4+d5+d6+d7+d8+d9+d10+e1+e2+e3+e4+e5+e6+e7+e8+e9+e10+h1+h2+h3+h4+h5+h6+h7+h8+h9+h10+i1+i2+i3+i4+i5 lingo矩阵怎样用lingo软件或者MATLAB写出规划问题解min=sum|x(i)-c(i)|*d(i)条件a(i) LINGO min 45;(x1+x2) ST x1+x2>=1 x1min 45;(x1+x2)STx1+x2>=1x1 lingo中min=sqrt(x^2+(y-a)^2)+sqrt((x-b)^2+(y-c)^2)+y;为啥不对 lingo程序显示结果错误sets: warehouses/wh1..wh3/: capacity; vendors/v1..v4/: demand; links(warehouses,vendors): cost, volume;endsetsdata: capacity=50 65 70; demand=35 37 22 32; cost=6 2 6 7 4 9 5 3 5 2 1 9 enddata min=@s lingo求解min=x1^2+x1*x2+x2^2-60*x1-3*x2;结果错误Objective value:-900.0,此时X1=30.0,X2=0.0 但当x1,x2分别为39和-18时才取最小-1143怎么回事儿?并且改变x2系数时结果都一样:即将上式中-3改为3、5、6、7……结