FastLevenbergMarquardt.jl
This is an extension for importing solvers from FastLevenbergMarquardt.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("FastLevenbergMarquardt")
import FastLevenbergMarquardt
import NonlinearSolve as NLS
Solver API
NonlinearSolve.FastLevenbergMarquardtJL
— TypeFastLevenbergMarquardtJL(
linsolve::Symbol = :cholesky;
factor = 1e-6, factoraccept = 13.0, factorreject = 3.0, factorupdate = :marquardt,
minscale = 1e-12, maxscale = 1e16, minfactor = 1e-28, maxfactor = 1e32,
autodiff = nothing
)
Wrapper over FastLevenbergMarquardt.jl for solving NonlinearLeastSquaresProblem
. For details about the other keyword arguments see the documentation for FastLevenbergMarquardt.jl
.
Arguments
linsolve
: Linear solver to use. Can be:qr
or:cholesky
.
Keyword Arguments
autodiff
: determines the backend used for the Jacobian. Note that this argument is ignored if an analytical Jacobian is passed, as that will be used instead. Defaults tonothing
which means that a default is selected according to the problem specification!