fcmaes 2.2.0


pip install fcmaes

  Latest version

Released: Nov 20, 2026


Meta
Author: Dietmar Wolz
Requires Python: >=3.10

Classifiers

Development Status
  • 5 - Production/Stable

Environment
  • Console

Intended Audience
  • Education
  • Financial and Insurance Industry
  • Healthcare Industry
  • Information Technology
  • Manufacturing
  • Science/Research

License
  • OSI Approved :: MIT License

Operating System
  • OS Independent

Programming Language
  • Python :: 3

Topic
  • Office/Business :: Financial
  • Office/Business :: Scheduling
  • Scientific/Engineering
  • Scientific/Engineering :: Artificial Intelligence
  • Scientific/Engineering :: Information Analysis
  • Scientific/Engineering :: Mathematics

fast-cma-es: gradient-free optimization for Python

fcmaes

One of 18 related repositories. The repository overview shows what each one does and how they connect.

A Python 3 gradient-free optimization library.

Choosing an optimization tool? Start with the shared solver-selection and agent guide or the optimization ecosystem overview. Use fcmaes for Python black-box objectives, parallel retry, Pareto search and quality diversity. Durable MCP jobs use the separate Rust workers; this Python package does not include an MCP server.

Prompt-driven optimization tutorials demonstrate the shared agent workflow with native Rust application workers. Python objectives continue to use this package in process; these tutorials do not add a worker to fast-cma-es.

The eight CRN/CFD simulator lessons connect stochastic calibration, sensitivities, oscillator searches, source-allocation LP, sensor MIP and coupled-flow validation to complete campaigns. Their runnable examples use native Rust bindings and existing command/scalar-worker routes; they do not add a worker to this package.

Installation

python -m pip install fcmaes

To build from source you need a C++17 compiler and Python 3.10 or newer; pip fetches the build tools, and Eigen is fetched if it is not installed:

git clone https://github.com/dietmarwo/fast-cma-es
cd fast-cma-es
python -m pip install . --config-settings=cmake.define.FCMAES_FETCH_EIGEN=ON

See the full README for the requirements, the changelog for what changed, and RELEASING.md for the release process.

jSO and jSO→CMA-ES

Use fcmaes.jso for the Python implementation or fcmaes.jsocpp for the C++ backend. Both support bounded continuous optimization with a hard jSO evaluation cap, variable-length ask/tell batches, and parallel objective evaluation through Python processes. fcmaes.optimizer.jso_cma uses jSO to start CMA-ES. See jSO usage and parameters.

Exact 2D Pareto archive

fcmaes.pareto.ParetoArchive2D keeps all nondominated evaluations of a two-objective problem and updates their hypervolume with every insertion. Its native code is derived from bitehv2.h in Aleksey Vaneev's BiteOpt repository. See usage and a MODE example.

Third-party integration

OptunaHub's FastCmaesSampler, by Jacob Pfeil, connects fcmaes CMA-ES to Optuna. See its example and supported Optuna version there. This is an external integration, not a comparative benchmark of the five-project ecosystem.

