flags for gradient/hessian check and stop reasons

19 views
Skip to first unread message

Mohammad Ali Nazari

unread,
Nov 2, 2021, 11:29:17 AM11/2/21
to manopt...@googlegroups.com
Hello,

I am doing monte carlo simulations, and I would like to know if there is any realization/run of the code where the gradient/hessian is not checked out, i.e., the slopes are not equal.
I do not assume this could happen in general, that some of the realizations do check out the gradient/hession, and some of them do not, because the gradient is given to the toolbox. But just wanted to ask if there is a flag to see if checkgradient and checkhessian are successful (slopes are the same). 

Thanks and best regards,
Mohammad

Nicolas Boumal

unread,
Nov 2, 2021, 12:40:14 PM11/2/21
to Manopt
Dear Mohammad,

No, this is not built-in. You could add it with options.statsfun and calling checkgradient / checkhessian from there. See the tutorial on the manopt webpage for how to use options.statsfun.

I should say, this would likely be quite expensive computationally.

Best,
Nicolas
Reply all
Reply to author
Forward
0 new messages