Hi everyone,
I’m trying to solve a non-linear equation using a Newton-Raphson method using NonlinearSolve.jl . I have my own implementation of a basic Newton-Raphson algorithm, and the SimpleNewtonRaphson algorithm does reproduce the same results. Now, I’d like to use the NewtonRaphson alg (with advanced features) but first I would like to reproduce my reference results. In other words, I’d like to mimic the SimpleNewtonRaphson with NewtonRaphson. So far, I’ve tried
alg = NewtonRaphson(; linsolve = LUFactorization(), linesearch = NoLineSearch())
but the algorithm does not lead to the correct solution.
Is it possible to set the NewtonRaphson in order to obtain exactly the same results as the SimpleNewtonRaphson?
PS : unfortunately, I cannot give a MWE, the non-linear function involves a whole finite-element discretization etc.