Skip to content
Prev 109660 / 398500 Next

optim() and resultant hessian

On Fri, 16 Feb 2007, Brian Healey wrote:

            
I don't think you have scaled your problem as recommended on the help 
page, or the Hessian would not have elements differing by 15 orders of 
magnitude.  So, yes, there is reason to be worried about the 
finite-difference approximations used, as well as the numerical accuracy 
of such extreme differences.  (If you did scale, you don't want to do this 
on the rescaled Hessian.)
Please do read what it says about the method on the help page and the 
references.