1 · The landscape
The target is the minimum of a rotated quadratic:
f(x) = u₁² + κu₂², u = Q(θ)ᵀ(x − x*)
Q(θ) rotates the axes; κ sets the curvature ratio. The shallow direction is the valley floor.
2 · Sampling and selection
xₖ = m + σ C1/2 zₖ, zₖ ∼ N(0, I)
The best-ranked candidates form a weighted new mean. Evolution paths accumulate successful movement across generations.
3 · Covariance adaptation
C ← (1 − c₁ − cμ)C + c₁pcpcᵀ + cμΣwᵢyᵢyᵢᵀ
The rank-one and rank-μ terms reshape the sampling distribution. Step size σ adapts separately using the length of its own evolution path.
What is simplified
- Two-dimensional, smooth, noise-free quadratic objective; no constraints or restarts.
- Standard rank-one plus rank-μ CMA-ES update with default strategy constants for the selected population.
- Coordinates, objective values and initial spread are scaled educational quantities, not physical measurements.
- The deterministic pseudo-random stream makes resets reproducible; the population is illustrative, not a statistical benchmark.
Illustrative educational model, not affiliated with any real institution or manufacturer.