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

Handling of callbacks_dir #133

Open
ronald-jaepel opened this issue Apr 26, 2024 · 0 comments
Open

Handling of callbacks_dir #133

ronald-jaepel opened this issue Apr 26, 2024 · 0 comments

Comments

@ronald-jaepel
Copy link
Collaborator

This is an issue to collect thoughts:

Calling:

optimization_problem.evaluate_callbacks(ind)

from outside of the optimization loop crashes if the callbacks use the callbacks_dir and are added without the callbacks_dir option in
optimization_problem.add_callback(callback, requires=[simulator], callbacks_dir="tmp").

Being able to hand callbacks_dir to optimization_problem.evaluate_callbacks(ind) would be useful.

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