A Python Library for Classical, Limited-Memory, and Dynamical Low-Rank Covariance Matrix Adaptation Evolution Strategy
General 🌎
seamaze is a Python library for classical, limited-memory, and dynamical low-rank (DLR) variants of the covariance matrix adaptation evolution strategy (CMA-ES). It provides state-of-the-art, derivative-free algorithms designed for continuous, non-linear, and non-convex real-parameter optimization, excelling in ill-conditioned, non-separable, or rugged fitness landscapes. By leveraging limited-memory and DLR approximations, seamaze maintains computational efficiency even on high-dimensional black-box problems. This implementation further incorporates first-order information and bound constraint handling.
Installation 💻
Python distribution
You can install the latest distribution via:
pip install seamaze
Source code
You can check the latest source code via:
git clone https://github.com/pyanno4rt/seamaze.git
Usage
seamaze has three main classes which provide a classical, a limited-memory, and a dynamical low-rank CMA-ES variant. Check out the 'examples' folder for detailed benchmark scripts!
Classical CMA-ES
from seamaze.optimizers import CMAES
Limited-memory CMA-ES
from seamaze.optimizers import LMMAES
Dynamical low-rank CMA-ES
from seamaze.optimizers import DLRCMAES
Dependencies
| Name | Version |
|---|---|
python |
>=3.11, <4.0 |
numpy |
>=2.4.6 |
scipy |
>=1.17.1 |
numba |
>=0.68.1 |
matplotlib |
>=3.11.2 |
seaborn |
>=0.13.2 |
Development 🚀
Important links
Help and Support 👥
Resources
Contact
Citation
To cite seamaze, either use the link in the right sidebar of the Github landing page labeled "Cite this repository" or copy the short-form bib-style paragraph below:
@software{seamaze,
title = {{seamaze}: a python library for classical, limited-memory, and dynamical low-rank covariance matrix adaptation evolution strategy},
author = {Ortkamp, Tim and Patwardhan, Chinmay and Stammer, Pia},
version = {0.0.13},
license = {MIT},
year = {2026},
publisher = {GitHub},
url = {https://github.com/pyanno4rt/seamaze}
}
Metadata
Release files for seamaze 0.0.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| seamaze-0.0.13.tar.gz | 58.6 kB | Without provenance | Details for seamaze-0.0.13.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| seamaze-0.0.13-py3-none-any.whl | Python 3 | none | any | Details for seamaze-0.0.13-py3-none-any.whl |
Total release size: 140.2 kB
Release files / seamaze-0.0.13.tar.gz
| Download URL | seamaze-0.0.13.tar.gz |
|---|---|
| Size | 58.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
15897c383c6d3ffe9b1329296cf89e44034e33d606948a3a05ec9ae8e08583c7
|
|
BLAKE2b-256 checksum How to use checksums |
552972f4d8e7b6a6dcc08966a19501bd55b0bda1e87dc3cae501a067384e886e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.7.6 Linux/6.8.0-147-generic
|
Release files / seamaze-0.0.13-py3-none-any.whl
| Download URL | seamaze-0.0.13-py3-none-any.whl |
|---|---|
| Size | 81.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
96910c87335e655ba0d7073a97e3d977ff6e50a5f059a0fa997e05b1416de440
|
|
BLAKE2b-256 checksum How to use checksums |
a0e9c12d2449269e315ee0043fa0646232f6126d7225f947711680dda3fe4392
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.7.6 Linux/6.8.0-147-generic
|
Security for seamaze 0.0.13
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.