Methods for function psoptim (Particle Swarm Optimization)
General implementation of particle swarm optimization usable as a direct replacement for optim
.
methods
signature(par = "ANY", fn = "ANY", gr = "ANY", lower = "ANY", upper ="ANY")
:
This is the standard replacement for optim
without S4 object usage.
signature(par = "test.problem", fn = "missing", gr = "missing",
lower = "missing", upper = "missing")
:
This is for running PSO on a specific test problem. Typically this is invoked on repetitive runs of a test problem and used to assess the choice of parameters for the underlying PSO algorithm. The function is essentially a wrapper function for psoptim
but returns an instance of test.result
containing summary results.
Useful links