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

LBFGSB still prints messages even with iprint < 0 #9

Closed
bblankrot opened this issue Feb 19, 2020 · 2 comments · Fixed by JuliaPackaging/Yggdrasil#546
Closed

LBFGSB still prints messages even with iprint < 0 #9

bblankrot opened this issue Feb 19, 2020 · 2 comments · Fixed by JuliaPackaging/Yggdrasil#546

Comments

@bblankrot
Copy link
Contributor

The underlying Fortran code still prints messages regardless of iprint, which clogs up stdout pretty quickly in my case. This could be fixed fairly quickly by adding an if statement to lines 3282-3283 in lbfgsb.f:

write(6,*) ' Positive dir derivative in projection '
write(6,*) ' Using the backtracking step '

If this package uses the C version, the fix is detailed here. I'm not sure how to do it myself since I am unfamiliar with the new dependency-building mechanism.

@Gnimuc
Copy link
Owner

Gnimuc commented Feb 19, 2020

We can apply this patch to the upstream: https://github.com/JuliaPackaging/Yggdrasil/tree/master/L/L-BFGS-B.

If it's not urgent, I'm going to fix it this weekend.

@bblankrot
Copy link
Contributor Author

Not urgent at all, thanks a bunch!

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

Successfully merging a pull request may close this issue.

2 participants