JuliaNLSolvers / NLsolve.jl

Julia solvers for systems of nonlinear equations and mixed complementarity problems
Other
330 stars 66 forks source link

Control over f_tol convergence #155

Open BeastyBlacksmith opened 6 years ago

BeastyBlacksmith commented 6 years ago

I would like to be able to specify seperate tolerances for the residuals, such that if I pass a vector as argument to f_tol convergence is declared when all the tolerances are met.

nlsolve( f; f_tol = [1e-4,1e-8,1e-10] ) # stops when res[1] < 1e-4  && res[2] < 1e-8 && res[3] < 1e-10
pkofod commented 6 years ago

It's on my list to modularized convergence criteria, but the list of things is long and my time is limited. Happy to take contributions!

BeastyBlacksmith commented 6 years ago

Can you point me to the relevant parts of the code?