Skip to content

Commit 627fb2b

Browse files
Update benchmarks/GlobalOptimization/blackbox_global_optimizers.jmd
1 parent 517ecf6 commit 627fb2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmarks/GlobalOptimization/blackbox_global_optimizers.jmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ plot(b)
8282
Δf = 1e-6
8383
f = test_functions[3]
8484

85-
setup = BenchmarkSetup(NLopt.GN_CRS2_LM(), isboxed=true)
85+
single_setup = BenchmarkSetup(NLopt.GN_CRS2_LM(), isboxed=true)
8686

87-
sol = [BBOB.solve_problem(setup, f, 3, 5_000) for in in 1:10]
87+
sol = [BBOB.solve_problem(single_setup, f, 3, 5_000) for in in 1:10]
8888
@info [sol.objective < Δf + f.f_opt for sol in sol]
8989

9090
p = plot(f, size = (600,600), zoom = 1.5)

0 commit comments

Comments
 (0)