Algorithms

As a demonstration of the proposed benchmarking environment, some basic experimental results have been reported in the paper Benchmarking discrete optimization heuristics with IOHprofiler. The implementation of algorithms can be found in the repository IOHalgorithm.

A detailed description of the algorithms follows. An operator frequently used in these descriptions is the mutation operator, which flips the entries of pairwise different, uniformly at random chosen bit positions, see Algorithm 1.

Since we want to avoid useless evaluations of offspring that are identical to their parents, we frequently make use of the conditional binomial distribution , which assigns probability to each positive integer , and probability zero to all other values. Sampling from is identical to sampling from until a positive value is returned (“resampling strateg”).

Greedy Hill Climber

The greedy hill climber (gHC, Algorithm 2) uses a deterministic mutation strength, and flips one bit in each iteration, going through the bit string from left to right, until being stuck in a local optimum, see Algorithm 2.

RLS uses a deterministic mutation strength, and flips one randomly chosen bit in each iteration, see Algorithm 3.

The EA with Static Mutation Rate

The EA is defined via the pseudo-code in Algorithm 4.

Fast Genetic Algorithm

The fast Genetic Algorithm (fGA) chooses the mutation length according to a power-law distribution , which assigns to each integer a probability of , where . We use this algorithm with . The fGA was introduced in the paper Fast genetic algorithms.

The Two-Rate EA

The two-rate was introduced in the paper The Evolutionary Algorithm with Self-Adjusting Mutation Rate. It uses two mutation rates in each iteration: half of offspring are generated with mutation rate , and the other offspring are sampled with mutation rate . The parameter is updated after each iteration, from a biased random decision favoring the value from which the best of all offspring has been sampled.

The EA with normalized standard bit mutation

The , Algorithm 7, samples the mutation strength from a normal distribution with mean and variance , which is identical to the variance of the binomial distribution used in standard bit mutation. The parameter is updated after each iteration, in a similar fashion as in the 2-rate EA, Algorithm 6. The was introduced in the paper Interpolating Local and Global Search by Controlling the Variance of Standard Bit Mutation.

The EA with normalized standard bit mutation and controlled variance

The , Algorithm 8 builds on the but uses, in addition to the adaptive choice of the mutation rate, an adaptive choice of the variance.

The EA with log-Normal self-adaptation on mutation rate

The , Algorithm 9, uses a self-adaptive choice of the mutation rate.

The Self-Adjusting

The self-adjusting , Algorithm 10, was introduced in the paper From black-box complexity to designing new genetic algorithms. The offspring population size is updated after each iteration, depending on whether or not an improving offspring could be generated. Since both the mutation rate and the crossover bias (see Algorithm 11 for the definition of the biased crossover operator cross) depend on , these two parameters also change during the run of the . In our implementation we use update strenght .

The “Vanilla” GA

The vanilla GA (vGA, Algorithm 13) constitutes a textbook realization of the so-called Traditional GA. The algorithm holds a parental population of size . It employs the Roulette-Wheel-Selection (RWS, that is, probabilistic fitness-proportionate selection which permits an individual to appear multiple times) as the sexual selection operator to form pairs of individuals that generate the offspring population. 1-point crossover (Algorithm 12) is applied to every pair with a fixed probability of . A mutation operator is then applied to every individual, flipping every bit with a fixed probability of . This completes a single cycle.

The Univariate Marginal Distribution Algorithm

The univariate marginal distribution algorithm (UMDA, Algorithm 14) is one of the simplest representatives of the family of so-called estimation of distribution algorithms (EDAs). The algorithm maintains a population of size and uses the best of these to estimate the marginal distribution of each decision variable, by simply counting the relative frequency of ones in the corresponding position. These frequencies are capped at and , respectively. In the -th iteration, a new population is created by sampling from these marginal distributions. The UMDA was introduced in The Equation for Response to Selection and Its Use for Prediction.