The pyswarm
package is a gradient-free, evolutionary optimization package
for python that supports constraints.
This is the initial release, but it should work out of the box. The syntax is
similar to the other SciPy optimization routines (the ones like fmin_slsqp
).
Currently, only a single objective is supported, but with any number of
constraints (or none).
- NumPy
See the package homepage for helpful hints relating to downloading and installing pyswarm.
The latest, bleeding-edge, but working, code and documentation source are available on GitHub.
Any feedback, questions, bug reports, or success stores should be sent to the author. I'd love to hear from you!
This package is provided under two licenses:
- The BSD License
- Any other that the author approves (just ask!)
- Particle swarm optimization on Wikipedia