Error: Line search failed to achieve a sufficient decrease, no more progress can be made Stan is still working


#1

Hi everyone,

Sometimes, when I run my algorithm, I face this problem:

Optimization terminated with error:
output.csv: Line search failed to achieve a sufficient decrease, no more progress can be made
Stan is still working. You can either:

  1. Use the peek method to get partial samples
  2. Come back later, or
  3. Attach a listener to the StanFit object.

Does anyone knows what I should do? It seems that compiling is finished this is while it says stan is still running but not producing any parameter for me.
How I can solve this problem?
How I can understand Stan is running or not? With PS comment in linux doesn’t show it is working.

Thank you,
Ellie


#2

I don’t understand the error message or the context.

  • What interface is ginving you this issue?

  • What command are you trying to run?