Documentation

Particle Swarm

Particle swarm solver for derivative-free unconstrained optimization or optimization with bounds

Particle swarm solves bound-constrained problems with an objective function that can be nonsmooth. Try this ifpatternsearchdoes not work satisfactorily.

Functions

expand all

particleswarm Particle swarm optimization
optimoptions Create optimization options
resetoptions Reset options

Topics

Optimize Using Particle Swarm

Optimize Using Particle Swarm

Basic example showing how to use the particleswarm solver.

Optimize Using a Particle Swarm

Shows the effects of some options on theparticleswarmsolution process.

Particle Swarm Output Function

This example shows how to use an output function forparticleswarm.

Particle Swarm Background

What Is Particle Swarm Optimization?

High-level introduction to the particle swarm algorithm.

Particle Swarm Optimization Algorithm

Details of the particle swarm algorithm.

Particle Swarm Options

Describes the options for particle swarm.