This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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.


expand all

particleswarmParticle swarm optimization
optimoptionsCreate optimization options
resetoptionsReset options


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 the particleswarm solution process.

Particle Swarm Output Function

This example shows how to use an output function for particleswarm.

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.