Some problems let us score a candidate solution but give us no way to solve for the best one. A simulator reports the drag of a wing shape, but not which shape is best. What can a computer do when all it can do is propose candidates and measure them?
Evolutionary computation is one answer. It is a family of search and optimization methods that keep a population of candidate solutions and improve it by repeated variation and selection. A fitness function scores the candidates, and the better ones are more likely to be kept or to have offspring. The offspring are copies changed by mutation, or mixtures of two parents made by recombination. Nothing in the method needs a gradient, a closed-form model of the problem, or even a continuous search space. An evolutionary algorithm needs only a way to represent candidates, a way to vary them, and a way to compare them. That is why the same basic loop has been applied to tuning parameters, scheduling, designing antennas, writing programs, and growing neural networks.
The generality has a cost. An evolutionary algorithm knows nothing about a problem beyond what its representation, operators, and fitness function encode. It succeeds only when that encoding makes good solutions reachable by small, mostly improving steps.
This topic sets out the common framework that later topics build on, in three steps:
- The algorithm. What the loop does, what it costs, and how its separate traditions arose.
- The analogy. Which parts of biology the loop borrows, and which it reshapes or leaves out.
- Search and its limits. How the structure of a problem shapes the search, and what no search method can promise.
One small problem recurs through the unit: OneMax, where a candidate is a string of bits and its fitness is the number of ones. Its answer is known in advance, so every run can be graded.
Articles
The algorithm
- The evolutionary algorithm loop: the loop taken apart step by step, and what it costs. The parts of the loop, a run on 8-bit OneMax worked by hand, and a comparison with simpler methods on 50 bits. The loop beats random search by a wide margin there, and loses to a single-string variant of itself and to a method that uses the structure of the problem.
- History of evolutionary computation: there are several kinds of evolutionary algorithm because the loop was invented several times, each time as the answer to a different problem. Early proposals by Turing, Box, and Bremermann; the separate schools of evolution strategies, evolutionary programming, and genetic algorithms; genetic programming; and how they merged into one field.
The analogy
- Natural selection for computer scientists: what the loop borrows from biology. Heredity, variation, selection, genotype and phenotype, and genetic drift, and what an evolutionary algorithm keeps of each. It keeps the three conditions for selection and reshapes almost everything else.
- Limits of the evolutionary metaphor: natural evolution is not an optimizer, so the method is justified by its tested results and not by its resemblance to evolution. A model in which selection lowers mean fitness, the critique of metaphor-driven metaheuristics, and the problems where evolutionary methods have earned their place.
Search and its limits
- Fitness landscapes: the same algorithm is fast on one problem and hopeless on another because of how fitness is arranged relative to the moves the algorithm can make. Wright's adaptive landscape, neighborhoods defined by operators, local optima, neutrality, epistasis, and deception, measured on small benchmark problems.
- No Free Lunch theorems: no search method is best in general. What Wolpert and Macready proved, why no algorithm beats random search averaged over all problems, and why that says little about the problems people actually solve.
What comes next
The course then moves from the general framework to particular algorithms.
- Local search starts with a single candidate and a hill climber, which shows the local-optimum problem that populations are meant to solve.
- Genetic algorithms add a population, crossover, and selection schemes.
- Multi-objective optimization handles problems with several competing objectives.
- Genetic programming evolves programs instead of parameter vectors, and neuroevolution evolves neural networks.
- Parallel and coevolutionary algorithms spread a population across machines, or evolve populations against each other.
- Evolution strategies adapt their own mutation distributions.
- Recent trends cover quality diversity, evolutionary robotics, and evolution guided by language models.
References
- Eiben, A. E., and Smith, J. E. (2015). Introduction to Evolutionary Computing, 2nd ed. Springer. record · 35 pages
- Wolpert, D. H., and Macready, W. G. (1997). No free lunch theorems for optimization. IEEE Transactions on Evolutionary Computation, 1(1), 67–82. record · 5 pages
Reviewed: verified, 16 Nov 2026 · citations checked, 16 Nov 2026 · editorial review, 16 Nov 2026 · 3 revisions