Open ahwillia opened 1 year ago
We should pass the Hessian vector product when the solver is newton-cg
. Contribution welcome!
This is still an issue. Nothing is wrong with 'newton-cg'
, however the following three methods still suffer from the bug mentioned by @ahwillia: ‘trust-ncg’
, ‘trust-exact’
, ‘trust-krylov’
I'd like to apply Newton's method on a convex problem. When I try
jaxopt.ScipyMinimize
withmethod="trust-exact"
I get the error:Is there a way to pass the Hessian matrix? Even better, is there a plan to re-implement some of the scipy minimize algorithms inside
jaxopt
?EDIT: My code does seem to work when I switch to
method="newton-cg"
.