coco-experiment 2.8.4


pip install coco-experiment

  Latest version

Released: Nov 11, 2026


Meta
Author: Asma Atamna, Dimo Brockhoff, Lorenzo Consoli, Ouassim Ait ElHara, Paul Dufossé, Nikolaus Hansen, Leopold Luley, Olaf Mersmann, Duc Manh Nguyen, Phillipe R. Sampaio, Marc Schoenauer, Dejan Tušar, Tea Tušar, Konstantinos Varelas
Requires Python: >=3.12

Classifiers

Development Status
  • 4 - Beta

License
  • OSI Approved :: BSD License

Programming Language
  • Python
  • Python :: 3.12
  • Python :: 3.13
  • Python :: 3.14
  • Python :: 3.15
  • Python :: Implementation :: CPython

COmparing Continuous Optimisers COCO Experiment

version license build download paper

The coco-experiment Python module implements the experimental part of COCO: A Platform for Comparing Continuous Optimizers in a Black-Box Setting. It provides several benchmark function suites and the data logging.

Documentation

The main documentation pages for the coco-experiment package cocoex can be found at

Below are installation instruction and some usage hints.

Installation

The easiest way to install coco-experiment is using pip (preferably in a virtual environment):

pip install -U coco-experiment

For the difficult way look at this page and start with git clone https://github.com/numbbo/coco-experiment.git.

Usage

Similar to scikit-learn, the module name (coco-experiment) is not the import name, hence usage starts with

import cocoex

To get started, take a look at the getting-started page and at this simple example experiment. To run an experiment in practice, take a look at the complete example experiment.

Extras: None
Dependencies:
numpy (>=1.26.0)