SciML / NonlinearSolve.jl

High-performance and differentiation-enabled nonlinear solvers (Newton methods), bracketed rootfinding (bisection, Falsi), with sparsity and Newton-Krylov support.
https://docs.sciml.ai/NonlinearSolve/stable/
MIT License
226 stars 40 forks source link

Passing Jacobian to NLSolveJL #273

Closed briochemc closed 10 months ago

briochemc commented 10 months ago

Given f an ODEFunction (or a NonlinearFunction) with a Jacobian, how does one pass this Jacobian to the NLSolveJL solvers so that it does not try to autodiff it from f?

avik-pal commented 10 months ago

https://github.com/SciML/SciMLNLSolve.jl/blob/master/src/solve.jl#L67 it already does.

briochemc commented 10 months ago

Oops I'm just confused! I'll close this.