Get from Ico-github-logo

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Constrained Particle Swarm Optimization

  • ackleysfcn(x)
    Ackley's Function.
  • binarytestfcn(x)
  • dejongsfcn(x)
  • dropwavefcn(x)
  • evolutioncomplete(options...
    Plays a notification when genetic algorithm finishes. Requires a
  • griewangksfcn(x)
    Griewangk's function.
  • heart(x)
    For nonlinear constraint demonstration.
  • initstate(nvars,options,n...
    Initialize swarm condition. Called by PSO.
  • langermannsfcn(x)
  • nonlinearconstrdemo(x)
    Nonlinear constraints demo with Rosenbrock's function. Select this
  • overlaycontour(fitnessfcn...
    Overlays contour and marks known minimum for demo cases of pso.
  • overlaysurface(fitnessfcn...
    Overlays surface and marks known minimum for demo cases of pso. Called by
  • pso(fitnessfcn,nvars,Aine...
    Find the minimum of a function using Particle Swarm Optimization.
  • psobinary(fitnessfcn,nvar...
    Particle swarm optimization for binary genomes.
  • psoboundsabsorb(state,Ain...
  • psoboundspenalize(state,A...
    Penalty-based constraint enforcement method.
  • psoboundsreflect(state,Ai...
  • psoboundssoft(state,Aineq...
    Internal toolbox function.
  • psocalculatepenalties(state)
    Calculates the penalty to apply for out-of-bounds particles when using
  • psocheckbounds(options,st...
    Check the the swarm population against all constraints.
  • psocheckinitialpopulation...
    Checks initial population with respect to linear constraints. Requires
  • psocheckpopulationinitran...
    Automatically adjust PopInitRange according to provided LB and UB.
  • psocreationbinary(options...
    Generates uniformly distributed swarm consisting of binary bitstrings.
  • psocreationuniform(option...
    Generates uniformly distributed swarm based on options.PopInitRange.
  • psodemo(DemoMode)
    Runs the PSO on a few demonstration functions, which should be located
  • psogenerateoutputmessage(...
    Generates output message after PSO is done.
  • psogetinitialpopulation(o...
    Gets the initial population (if any) defined by the options structure.
  • psoiterate(options,state,...
    Updates swarm positions and velocities. Called to iterate the swarm from
  • psooptimset(varargin)
    Creates an options structure for pso.
  • psoplotbestf(options,stat...
    Plots the best, mean, and worst scores of particle swarm.
  • psoplotscorediversity(opt...
    Plots a histogram containing the best and mean scores of particle swarm.
  • psoplotswarm(options,stat...
    Plots the positions of particle swarm.
  • psoplotswarmsurf(options,...
    Shows the evolution of a 2-variable population over a known surface. This
  • psorunhybridfcn(fitnessfc...
    Calls the hybrid function defined in options.HybridFcn, from PSO.
  • quadrifolium(x)
    For demonstrating nonlinear constraints. This produces a 2-dimensional
  • rastriginsfcn(x)
    Takes row inputs. If not row, will attempt to correct it.
  • rosenbrocksfcn(x)
    Takes row inputs. If input is not row, will attempt to correct it.
  • schwefelsfcn(x)
    Schwefel's function.
  • templatefcn(x)
    Template for writing custom test/demonstration functions for psodemo.
  • testfcn1(x)
  • unitcircle(x)
    Unit disk. The vector x should be a row vector. This is to test the
  • unitdisk(x)
    Unit disk. The vector x should be a row vector. This is to test the
  • void(varargin)
  • View all files
image thumbnail

Constrained Particle Swarm Optimization

by

Sam (view profile)

  • 1 file
  • 188 downloads
  • 4.77778

 

01 Dec 2009 (Updated )

Implementation of a PSO algorithm with the same syntax as the Genetic Algorithm Toolbox.

github_repo.zip
sdnchen-psomatlab-b4c4a1e/evolutioncomplete.m
sdnchen-psomatlab-b4c4a1e/license.txt
sdnchen-psomatlab-b4c4a1e/private/heart.m
sdnchen-psomatlab-b4c4a1e/private/initstate.m
sdnchen-psomatlab-b4c4a1e/private/overlaycontour.m
sdnchen-psomatlab-b4c4a1e/private/overlaysurface.m
sdnchen-psomatlab-b4c4a1e/private/psocheckbounds.m
sdnchen-psomatlab-b4c4a1e/private/psocheckinitialpopulation.m
sdnchen-psomatlab-b4c4a1e/private/psocheckpopulationinitrange.m
sdnchen-psomatlab-b4c4a1e/private/psocreationbinary.m
sdnchen-psomatlab-b4c4a1e/private/psocreationuniform.m
sdnchen-psomatlab-b4c4a1e/private/psogenerateoutputmessage.m
sdnchen-psomatlab-b4c4a1e/private/psogetinitialpopulation.m
sdnchen-psomatlab-b4c4a1e/private/psorunhybridfcn.m
sdnchen-psomatlab-b4c4a1e/private/quadrifolium.m
sdnchen-psomatlab-b4c4a1e/private/unitcircle.m
sdnchen-psomatlab-b4c4a1e/private/unitdisk.m
sdnchen-psomatlab-b4c4a1e/private/void.m
sdnchen-psomatlab-b4c4a1e/pso.m
sdnchen-psomatlab-b4c4a1e/psobinary.m
sdnchen-psomatlab-b4c4a1e/psoboundsabsorb.m
sdnchen-psomatlab-b4c4a1e/psoboundspenalize.m
sdnchen-psomatlab-b4c4a1e/psoboundsreflect.m
sdnchen-psomatlab-b4c4a1e/psoboundssoft.m
sdnchen-psomatlab-b4c4a1e/psocalculatepenalties.m
sdnchen-psomatlab-b4c4a1e/psodemo.m
sdnchen-psomatlab-b4c4a1e/psoiterate.m
sdnchen-psomatlab-b4c4a1e/psooptimset.m
sdnchen-psomatlab-b4c4a1e/psoplotbestf.m
sdnchen-psomatlab-b4c4a1e/psoplotscorediversity.m
sdnchen-psomatlab-b4c4a1e/psoplotswarm.m
sdnchen-psomatlab-b4c4a1e/psoplotswarmsurf.m
sdnchen-psomatlab-b4c4a1e/README.md
sdnchen-psomatlab-b4c4a1e/releasenotes.txt
sdnchen-psomatlab-b4c4a1e/testfcns/ackleysfcn.m
sdnchen-psomatlab-b4c4a1e/testfcns/binarytestfcn.m
sdnchen-psomatlab-b4c4a1e/testfcns/dejongsfcn.m
sdnchen-psomatlab-b4c4a1e/testfcns/dropwavefcn.m
sdnchen-psomatlab-b4c4a1e/testfcns/griewangksfcn.m
sdnchen-psomatlab-b4c4a1e/testfcns/langermannsfcn.m
sdnchen-psomatlab-b4c4a1e/testfcns/nonlinearconstrdemo.m
sdnchen-psomatlab-b4c4a1e/testfcns/rastriginsfcn.m
sdnchen-psomatlab-b4c4a1e/testfcns/rosenbrocksfcn.m
sdnchen-psomatlab-b4c4a1e/testfcns/schwefelsfcn.m
sdnchen-psomatlab-b4c4a1e/testfcns/templatefcn.m
sdnchen-psomatlab-b4c4a1e/testfcns/testfcn1.m

Contact us