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

New method: get_state() #21

Open
jlnav opened this issue Dec 13, 2024 · 0 comments
Open

New method: get_state() #21

jlnav opened this issue Dec 13, 2024 · 0 comments

Comments

@jlnav
Copy link
Contributor

jlnav commented Dec 13, 2024

For those generators that can return a complete history, discovered minima, other descriptive components of the generator, separately from "new points":

def get_state() -> list[dict]

For example, APOSMM needs to return discovered minima to the user. In libEnsemble we've currently implemented this
as:

final_data = APOSMM.final_tell(final_results)

But I believe the consensus has been this should resemble:

APOSMM.tell(final_results)
APOSMM.finalize()
final_data = APOSMM.get_state()
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