Differential Evolution
Also known as DE
optimization evolutionary-planning
Differential evolution (DE) minimises a function of real variables with a population of NP points. For each point it builds a mutant: a base point plus F times the difference of two other random points, for example v = x_r1 + F (x_r2 − x_r3) in DE/rand/1. A crossover then takes each coordinate from the mutant with probability CR, and at least one. The trial point replaces its target only if it is not worse, so the population never gets worse. Because the difference vectors shrink as the population converges, the step size adapts by itself. Use it for continuous problems without gradients, often with a Latin hypercube start (one point in each equal slice of every coordinate) or with a warm start from a library of solved, similar tasks; it is a heuristic with no optimality guarantee.
Pseudocode
algorithm DE(NP, F, CR, f)input: population size NP, differential weight F, crossover rate CR, cost function foutput: the best point found when the budget endsP ← seeds from the WarmStartLibrary, filled up to NP by a Latin hypercuberepeatb ← index of the cheapest point in PP′ ← Pfor each i in 1, …, NP dor₁, r₂, r₃ ← distinct random indices ≠ iv ← x_r₁ + F · (x_r₂ − x_r₃) ▷ DE/rand/1; best/1 uses x_b as basej-rand ← random coordinatefor each j in 1, …, n do ▷ binomial crossoverif random() < CR or j = j-rand thenu_j ← v_jelseu_j ← x_i,jbounce-back(u, x_i) ▷ halfway to a violated boundif f(u) ≤ f(x_i) thenP′[i] ← uP ← P′until budget exhaustedreturn the cheapest point evaluatedIn the crates
evolutionary-planningDifferential evolution on real vectors with Latin hypercube initialisation and a warm-start library.
Lineage
Comes from
Nothing on this site.
Led to
RADES builds on it
Papers
- Differential Evolution – A Simple and Efficient Heuristic for global Optimization over Continuous Spaces Rainer Storn, Kenneth Price · 1997· Journal of Global Optimization
- Evolutionary-Based Online Motion Planning Framework for Quadruped Robot Jumping Linzhu Yue, Zhitao Song, Hongbo Zhang, Xuanqi Zeng, Lingwei Zhang, Yun-Hui Liu · 2023