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 f_tol convergence

BeastyBlacksmith opened this issue · comments

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

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!

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