JuliaNLSolvers / NLsolve.jl

Julia solvers for systems of nonlinear equations and mixed complementarity problems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Control Over Jacobian Updates and Caching

ChrisRackauckas opened this issue · comments

https://github.com/JuliaNLSolvers/NLsolve.jl/blob/master/src/newton.jl#L116

The Jacobian is repeatedly used in \ but it's not factorized, making this a lot more expensive.

But the jacobian gets updated every iteration?

But the jacobian gets updated every iteration?

Where? I didn't see the line for that. I was looking for it because I wanted to see how to control that behavior but didn't see it at all.

Oh 👍. Then the question changes to allowing for a user callback for controlling when it should update, i.e. allowing for quasi-Newton methods. Also being able to take the (factorized) Jacobian in as well.