We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc8f830 commit 0d5d64cCopy full SHA for 0d5d64c
tests/test_optimizers/test_inf_nan.py
@@ -51,7 +51,15 @@ def test_inf_nan_0(Optimizer, objective):
51
objective_function = objective
52
initialize = {"random": 20}
53
54
- opt = Optimizer(search_space, initialize=initialize)
+ opt_para = {
55
+ "search_space": search_space,
56
+ "initialize": initialize,
57
+ }
58
+
59
+ if Optimizer.__name__ == "PowellsMethod":
60
+ opt_para["iters_p_dim"] = 80
61
62
+ opt = Optimizer(**opt_para)
63
opt.search(
64
objective_function,
65
n_iter=80,
0 commit comments