Open longemen3000 opened 3 years ago
https://github.com/JuliaNLSolvers/NLSolvers.jl/blob/486e562e32322c9443617a935b4ef8a5ec387f59/src/nlsolve/linesearch/newton.jl#L25-L29 asks the scheme for a ´reset_age´ field, but there isnt one. with that, only newton works on NEqProblems. maybe using a function instead of a field access could solve the problem?
I see what you're getting at, but I think everything here should just be annotated Newton. Then, another dispatch can wrap the objective in a meritobjective type and minimize it.
https://github.com/JuliaNLSolvers/NLSolvers.jl/blob/486e562e32322c9443617a935b4ef8a5ec387f59/src/nlsolve/linesearch/newton.jl#L25-L29 asks the scheme for a ´reset_age´ field, but there isnt one. with that, only newton works on NEqProblems. maybe using a function instead of a field access could solve the problem?