Evolutionary.jl
The package Evolutionary aims to provide a library for evolutionary optimization. It provides implementation of $(\mu/\rho \; \stackrel{+}{,} \;\lambda)$-Evolution Strategy, $(\mu/\mu_I, \;\lambda)$-Covariance Matrix Adaptation Evolution Strategy, Genetic Algorithm, and Differential Evolution as well as a rich set of mutation, recombination, crossover and selection functions.
Getting started
To install the package just type
] add EvolutionaryA simple example of using the GA algorithm to find minimum of the Sphere function.
julia> using Evolutionaryjulia> result = Evolutionary.optimize( x -> sum(x.^2), ones(3), GA(populationSize = 100, selection = susinv, crossover = DC, mutation = PLM()))* Status: success * Candidate solution Minimizer: [-0.004611180502619661, 0.008303190836749574, 0.006830735848268765] Minimum: 0.0001368649159280458 Iterations: 54 * Found with Algorithm: GA[P=100,x=0.8,μ=0.1,ɛ=0] * Convergence measures |f(x) - f(x')| = 0.0 ≤ 1.0e-12 * Work counters Seconds run: 0.1698 (vs limit Inf) Iterations: 54 f(x) calls: 5500