Description Usage Arguments References Examples
An implementaion of Particle Swarm Optimization method for parameter estimation of Individual-based models.
1 |
objective |
An instance of ObjectiveFunction (or subclass) class ObjectiveFunction |
options |
An apropiate instance from a sublclass of Options class |
[1] Kennedy, J., & Eberhart, R. (1995). Particle swarm optimization. In Proceedings of ICNN 95 - International Conference on Neural Networks (Vol. 4, pp. 1942-1948). IEEE.
[2] Poli, R., Kennedy, J., & Blackwell, T. (2007). Particle swarm optimization. Swarm Intelligence, 1(1), 33-57.
1 2 3 4 5 6 7 8 9 | ## Not run:
f<- PlainFunction$new(f0.rosenbrock2)
f$Parameter(name="x1",min=-100,max=100)
f$Parameter(name="x2",min=-100,max=100)
extremize("pso", f)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.