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 的提示请问该怎么办提

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/24 11:46:40
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 的提示请问该怎么办提
xJ@_%Bb^X*Ѥmj.&Z+mZV-`?Dm8 n6i^ٙ3J [֌B۝=](S+- ȦjXEjP(jYX|g8. E6ˆyD&EF8`JlȖ,pQ._1DE!zKkpaDzE8ϭ50j^x]?rStvҮɯ=Q'HH8$ D+b&iuH 4Ұ99Ҷd;FăM: rhަQ"j"yp3P?=FMs:y~'bC |I

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 提示 :missing right parenthesis
model:
sets:
supply/1..10/:h,f,c;
demand/1..5/:p,e;
link(supply,demand):x,s;
endsets
data:
.
.
enddata
@for(demand(j):@sum(supply(i):x(i,j)=p(j)));
却出现了:missing right parenthesis 的提示
请问该怎么办
提示:@for(demand(j):@sum(supply(i):x(i,j)=p(j)));是它的问题

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 的提示请问该怎么办提
你自己没有理解函数格式 @sum里面有等号当然不行了 是求和以后等于p
@for(demand(j):@sum(supply(i):x(i,j))=p(j));

Lingo 提示出错@FOR(INTERSECTION(I)|I#LE#2:(OFFSET(I,I+1)=0));这句话Lingo提示Missing Right parenthesis但我觉得没有少括号,错在哪里呢 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 的提示请问该怎么办提 RI ri lingo中使用括号 为什么提示语法错误?lingo中老显示我的括号有语法错误, missing missing missing MISSING . missing 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 错误代码 12-(data missing right parenthesis)运行时出现,数据缺少右括号的错误,这是怎么回事? 看图,根据提示写出“?”标示的数字.(Insert the missing number) NOI RI ri是什么意思 RI是什么意思