lingo程序求改错sets:mianji/1..24/:s,x,n;endsetsdata:s=1276640 1938396 1276640 1637792 1635150 1938396 1635150 1938396 1470144 1626880 1940352 1940352 1668000 1430000 939231 1575196 1540000 1540000 110050 110700 218325 326600 290390 1171240;x=867
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/17 00:26:10
lingo程序求改错sets:mianji/1..24/:s,x,n;endsetsdata:s=1276640 1938396 1276640 1637792 1635150 1938396 1635150 1938396 1470144 1626880 1940352 1940352 1668000 1430000 939231 1575196 1540000 1540000 110050 110700 218325 326600 290390 1171240;x=867
lingo程序求改错
sets:
mianji/1..24/:s,x,n;
endsets
data:
s=1276640 1938396 1276640 1637792 1635150 1938396 1635150 1938396 1470144 1626880 1940352 1940352 1668000 1430000 939231 1575196 1540000 1540000 110050 110700 218325 326600 290390 1171240;
x=86733.939 130129.0809 96313.81587 109023.7773 98820.70489 118164.0872 138466.1177 165968.0001 122726.8403 125782.4755 161979.5544 154073.1681 130617.2637 57842.40806 33534.41497 57881.72657 52043.52683 57836.04266 2311.691221 2325.345008 4623.998729 6917.20135 6940.086128 28940.55948;
enddata
max=@sum(mianji(i):n(i)*x(i));
@for(@sum(mianji(i):s(i)*n(i))
lingo程序求改错sets:mianji/1..24/:s,x,n;endsetsdata:s=1276640 1938396 1276640 1637792 1635150 1938396 1635150 1938396 1470144 1626880 1940352 1940352 1668000 1430000 939231 1575196 1540000 1540000 110050 110700 218325 326600 290390 1171240;x=867
@sum(mianji(i):s(i)*n(i))