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 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.66.0
matplotlib >=3.11.1
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.9},
  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.9.tar.gz (53.9 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.9-py3-none-any.whl (78.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for seamaze-0.0.9.tar.gz
Algorithm Hash digest
SHA256 e515fa6749bdb154d2e24ac9098c26410f0654f896338273b2ba2b37b83dfbe5
MD5 346d5c461b0dcfbc57c2a7833fbf30f2
BLAKE2b-256 a83541ec99c7b51635079fa5a407af3f034f8e25de8b41fec913cd884210bb41

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for seamaze-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 5801a10389fc7a02d3735a3c6540ea6ca64873fecfe84dde401a05feb6a8479f
MD5 7d2a1c5024370d347a9fd461b66ebb63
BLAKE2b-256 f8f518f0a75e54a94ca1f57a24e98547665ab5045e3684b0f30719f909ef3d7e

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.11

2 files

0.0.10

2 files

This release

0.0.9 This release

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

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