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

LineSearch gets stuck for no apparent reason

Open Gregstrq opened this issue 4 years ago • 1 comments

Hi,

I am running LBFGS optimization algorithm with MoreThuente linesearch algorithm. I track the execution of the algorithm by damping the output of the trace into the terminal.

In some cases (which are, fortunately, rare), the optimization just gets stuck: there are no new messages in the trace. My guess is that LineSearch algorithm gets stuck for some reason.

Could someone provide advice on how to better debug such cases where the LineSearch is stuck? May be you have some ideas what the problem might be?

Gregstrq avatar Sep 18 '20 14:09 Gregstrq

Huh, good question. You don't have the example available to share, do you? I would guess there's some tolerance that's impossible to reach for your example.

pkofod avatar Dec 16 '20 20:12 pkofod