Open BolunDai0216 opened 1 year ago
I tried this and wasn't able to get it to match up with the finite difference derivatives. Part of this may be due to the challenges associated with finite differencing a second derivative, but I'm not sure.
Have you made any progress on this?
Nothing a the moment, I haven't had the capacity to spend much time on the project that uses the Hessian.
I see that the function used to compute the gradient w.r.t. the problem parameters is
If I also want to write a function that gives me the Hessian, i.e.,
$$H = \frac{\partial^2\alpha^\star}{\partial(r, q)^2}$$
would simply replacing
with
work?
Thanks in advance!