LINGO 1017错误min=3*x1+3*x2+3*x3+3*x4+3*x5+3*x6+y1+y2+y3+y4+y5+y6+y7+y8+y9+2*z1+2*z2+s-p1-p2;s.t.x1+x2+x3+x4+x5+x60;y2-210*q2>0;y3-210*q3>0;y4-1450*q4>0;y5-480*q5>0;y6-580*q6>0;y7-50*q7>0;y8-1200*q8>0;y9-350*q9>0;z1-1500*z1>0;z2-1600*z2>0;p1-300*r1

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/18 22:16:16
xU]OA+}Dv~tkk͘ x ZZHPy«_UC~)lf[`Ԅvn_Uv [:i$A2Wu_|fOltwjp1v5?YkxH߷IUeUVLAUy\!oˇl)w_n7b0a`'./W59%jw&#;W*,s
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求解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……结 LINGO min 45;(x1+x2) ST x1+x2>=1 x1min 45;(x1+x2)STx1+x2>=1x1 min=19.7*0.93*x1+23.4*0.3*x2; min=0.4025*x1+0.155*x2;5*x1+4*x2+10*x3+2*x4+3*x5>=54;x都是整数,在lingo软件里面怎么解? 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=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最优化问题用Lingo集合(循环)编程求解:min z=-x1^2-x2^2-x3^2-x4^2+x1+2*x2+3*x3+4*x4s.t. x1+x2+x3+x4>=2 x1.x2.x3.x4∈{-1,1}程序里必须出现@sum和@for min=x1*log(x1)+x2*log(x2)+x3*log(x3);约束是x1+x2+x3=1; 为什么在lingo里报错.请大侠指导 min=x1*log(x1)+x2*log(x2)+x3*log(x3);约束是x1+x2+x3=1; 为什么在lingo里报错.请大侠指导 怎样用lingo编程求这个min=[(5+x1-2*x2)^2+225]^1/2*7.2+7.2*x2+[(8-x1)^2+225]^1/2*28.2;x1 多目标LINGO,现有3个目标X1,X2,X3.希望MIN=X1; MIN=X2; MAX=X3 求教怎么解决?三者间的地位同等.min=x1*X2/X3,转化为单目标之类的没感觉.求高招 LINGO 1017错误min=3*x1+3*x2+3*x3+3*x4+3*x5+3*x6+y1+y2+y3+y4+y5+y6+y7+y8+y9+2*z1+2*z2+s-p1-p2;s.t.x1+x2+x3+x4+x5+x60;y2-210*q2>0;y3-210*q3>0;y4-1450*q4>0;y5-480*q5>0;y6-580*q6>0;y7-50*q7>0;y8-1200*q8>0;y9-350*q9>0;z1-1500*z1>0;z2-1600*z2>0;p1-300*r1 帮我用lingo或者lindo算个题呗?x1+x4+x5+x6+x7>20x1+x2+x5+x6+x7>13x1+x2+x3+x6+x7>10x1+x2+x3+x4+x7>12x1+x2+x3+x4+x5+>16x2+x3+x4+x5+x6+>18x3+x4+x5+x6+x7>20格式不对也改下哈,>在lingo中应该和>=一样吧?min=(5x1+4x2+3x3+3x4+3x5+3x6+4x7) LINGO运行错误 too many inequality or equality relationsModel:min=160*(x1/2)^2*3.14+x1*240-160*x5*(x6+1);h1=70-70*x7/(x1/2*@sqrt(45*45-(45-45/4)^2));r1=@sqrt((l1-x7)^2-(h1)^2);l1=@sqrt((45-r1)^2+(h1)^2);x1>=220;x4=2;(40*x4)*(l1-x1/2+45+x7)>=x5;x6> 帮忙看下这个lingo语法哪错了 min=(((x1-1)^2+(y1-1)^2)^(1/2))*x11+[((x1-8)^2+y1^2)^(1/2)]*x12+ LINGO编程问题,代码在下面,运行说第三行有错误max=2*x1+x2;st5*x2 min=2*x1+3*x2; x1+x2>=350; x1>=100; 2*x1+x2 怎样在lingo里表示目标函数max{min{x1,x2},min{x3,x4},min{x5,x6}}