lingo的数据拟合model:sets:xl/1..5/:n,y; endsets data:n=19,20,22,24,25; y=6,7,8,9,10; enddata @frmodel:sets:xl/1..5/:n,y;endsetsdata:n=19,20,22,24,25;y=6,7,8,9,10;enddata@free(a);@free(b);min=@sum((@log(y)*a-b-n)*(@log(y)*a-b-n));end这段程序

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/17 23:41:40
lingo的数据拟合model:sets:xl/1..5/:n,y; endsets data:n=19,20,22,24,25; y=6,7,8,9,10; enddata @frmodel:sets:xl/1..5/:n,y;endsetsdata:n=19,20,22,24,25;y=6,7,8,9,10;enddata@free(a);@free(b);min=@sum((@log(y)*a-b-n)*(@log(y)*a-b-n));end这段程序
x)K> z=tBGn~JjUqjIUEUNBj^ HT!%$*R@HDZL\BRN!Pb0YFunfCqiCN~FVnn_dċ3|E]6IE=&`&h0 |0laXBn&03 :`&i{ٴe{]/|FfA9V=| gNy9YO}:nrv0@ 1w~

lingo的数据拟合model:sets:xl/1..5/:n,y; endsets data:n=19,20,22,24,25; y=6,7,8,9,10; enddata @frmodel:sets:xl/1..5/:n,y;endsetsdata:n=19,20,22,24,25;y=6,7,8,9,10;enddata@free(a);@free(b);min=@sum((@log(y)*a-b-n)*(@log(y)*a-b-n));end这段程序
lingo的数据拟合model:sets:xl/1..5/:n,y; endsets data:n=19,20,22,24,25; y=6,7,8,9,10; enddata @fr
model:
sets:
xl/1..5/:n,y;
endsets
data:
n=19,20,22,24,25;
y=6,7,8,9,10;
enddata
@free(a);@free(b);
min=@sum((@log(y)*a-b-n)*(@log(y)*a-b-n));
end
这段程序那里出错了?

lingo的数据拟合model:sets:xl/1..5/:n,y; endsets data:n=19,20,22,24,25; y=6,7,8,9,10; enddata @frmodel:sets:xl/1..5/:n,y;endsetsdata:n=19,20,22,24,25;y=6,7,8,9,10;enddata@free(a);@free(b);min=@sum((@log(y)*a-b-n)*(@log(y)*a-b-n));end这段程序
model:
sets:
xl/1..5/:n,y;
endsets
data:
n=19,20,22,24,25;
y=6,7,8,9,10;
enddata
@free(a);@free(b);
min=@sum(xl:(@log(y)*a-b-n)*(@log(y)*a-b-n));!用@sum求和需指明所属集合;
end