You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 thecallbacks_dir
option inoptimization_problem.add_callback(callback, requires=[simulator], callbacks_dir="tmp")
.Being able to hand
callbacks_dir
tooptimization_problem.evaluate_callbacks(ind)
would be useful.The text was updated successfully, but these errors were encountered: