Commit a85f8fb
committed
ENH: SCE-UA: Set theta dynamically, based on span of bounds in orders of magnitude
Fixes convergence in example such as:
sambo.minimize(fun=lambda x: sum(x**2),
bounds=[[-1e5, 1e5]]*2,
max_iter=1000, method="sceua")
Fixes #21 parent 696e8c5 commit a85f8fb
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
0 commit comments