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
Why does setting n_evals as the termination not work when I use the CMA-ES algorithm?
I try to set the "n_evals" as the termination:
1.termination = get_termination("n_eval", 1e5)
res = minimize(problem_func,
algorithm,
termination,
seed,
save_history=True,
verbose=True)
2. res = minimize(problem_func,
algorithm,
('n_eval', 1e5),
seed,
save_history=True,
verbose=True)
but it is not work, is there any other way to set it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Why does setting n_evals as the termination not work when I use the CMA-ES algorithm?
I try to set the "n_evals" as the termination:
1.termination = get_termination("n_eval", 1e5)
res = minimize(problem_func,
algorithm,
termination,
seed,
save_history=True,
verbose=True)
2. res = minimize(problem_func,
algorithm,
('n_eval', 1e5),
seed,
save_history=True,
verbose=True)
but it is not work, is there any other way to set it?
Beta Was this translation helpful? Give feedback.
All reactions