Particle swarm optimization for non-linear programming and multi-criteria problems

Project maintained by swax Hosted on GitHub Pages — Theme by mattgraham

Download SwarmNLP

SwarmNLP is a program for windows that visualizes particle swarm optimization (PSO) over multiple criteria and multiple objectives. This program is a good teaching tool for showing how PSO runs and quickly visualizing a solution space.

The solution space is shown using red shading to display the unfeasible region. Any number of dimensions can be used with the option of showing a cross-section of any two dimensions. Lighter regions on the screen indicate higher function values.

Objective functions are not parsed but compiled at runtime into C# code. Check the System.Math namespace for available functions.

There are demo problems included that demonstrate how problems are setup.