You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function NLSolvers.upto_gradient(meritobj::NLSolvers.MeritObjective, ∇f, x)
neq = meritobj.prob
G = neq.R.F(∇f, x)
F = (norm(G)^2) / 2
return F,G
end
with that, NLSolvers.solve(prob,x0,LineSearch(Newton(),HZAW())) seems to work
EDIT: no it doesn't. but at least it hits an error in HZAW instead: MethodError: no method matching isfinite(::NamedTuple{(:ϕ, :Fx), Tuple{Float64, StaticArrays.MVector{2, Float64}}})
something like this?
with that,
NLSolvers.solve(prob,x0,LineSearch(Newton(),HZAW()))
seems to workEDIT: no it doesn't. but at least it hits an error in
HZAW
instead:MethodError: no method matching isfinite(::NamedTuple{(:ϕ, :Fx), Tuple{Float64, StaticArrays.MVector{2, Float64}}})
NLSolvers.jl/src/globalization/linesearches/hagerzhangline.jl
Line 47 in 45e246b
The text was updated successfully, but these errors were encountered: