NLSolvers.jl
This is a extension for importing solvers from NLSolvers.jl into the SciML interface. Note that these solvers do not come by default, and thus one needs to install the package before using these solvers:
import Pkg
Pkg.add("NLSolvers")
import NLSolvers
import NonlinearSolve as NLS
Solver API
NonlinearSolve.NLSolversJL
— TypeNLSolversJL(method; autodiff = nothing)
NLSolversJL(; method, autodiff = nothing)
Wrapper over NLSolvers.jl Nonlinear Equation Solvers. We automatically construct the jacobian function and supply it to the solver.
Arguments
method
: the choice of method for solving the nonlinear system. See the documentation for NLSolvers.jl for more information.autodiff
: the choice of method for generating the Jacobian. Defaults tonothing
which means that a default is selected according to the problem specification. Can be any valid ADTypes.jl autodiff type (conditional on that backend being supported in NonlinearSolve.jl).