Main Content

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 if patternsearch does not work satisfactorily.

Functions

expand all

optimvaluesCreate values for optimization problem (Since R2022a)
solveSolve optimization problem or equation problem
particleswarmParticle swarm optimization
optimoptionsCreate optimization options
resetoptionsReset options

Live Editor Tasks

OptimizeOptimize or solve equations in the Live Editor (Since R2020b)

Topics

Problem-Based Particle Swarm

Optimize Using Particle Swarm

Particle Swarm Background