smcopt⚓︎
Stochastic Monte-Carlo optimisation.
SmcOpt
⚓︎
Bases: Optimize
TODO: Write docstring ala EnOpt
__init__(fun, x, args, sens, bounds=None, **options)
⚓︎
Parameters:
Name | Type | Description | Default |
---|---|---|---|
fun
|
callable
|
objective function |
required |
x
|
ndarray
|
Initial state |
required |
sens
|
callable
|
Ensemble sensitivity |
required |
bounds
|
list
|
(min, max) pairs for each element in x. None is used to specify no bound. |
None
|
options
|
dict
|
Optimization options
|
{}
|
calc_update()
⚓︎
Update using sequential monte carlo method