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

psoptim-methodsR Documentation

Methods for function psoptim (Particle Swarm Optimization)

Description

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.


pso documentation built on April 12, 2022, 5:06 p.m.