lingo 提示错误:missing right parenthesissets:well/w1..w7/:m,n;point/p1..p7/:x,y;links(well,point):pro,dist;endsets目标函数;min=@sum(links:pro*dist);@for(point(J):@sum(well(I):dist(I,J)=sqrt((x(J)-m(I))^2+(y(J)-n(I))^2)));数据;data:m=23 7

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/26 13:25:27
lingo提示错误:missingrightparenthesissets:well/w1..w7/:m,n;point/p1..p7/:x,y;links(well,point):pro,dist;

lingo 提示错误:missing right parenthesissets:well/w1..w7/:m,n;point/p1..p7/:x,y;links(well,point):pro,dist;endsets目标函数;min=@sum(links:pro*dist);@for(point(J):@sum(well(I):dist(I,J)=sqrt((x(J)-m(I))^2+(y(J)-n(I))^2)));数据;data:m=23 7
lingo 提示错误:missing right parenthesis
sets:
well/w1..w7/:m,n;
point/p1..p7/:x,y;
links(well,point):pro,dist;
endsets
目标函数;
min=@sum(links:pro*dist);
@for(point(J):
@sum(well(I):dist(I,J)=sqrt((x(J)-m(I))^2+(y(J)-n(I))^2)));
数据;
data:
m=23 7 4 52 36 18 82;
n=39 12 82 31 13 11 66;
x=23 7 4 52 36 18 82;
y=39 12 82 31 13 11 66;
pro=19 39 63 23 26 17 54;
enddata
end

lingo 提示错误:missing right parenthesissets:well/w1..w7/:m,n;point/p1..p7/:x,y;links(well,point):pro,dist;endsets目标函数;min=@sum(links:pro*dist);@for(point(J):@sum(well(I):dist(I,J)=sqrt((x(J)-m(I))^2+(y(J)-n(I))^2)));数据;data:m=23 7
@sum那里括号放错了位置,pro数据个数不够.暂时就发现这两个错误

Lingo 错误代码 12-(data missing right parenthesis)运行时出现,数据缺少右括号的错误,这是怎么回事? lingo 提示错误:missing right parenthesissets:well/w1..w7/:m,n;point/p1..p7/:x,y;links(well,point):pro,dist;endsets目标函数;min=@sum(links:pro*dist);@for(point(J):@sum(well(I):dist(I,J)=sqrt((x(J)-m(I))^2+(y(J)-n(I))^2)));数据;data:m=23 7 【急】lingo程,为何提示错误missing right parenthesismodel:sets:ii/1..11/:x,xx,ry,money;endsetsdata:ry=12 24 48 96 8 8 24 32 40 92 92;s=15;money=10200 15300 35000 63800 6900 10300 15300 22000 35000 43750 54700;enddata@sum(ii:x(i)*xx(i))>s;@fo lingo提示错误missing right parenthesissets: !cai表示采矿点集合 xie表示卸点集合;cai/1..10/:p,cy,ck,f;xie/1..5/:q;link(cai,xie):c,A,x,B;endsets.中间步骤省略 @for (xie (j): @sum(cai(i):x(i,j) Lingo 提示出错@FOR(INTERSECTION(I)|I#LE#2:(OFFSET(I,I+1)=0));这句话Lingo提示Missing Right parenthesis但我觉得没有少括号,错在哪里呢 lingo矩阵输入错误29 lingo矩阵输入错误29 lingo 提示 :missing right parenthesismodel:sets:supply/1..10/:h,f,c;demand/1..5/:p,e;link(supply,demand):x,s;endsetsdata:..enddata@for(demand(j):@sum(supply(i):x(i,j)=p(j)));却出现了:missing right parenthesis 的提示请问该怎么办提 lingo解决非线性规划时,限制条件中有变量相乘怎么办?我是新手程序中变量相乘老是提示错误 abaqus中提示这样的错误应该如何解决,1680 elements have missing property definitions.The elements have been identified in element set ErrElemMissingSection.Section definitions are missing or incorrect for the elements indicated above.Furt lingo 小错误lingo too many equality@for(LENGTH(i)|i#GE#2:@for(LENGTH(j)|j#LT#i:@abs(x(i)-x(j))>=(r(i)+r(j))/2#OR#@abs(y(i)-y(j))>=(r(i)+r(j))/2));他说错误在那个OR,可是那个OR我有必须要用 请问这个lingo的线性规划算法哪里错了?版本是lingo 11.0……max=(228.5-x1)*2.125/43.7+(84.08-x2)*0.5625/47.04+(137.6-x3)*1.0625/34.7x1>=184.8;x1=37.04;x2=102.9;x3我用的lingo 11.0啊……题目里已经说了啊…提示错误, lingo中使用括号 为什么提示语法错误?lingo中老显示我的括号有语法错误, 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)) missing missing missing MISSING .