Skip to content

Commit

Permalink
hopefully a bugfix for the surrogate cma error
Browse files Browse the repository at this point in the history
The surrogate CMA would reset to using the original system equations instead of the model in the model mode. This should hopefully fix this.
  • Loading branch information
thomasWeise committed Oct 31, 2023
1 parent e274597 commit 6e80eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moptipyapps/dynamic_control/experiment_surrogate.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def run(base_dir: str, n_runs: int = 5) -> None:
setups=[cast(Callable[[Any], Execution], lambda i, __f=fes:
cmaes_surrogate(i, MAX_FES, __f, __f))],
n_runs=n_runs,
n_threads=8,
n_threads=Parallelism.ACCURATE_TIME_MEASUREMENTS,
perform_warmup=False,
perform_pre_warmup=False,
on_completion=on_completion)
Expand Down

0 comments on commit 6e80eb6

Please sign in to comment.