我的lingo为什么会弹出inproper use of @for() functionmodel:sets:\x05chandi/A1..A4/:a,p;\x05xiaodi/B1..B8/:b,q;\x05links(chandi,xiaodi):c,x;endsetsthese are the data;data:\x05a=12 16 16 20;\x05b=6 5 8 10 6 5 8 6;\x05p=12 16 16 20;\x05q=105 110

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/05 14:50:28
我的lingo为什么会弹出inproper use of @for() functionmodel:sets:\x05chandi/A1..A4/:a,p;\x05xiaodi/B1..B8/:b,q;\x05links(chandi,xiaodi):c,x;endsetsthese are the data;data:\x05a=12 16 16 20;\x05b=6 5 8 10 6 5 8 6;\x05p=12 16 16 20;\x05q=105 110
xSn07Jd$.D'rc@cQhF֬E2I9VEIWne #R,'wNXl~l~\on/M^RH^ª fp0elUu.iT5^"C8t#ȱ >YjG,q ǎR"S ǡdfcI,!H4 !LjX>!.@OKE&]tL]'l,F=i\={z_%"%֊K5M$@î8-G@u.jGJT!r+! QWfWK%#sv mZ-,5%n-rgnD{#d|BHEQ,/P׵wW?WI^|JkhWw_럱[IVLTBj)

我的lingo为什么会弹出inproper use of @for() functionmodel:sets:\x05chandi/A1..A4/:a,p;\x05xiaodi/B1..B8/:b,q;\x05links(chandi,xiaodi):c,x;endsetsthese are the data;data:\x05a=12 16 16 20;\x05b=6 5 8 10 6 5 8 6;\x05p=12 16 16 20;\x05q=105 110
我的lingo为什么会弹出inproper use of @for() function
model:
sets:
\x05chandi/A1..A4/:a,p;
\x05xiaodi/B1..B8/:b,q;
\x05links(chandi,xiaodi):c,x;
endsets
these are the data;
data:
\x05a=12 16 16 20;
\x05b=6 5 8 10 6 5 8 6;
\x05p=12 16 16 20;
\x05q=105 110 108 105 110 112 126 132;
\x05c=2 11 3 4 12 16 22 26
\x05 10 3 5 9 15 18 24 35
\x05 7 8 1 2 8 13 33 48
\x05 12 9 16 7 16 21 42 56;
enddata
this is the objective;
max=@sum(xiaodi(j):q(j)*@sum(chandi(i):x(i,j)))-@sum(links:c*x
-@sum(chandi(i):p(i)*@sum(xiaodi(j):x(i,j)));
this is the demand contraints;
@for(xiaodi(j):
\x05@sum(chandi(i):x(i,j))

我的lingo为什么会弹出inproper use of @for() functionmodel:sets:\x05chandi/A1..A4/:a,p;\x05xiaodi/B1..B8/:b,q;\x05links(chandi,xiaodi):c,x;endsetsthese are the data;data:\x05a=12 16 16 20;\x05b=6 5 8 10 6 5 8 6;\x05p=12 16 16 20;\x05q=105 110
max 那句少右括号