CHANGES
New features
`should_stop()` method which checks some termination criterion is added. You can easily implement IPOP-CMA-ES (50) and BIPOP-CMA-ES (54) by using this API. These algorithms performs well on multi-modal functions (See the benchmark of 58).
| IPOP-CMA-ES | BIPOP-CMA-ES |
| --- | --- |
| ![visualize-ipop-cmaes-himmelblau](https://user-images.githubusercontent.com/5564044/88472274-f9e12480-cf4b-11ea-8aff-2a859eb51a15.gif) | ![visualize-bipop-cmaes-himmelblau](https://user-images.githubusercontent.com/5564044/88471815-55111800-cf48-11ea-8933-5a4b48c49eba.gif) |
* [Auger, A., Hansen, N.: A restart CMA evolution strategy with increasing population size. In: Proceedings of the 2005 IEEE Congress on Evolutionary Computation (CEC’2005), pp. 1769–1776 (2005a)](https://sci2s.ugr.es/sites/default/files/files/TematicWebSites/EAMHCO/contributionsCEC05/auger05ARCMA.pdf)
* [Hansen N. Benchmarking a BI-Population CMA-ES on the BBOB-2009 Function Testbed. In the workshop Proceedings of the Genetic and Evolutionary Computation Conference, GECCO, pages 2389–2395. ACM, 2009.](https://hal.inria.fr/inria-00382093/document)
Remove Optuna sampler.
Remove `CMASampler`(deprecated at v0.4.0) and `monkeypatch` (deprecated at v0.5.0) for Optuna.
Please use Optuna's official CMA-ES sampler which will be stabled at v2.0.0. You can quickly migrated to Optuna's official sampler by replacing your imports with `optuna.samplers.CmaEsSampler()`. See the [documentation](https://optuna.readthedocs.io/en/stable/reference/samplers.html#optuna.samplers.CmaEsSampler) for details.
Deprecate `cmaes.cma` module.
`cmaes.cma` module is now deprecated. Please import `CMA` class from the package root (46).
python
from cmaes.cma import CMA Deprecated!
↓
from cmaes import CMA Do this!
Link
* PyPI: https://pypi.org/project/cmaes/0.6.0/