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:
- Use the peek method to get partial samples
- Come back later, or
- 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.