Implementation and visualization of different swarm optimization algorithms.
Project description
swarmlib
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. For a more detailed guide checkout the CONTRIBUTING.md file.
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file swarmlib-0.14.1.tar.gz
.
File metadata
- Download URL: swarmlib-0.14.1.tar.gz
- Upload date:
- Size: 27.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3fa798c2d730bff6ecff96b3078493bd2c91a52b6e83105db6f8461735a575b |
|
MD5 | 87d4563a4409918499dfbf4f424a5605 |
|
BLAKE2b-256 | 0964513760182805c172758150ef96e49bfacf0027ce099852ca4ac8b46555f5 |
File details
Details for the file swarmlib-0.14.1-py3-none-any.whl
.
File metadata
- Download URL: swarmlib-0.14.1-py3-none-any.whl
- Upload date:
- Size: 45.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d3afa1a79b5c7121a3aab38de2c261beeeddb133692f8c67dfebaa0812c0572 |
|
MD5 | 420bc26bc7b4baf418c5935828b422f5 |
|
BLAKE2b-256 | 0a5259e31afae40db2c0b950f33dd126fb1ef9c43ff970c81e8d9fc7be30f0fe |