psoptim-methods: Methods for function psoptim (Particle Swarm Optimization)

Description Methods


General implementation of particle swarm optimization usable as a direct replacement for optim.


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.

pso documentation built on May 1, 2019, 8:45 p.m.