Skip to main content

PyPI PyPI - Python Version Coverage Status GitHub Repo stars GitHub forks GitHub Downloads visitors GitHub Release GitHub Discussions GitHub Issues GitHub Contributors License: MIT

logo

A Python Library for Classical, Limited-Memory, and Dynamical Low-Rank Covariance Matrix Adaptation Evolution Strategy


General :earth_americas:

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, constraint handling, and multi-stage restart mechanisms.

Installation :computer:

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 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.65.1
matplotlib >=3.11.0
seaborn >=0.13.2

Development :rocket:

Important links

Help and Support :busts_in_silhouette:

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.4},
  license = {MIT},
  year = {2026},
  publisher = {GitHub},
  url = {https://github.com/pyanno4rt/seamaze}
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

seamaze-0.0.4.tar.gz (49.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

seamaze-0.0.4-py3-none-any.whl (77.3 kB view details)

Uploaded Python 3

File details

Details for the file seamaze-0.0.4.tar.gz.

File metadata

  • Download URL: seamaze-0.0.4.tar.gz
  • Upload date:
  • Size: 49.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.7.6 Linux/6.8.0-124-generic

File hashes

Hashes for seamaze-0.0.4.tar.gz
Algorithm Hash digest
SHA256 2f01e99b80b07e1cb4e68f00a5e1c05c7c61dd626ca45d8d1b1306504b49c852
MD5 e0151c27db317cbd4a004ece8b13d49c
BLAKE2b-256 7de69a91accedf6e7f5c6c0d1fdc27de0da14f5d0eb15d82a9d9ed7566e24c70

See more details on using hashes here.

File details

Details for the file seamaze-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: seamaze-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 77.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.7.6 Linux/6.8.0-124-generic

File hashes

Hashes for seamaze-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 46c38197d559260b2608edd5fc005a2a9050c6c9189be2e42c90cbfab0b9e5e6
MD5 3540040bf07b0676bb72fd0fe8454806
BLAKE2b-256 e15a26825faa71f0b737f11ea9fa43862ff1c6cf753de459383b0ac71f69cb75

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.11

2 files

0.0.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

This release

0.0.4 This release

2 files

0.0.2

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page