Benchmark Suites

The plugins of the repository evoal-benchmark-suites make two benchmark suites for black-box optimisation available in EvoAl, so that EvoAl’s optimisers can be compared with published results:

  • COCO / BBOB (plugin benchmark.coco): the 24 noiseless single-objective functions of the COCO platform. COCO’s own C code evaluates them, and COCO’s observer writes the data that COCO’s post-processing (cocopp) compares with the archived results of published algorithms.
  • CEC 2013 LSGO (plugin benchmark.lsgo): the 15 functions of the CEC 2013 special session on large-scale global optimisation with 1000 variables (905 for f13 and f14). Most of them consist of groups of interacting variables (subcomponents), which makes them a benchmark for linkage learning: the problem modules of the plugin declare the subcomponents as building blocks.

Installation

The plugins are released together with EvoAl, with the same version (e.g. 2027.4.0), as GitHub releases. A release works with the EvoAl release of the same version. The first release comes with EvoAl 2027.4.0. Until then, build the plugins as described in the README of the repository. The archive evoal-benchmark-suites-<version>.zip of a release contains a folder evoal/ with the subfolders plugins, bin, definitions, examples and licenses. Copy them into your EvoAl installation and update its licence files, so that NOTICE, licenses/ and sbom.json cover the plugins as well (see Credits and Licences):

cp -r evoal/* "$EVOAL_HOME"/
bash "$EVOAL_HOME"/bin/evoal-credits.sh release-files "$EVOAL_HOME"

The README of the repository describes how to build the plugins yourself. Report problems and questions as issues on GitHub. The COCO binding contains a native library for Linux x86_64 and macOS arm64. On other platforms, build the library with native/build-native.sh of the binding and pass its absolute path to EvoAl, e.g. EVOAL_VM="-Devoal.coco.library=/opt/coco/libCocoJNI.so".

CEC 2013 LSGO

The plugin contains a problem module for every function: the DDL module de.evoal.benchmark.lsgo.f<n> declares the variables 'x:0' to 'x:<D-1>' with the bounds of the function, the value 'y:0' and the subcomponents as building blocks; the OL module of the same name specifies the problem 'lsgo-f<n>'. A search only needs an algorithm configuration for it, in a module of its own (see Optimisation Language):

import "definitions" from 'de.evoal.core.math';
import "definitions" from 'de.evoal.optimisation.core';
import "definitions" from 'de.evoal.optimisation.random_search.optimisation';

import "data" from 'de.evoal.benchmark.lsgo.f13';

import "optimisation" from 'de.evoal.benchmark.lsgo.f13';

module 'search' {
    configure 'random-search' for de.evoal.benchmark.lsgo.f13.'lsgo-f13' {
        ...
    }
}

The example lsgo-linkage-crossover runs the evolutionary algorithm with 'linkage-crossover' on f13, whose subcomponents overlap, and records with 'linkage-statistics' how often recombination preserves them. The README of the plugin describes the functions, their data and how they were ported.

COCO / BBOB

'coco-function' { function; 'instance'; } evaluates one BBOB problem in a search of its own; the problem modules de.evoal.benchmark.coco.bbob.d<D> (D = 2, 3, 5, 10, 20, 40) declare the search space of every dimension.

A COCO experiment runs an algorithm on every problem of the suite. bin/evoal-coco-experiment.sh takes one algorithm configuration per dimension, each for the problem de.evoal.benchmark.coco.bbob.d<D>.'bbob-d<D>', and runs it once for every problem of its dimension. Every problem gets its own run number from its dimension, function and instance, so with the same seed a single problem can be run again alone with the random numbers it had in the experiment. COCO writes its data to exdata/<result folder>, which cocopp (Python, pip install cocopp) post-processes:

bin/evoal-coco-experiment.sh <folder> d2.ol,d3.ol,d5.ol output -Bcoco:result-folder=my-algorithm
python -m cocopp exdata/my-algorithm

The example coco-experiment compares random search and an evolutionary algorithm in dimensions 2, 3 and 5. The example coco-cma-es compares EvoAl’s CMA-ES with the archived CMA-ES entries of COCO (BIPOP-CMA-ES 2009, IPOP-CMA-ES 2010, IPOP-SEP-CMA-ES 2009) in dimensions 2, 3, 5 and 10 and explains the differences. The README of the plugin describes all parameters of the experiment.

Citations and licences

bin/evoal-credits.sh lists the papers to cite and the third-party code of the plugins with their licences:

  • COCO: N. Hansen, A. Auger, R. Ros, O. Mersmann, T. Tušar, D. Brockhoff: COCO: a platform for comparing continuous optimizers in a black-box setting. Optimization Methods and Software 36(1), 2021; BBOB: N. Hansen, S. Finck, R. Ros, A. Auger: Real-Parameter Black-Box Optimization Benchmarking 2009: Noiseless Functions Definitions. INRIA RR-6829, 2009.
  • CEC 2013 LSGO: X. Li, K. Tang, M. N. Omidvar, Z. Yang, K. Qin: Benchmark Functions for the CEC’2013 Special Session and Competition on Large-Scale Global Optimization. Technical report, RMIT University, 2013.

The plugins are licensed under the Apache License 2.0. COCO’s C code in the binding is licensed under the 3-clause BSD licence and contains SciPy’s brentq (3-clause BSD licence) and libavl (GNU LGPL 3.0 or later); the binding’s jar carries the sources of its native library, so that it can be rebuilt with a changed libavl. The code and data of the LSGO benchmark are licensed under the Simplified BSD License.