Home

Awesome

pycma        

CircleCI Build status Downloads DOI [BibTeX] cite as:

Nikolaus Hansen, Youhei Akimoto, and Petr Baudis. CMA-ES/pycma on Github. Zenodo, DOI:10.5281/zenodo.2559634, February 2019.


<!--- [![Build status](https://ci.appveyor.com/api/projects/status/1rge11pwyt55b26k/branch/master?svg=true)](https://ci.appveyor.com/project/nikohansen/pycma/branch/master) Zenodo: 34 points to the latest, this is 35: https://zenodo.org/badge/latestdoi/68926339 --->

pycma is a Python implementation of CMA-ES and a few related numerical optimization tools.

The Covariance Matrix Adaptation Evolution Strategy (CMA-ES) is a stochastic derivative-free numerical optimization algorithm for difficult (non-convex, ill-conditioned, multi-modal, rugged, noisy) optimization problems in continuous search spaces.

Useful links:

Installation of the latest release

In a system shell, type

    python -m pip install cma

to install the latest release from the Python Package Index (PyPI). The release link also provides more installation hints and a quick start guide.

    conda install --channel cma-es cma

installs from the conda cloud channel cma-es. CAVEAT: this distribution is currently not updated!

Installation from Github

The quick way (this requires git to be installed): to install the code from, for example, the master branch, copy-paste

    pip install git+https://github.com/CMA-ES/pycma.git@master

The long way:

It may be necessary to replace pip with python -m pip and/or prefixing either of these with sudo.

Version History