pso.2.0: pso.2.0

Description Usage Arguments Value Author(s)

Description

Particle swarm optimization acceepting a start state and early stopping criteria.

Usage

1
2
pso.2.0(par, fn, gr = NULL, lower = -1, upper = 1,
  swarmInit = NULL, control = list(), ...)

Arguments

par

numeric; Vector with length defining the dimensionality of the optimization problem. For more information see psoptim.

fn

function; A function to be minimized. For more information see psoptim.

gr

function; A function to return the gradient if local search is BFGS. For more information see psoptim.

lower

numeric; Lower bounds on the variables.

upper

numeric; Lower bounds on the variables.

swarmInit

matrix; Initial swarm positions. Optional to enhance speed.

control

list; A list of control parameters. For more information see psoptim. In addition, final swarm positions can be returned by specifying return.swarm = TRUE.

...

Additional arguments to pass on.

Value

See psoptim.

Author(s)

Claus Bendtsen modified by Martin Enge


jasonserviss/CIMseq documentation built on Jan. 11, 2020, 4:42 a.m.