Code Recipes
Evolutionary

Evolutionary (Optuna CMA-ES)

Updated: 05/20/2026cmaesevolutionaryoptuna

Description

Optuna's [CmaEsSampler], backed by the cmaes package.

  • Algorithm: CMA-ES (Covariance Matrix Adaptation Evolution Strategy).
  • Warmup: the first 20% of the budget is spent on random startup trials before switching to CMA-ES.
  • Good for: medium-to-high-dimensional continuous-heavy problems.
  • Dependencies: optuna, cmaes.

Code

Loading editor…