Using analyticaly derived gradient and hessian in OpenMX

Posted on
No user picture. Anonymous (not verified) Joined: 09/16/2024
I know NPSOL will accept first derivatives (gradient) and second derivatives (Hessian) of the fitting function with respect to the parameters.

If I have determined these analytically for my model, can i make OpenMX parse them to NPSOL?

The only slot I can find for the gradient and the hessian are in a fitted model object not in an model hat still has to be fitted.

I did find the mxOption slot where i can tell NPSOL the gradient and hessian will be provided and need not be estimated

Michel

Replied on Fri, 03/21/2014 - 13:01
Picture of user. jpritikin Joined: 05/23/2012

In the next version of OpenMx, you will have a choice of optimizers. One of the choices is a simple Newton-Raphson optimizer that is faster than NPSOL but requires an analytic gradient and hessian. Currently, this is only available in source code control. We plan to release a beta of this code soon.