Closed gmjw closed 10 months ago
@gmjw Thanks!
I have a "solution" which involves adding an extra attribute to BfgsOptimizerResults
and an extra argument to bfgs.minimize
.
I'm not sure if that is ideal/desirable but at least it's a starting point for discussion.
I'll aim to put up a PR fairly soon.
As suggested by @m0nzderr in his comment on this commit by @srvasude, the current setup for scaling the initial inverse Hessian estimate when running BFGS makes it impossible to iteratively call
bfgs_minimize
in a loop, passing in a previous inverse Hessian estimate to the next iteration. This is useful for approximate filtering algorithms where estimates from one iteration are passed in as inputs to the next.If the initial inverse Hessian scaling could be made optional, this issue would be fixed.