IOHprofiler: A Benchmarking and Profiling Tool for Iterative Optimization Heuristics

R-package

This branch of the IOHexperimenter consists of the R-implementation of the experimenter, built using Rcpp. To use this package, either clone this repository and install locally, or use the following commands to use devtools to install the package directely:

If devtools is not yet installed, please first use

install.packages('devtools')

Error messages will be shown in your R console if there is any installation issue. Now, the IOHexperimenter package can be installed and loaded using the following commands:

devtools::install_github('IOHprofiler/IOHexperimenter@R')
library('IOHexperimenter')

This will install the package and all required dependencies.

Getting Started

  1. Install the package using one of the methods mentioned package above.

  2. Create you own algorithm, or use the example algorithm provided in the documentation accessed by:

?benchmark_algorithm

Note that your algorithm will need to accept exactly one parameter: An IOHproblem object, which contains the following information about the current problem:

And the following functions:

Several example algorithms have been implemented in the algorithms.R file.

  1. Run the benchmarks using the function ‘benchmark_algorithm’

  2. Analyze your results using the IOHanalyzer by visiting the IOHAnalyzer page

Using C or Python

To use the IOHexperimenter in C++ or python, please look at the other branches in this repository

mirror server hosted at Truenetwork, Russian Federation.