Install

The latest release of SKOPT can be found on Bitbucket.

Clone the repository and go to the newly created directory of the repository.

Issue the following command from the root directory of the repository.

pip3 install --upgrade --user -r requirements.txt -e .

Please omit the –user option above if installing within a virtual environment.

To uninstall:

pip3 uninstall skopt

Dependencies

SKOPT’s operation requires:

  • YAML support, for setting up the optimisation,
  • the DEAP library, for the Particle Swarm Optimisation engine,
  • NumPy for data structures, and,
  • Matplotlib for plotting.

Test

Once installation of SKOPT and its dependencies is complete, it is important to ensure that the test suite runs without failures, so:

cd skopt_folder/test
python3 -m unittest

Tests runtime is under 30 sec and should result in no errors or failures.