Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LBFGS_FLOAT=32 results in error "LBFGSERR_ROUNDING_ERROR" #12

Open
markusdr opened this issue Sep 6, 2014 · 0 comments
Open

LBFGS_FLOAT=32 results in error "LBFGSERR_ROUNDING_ERROR" #12

markusdr opened this issue Sep 6, 2014 · 0 comments

Comments

@markusdr
Copy link

markusdr commented Sep 6, 2014

I tried to use LBFGS_FLOAT=32 (i.e., float instead of double), to save memory in a large optimization task.

But it always aborts with LBFGSERR_ROUNDING_ERROR. I've tried this on different optimization problems. This error happens in later iterations, closer to convergence. Is there any way to prevent that error? I tried increasing xtol, but it doesn't help.

One way would be to fiddle with convergence criteria to declare it converged earlier, but I'd rather not do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant