Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 2.11 KB

README.md

File metadata and controls

36 lines (24 loc) · 2.11 KB

rcoco - R package for COCO and BBOB

CRAN Status Badge CRAN Downloads CRAN Downloads Build Status

This is an experimental implementation of an R client package for the COCO framework and the BBOB benchmark.

It allows benchmarking of continuous black-box optimizers on the BBOB functions. You can later run COCO post-processing for standardized evaluation and visualization. The package implements the C API of COCO.

Installation

The package is not yet released on CRAN. Install the development version via:

install.packages("devtools")
devtools::install_github("berndbischl/rcoco")

How to get (newer versions of) coco.c and coco.h

These two files contain the main C code of coco, that we programm against. The package already contains a version of these files. They are located in the "src" subfolder of the R package. However, if you want to use a the current up-to-date version perform the following steps:

  1. Clone this repository or download the source files from CRAN. Say it is located in path_to_rcoco
  2. Clone the main coco repository
  3. Navigate into the cloned coco repository via cd coco
  4. Run python do.py build-c from the console
  5. Copy coco.{h,c} from code-experiments/build/c/ to the path_to_rcoco/src subfolder of this repository and overwrite the existing files
  6. Install rcoco from source

Contact

Found some nasty bugs? Please use the issue tracker for bug reports, questions and feature requests. Pay attention to explain the problem as good as possible. At its best you provide an example, so we can reproduce your problem quickly.