LineSearches.jl icon indicating copy to clipboard operation
LineSearches.jl copied to clipboard

HagerZhang gives warning for line search of line

Open GlenHertz opened this issue 2 years ago • 0 comments

For a line search of a line a warning is printed which is not desirable:

Optim.optimize(xs -> xs[1], [0.0], [1.0], [nextfloat(0.0)], Optim.Fminbox(Optim.BFGS()))

The warning:

┌ Warning: Failed to achieve finite new evaluation point, using alpha=0
└ @ LineSearches ~/.julia/packages/LineSearches/Ki4c5/src/hagerzhang.jl:148

GlenHertz avatar May 30 '22 20:05 GlenHertz