2.2.0 Nov 20, 2026
2.1.0 Oct 22, 2026
2.0.3 Jul 26, 2026
2.0.2 Apr 12, 2026
2.0.1 Mar 27, 2026
2.0.0 Mar 16, 2026
1.6.12 Jan 22, 2026
1.6.11 Nov 07, 2024
1.6.10 Nov 02, 2024
1.6.9 Oct 05, 2024
1.6.8 Sep 27, 2024
1.6.7 Aug 27, 2024
1.6.5 Nov 02, 2023
1.6.4 Nov 01, 2023
1.6.3 Sep 18, 2023
1.6.2 Sep 17, 2023
1.6.1 Sep 14, 2023
1.6.0 Sep 13, 2023
1.5.11 Sep 07, 2023
1.5.10 Sep 01, 2023
1.5.9 Aug 30, 2023
1.5.8 Mar 14, 2023
1.5.7 Jan 13, 2023
1.5.6 Dec 21, 2022
1.5.5 Dec 14, 2022
1.5.4 Dec 07, 2022
1.5.3 Nov 29, 2022
1.5.2 Nov 24, 2022
1.5.1 Nov 24, 2022
1.5.0 Nov 18, 2022
1.4.9 Nov 10, 2022
1.4.8 Nov 06, 2022
1.4.7 Oct 19, 2022
1.4.6 Sep 23, 2022
1.4.5 Sep 21, 2022
1.4.4 Sep 15, 2022
1.4.3 Aug 27, 2022
1.4.2 Aug 02, 2022
1.4.1 Jul 21, 2022
1.4.0 Jul 14, 2022
1.3.37 Jul 11, 2022
1.3.36 Jun 20, 2022
1.3.35 Jun 09, 2022
1.3.34 Jun 01, 2022
1.3.33 Jun 01, 2022
1.3.32 Jun 01, 2022
1.3.31 May 30, 2022
1.3.30 May 25, 2022
1.3.29 May 20, 2022
1.3.28 May 20, 2022
1.3.27 May 14, 2022
1.3.26 May 14, 2022
1.3.25 May 11, 2022
1.3.24 May 02, 2022
1.3.23 Apr 25, 2022
1.3.22 Apr 14, 2022
1.3.21 Apr 05, 2022
1.3.20 Mar 28, 2022
1.3.19 Mar 26, 2022
1.3.18 Feb 25, 2022
1.3.17 Feb 16, 2022
1.3.16 Jan 31, 2022
1.3.15 Jan 31, 2022
1.3.14 Jan 29, 2022
1.3.13 Jan 25, 2022
1.3.11 Jan 04, 2022
1.3.9 Aug 11, 2021
1.3.8 Jul 23, 2021
1.3.7 Jul 21, 2021
1.3.6 Jul 19, 2021
1.3.5 Jul 18, 2021
1.3.4 Jul 15, 2021
1.3.3 Jul 06, 2021
1.3.2 Jul 01, 2021
1.3.1 Jun 11, 2021
1.3.0 Jun 05, 2021
1.2.21 May 27, 2021
1.2.20 May 27, 2021
1.2.19 May 19, 2021
1.2.18 May 06, 2021
1.2.17 Mar 21, 2021
1.2.16 Mar 12, 2021
1.2.15 Mar 04, 2021
1.2.14 Feb 23, 2021
1.2.13 Feb 19, 2021
1.2.12 Feb 18, 2021
1.2.10 Feb 06, 2021
1.2.9 Feb 03, 2021
1.2.8 Feb 01, 2021
1.2.7 Jan 14, 2021
1.2.6 Jan 13, 2021
1.2.5 Jan 12, 2021
1.2.4 Jan 11, 2021
1.2.3 Jan 08, 2021
1.2.2 Dec 05, 2020
1.2.1 Dec 04, 2020
1.2.0 Nov 25, 2020
1.1.16 Sep 07, 2020
1.1.15 Sep 07, 2020
1.1.14 Sep 04, 2020
1.1.13 Aug 13, 2020
1.1.12 Aug 05, 2020
1.1.11 Jul 18, 2020
1.1.10 Jul 17, 2020
1.1.9 Jul 15, 2020
1.1.8 Jul 12, 2020
1.1.7 Jul 09, 2020
1.1.6 Jul 08, 2020
1.1.5 Jun 30, 2020
1.1.4 Jun 26, 2020
1.1.3 Jun 23, 2020
1.1.2 Jun 22, 2020
1.1.1 Jun 20, 2020
1.1.0 Jun 19, 2020
1.0.10 Jun 19, 2020
1.0.9 Jun 18, 2020
1.0.8 Jun 16, 2020
1.0.7 Jun 10, 2020
1.0.6 Jun 05, 2020
1.0.5 Jun 01, 2020
1.0.4 May 31, 2020
1.0.3 May 27, 2020
1.0.2 May 26, 2020
1.0.1 May 13, 2020
1.0.0 May 07, 2020
0.9.5.8 Mar 04, 2020
0.9.5.7 Mar 02, 2020
0.9.5.6 Feb 25, 2020
0.9.5.5 Feb 24, 2020
0.9.5.4 Feb 23, 2020
0.9.5.3 Feb 21, 2020
0.9.5.2 Feb 19, 2020
0.9.5.1 Feb 18, 2020
0.9.5 Feb 18, 2020
Extras:
Dependencies:
numpy
scipy
scikit-learn
threadpoolctl
loguru