There is a newer version of the record available.

Published April 20, 2018 | Version v.0.1.9

ljvmiranda921/pyswarms: v.0.1.9 Development Release

  • 1. Waseda University
  • 2. @pyupio

Description

After three months, we are happy to present our next development release, version v.0.1.9! This release introduces non-breaking changes in the API and minor fixes adopting pylint's and flake8's strict conventions.

New Features

Ability to set the initial position of the swarm. Before, the swarm particles are generated randomly with respect to a lower and upper bound that we set during initialization. Now, we have the ability to initialize our swarm particles around a particular location, just in case we have applications that require that feature.

Ability to set a tolerance value to break the iteration. Usually we just wait for a given number of iterations so that the optimization will finish. We have now improved this and included an ftol parameter that serves as a threshold whenever the difference in the costs are not as significant anymore.

Patches

Fix rosenbrock function returning incorrect shape. Turns out that there is something wrong with our rosenbrock function for it does not return a vector of shape (n_particles, ). Don't worry, we have fixed that!

Acknowledgments

This release won't be possible without the help of @mamadyonline and our new Collaborator Siobhan K. Cronin! Thank you for all your help and support in maintaining PySwarms!

Files

ljvmiranda921/pyswarms-v.0.1.9.zip

Files (3.9 MB)

Name Size Download all
md5:cd0cf017dbca47df81707378210a1b60
3.9 MB Preview Download

Additional details