mathopt
A JavaScript library of mathematical optimization methods.
Installation
Install with npm:
$ npm install mathopt
Install with component:
$ component install jakutis/mathopt
Install with bower:
$ bower install mathopt
API
See a demonstration of examples (source code in "examples" subfolder).
.basicPSO
Basic Particle Swarm Optimization method finds the global minimum of a given numerical function using particle swarm paradigm.
Implements the algorithm that is described in an article "Particle swarm optimization" by James Kennedy and Russel Eberhart that is published in proceedings of IEEE International Conference on Neural Networks, 1995.
var mathopt = ; var { return Math + Math;}; // basic usage// prints "Minimum found at TODO"console; // demonstration of all the optionsmathopt;
License
MIT