【急】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

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/17 06:38:25
【急】lingo程,为何提示错误missingrightparenthesismodel:sets:ii/1..11/:x,xx,ry,money;endsetsdata:ry=12244896882

【急】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 parenthesis
model:
sets:
ii/1..11/:x,xx,ry,money;
endsets
data:
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;
@for(ii:x(i)*xx(i)

【急】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
model:
sets:
ii/1..11/:x,xx,ry,money;
endsets
data:
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*xx)>s;
@for(ii:x*xx