Table of Contents

Differential Evolution (1997)

🚧 Stub — a full write-up (idea, pseudocode, OptunaSharp usage) is coming. Back to the Methods overview.

Paper: Storn & Price, J. Global Optim. 11, 1997

OptunaHub's DESampler is a different sampler

OptunaSharp's DifferentialEvolutionSampler follows Storn & Price. OptunaHub also has a DE (samplers/differential_evolution, DESampler, since 2024-12), and OptunaSharp does not follow it. A study moved over from the hub package therefore gets other defaults and other trials, even with the same seed:

OptunaHub DESampler OptunaSharp DifferentialEvolutionSampler
population_size="auto": max(20, 10d) below 5 dimensions, max(30, 10d) up to 30, then max(50, 5d) popsize: max(8, 4 + ⌊3 ln dāŒ‹)
F=0.8 f = 0.8
CR=0.7 cr = 0.9
DE/rand/1/bin only strategy: "rand1bin" (default) or "best1bin"
search_space, debug, seed seed; the search space is inferred; plus nStartupTrials, independentSampler, warnIndependentSampling