A particle swarm optimizer for general use
Project description
PSOpt
A particle swarm optimizer for combinatorial optimization
Project Information
psopt
is released under the MIT,
its documentation lives at Read the Docs,
the code on GitHub,
and the latest release on PyPI.
If you'd like to contribute to psopt
you're most welcome. We've created a little guide to get you started!
Installation
Python version support
Officially Python 3.6 and above
Installing from PyPI
PSOpt can be installed via pip from PyPI
pip install psopt
Installing from source
Clone the repository via:
git clone https://github.com/artur-deluca/psopt/ --depth=1
Activate your virtual environment and run:
python setup.py install
# or alternatively
pip install -e .
If you wish to install the development dependencies, run:
python setup.py build
# or alternatively
pip install -e.[all]
Running the test suite
To run the tests written for psopt, make sure you have pytest
installed in your venv.
Additionally, if you wish to run coverage analysis as well, make sure to have pytest-cov
installed as well.
# to simply execute the tests run:
pytest
# to run coverage as well run:
pytest --cov=psopt
# or alternatively:
make test
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.