Skip to main content

Implementation and visualization of different swarm optimization algorithms.

Project description

swarmlib

Pypi PyPI - Python Version Pypi - Downloads Stars
PyPI - License Lint, Test, Bundle and Deploy Codecov
Chat on Gitter Donate PRs Welcome

Description

This repository implements several swarm optimization algorithms and visualizes their (intermediate) solutions. To run the algorithms one can either use the CLI (recommended) or the API.

For a list of all available algorithms and their detailed description checkout the wiki.

Installation

You can install the package with pip from pypi. Installing the library in a virtual environment is recommended:

# Create virtual environment
python3 -m venv .venv
source .venv/bin/activate

# Install the latest version of swarmlib
pip install --upgrade swarmlib

# Verify installation
swarm --version

Usage

To print all available algorithms:

swarm --help

Contribution

If you found a bug or are missing a feature do not hesitate to file an issue or to ask questions on gitter.

Pull Requests are welcome!

Wiki

Swarmlib's wiki includes all of the documentation and more details to each algorithm. It can be found here.

Support

When you like this package make sure to star the repository. I am always looking for new ideas and feedback.

In addition, it is possible to sponsor this project via PayPal or GitHub sponsors.

Example

Particle Swarm Optimization

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swarmlib-0.13.0.tar.gz (27.5 kB view hashes)

Uploaded Source

Built Distribution

swarmlib-0.13.0-py3-none-any.whl (46.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page