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

Checkpointing in nlopt #412

Open
yugeniom opened this issue Sep 8, 2021 · 2 comments
Open

Checkpointing in nlopt #412

yugeniom opened this issue Sep 8, 2021 · 2 comments

Comments

@yugeniom
Copy link

yugeniom commented Sep 8, 2021

Hello,
I am using nlopt in conjunction with meep adjoint. I would like to set checkpoints in the optimizations I make. Does nlopt natively allow for something like this?

Thanks

@stevengj
Copy link
Owner

stevengj commented Dec 3, 2021

No not currently. (It would require us to go through all of the algorithms and figure out what state needs to be saved.)

Of course, you can always save the current best solution and restart a local optimizer from there, but that is not exactly equivalent to checkpointing.

@SNMS95
Copy link

SNMS95 commented Nov 15, 2023

Hey guys,

Has there been any update on this aspect?
It would be nice to have the optimizer-state exposed so that we can continue optimization!

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

No branches or pull requests

3 participants