Published December 9, 2022 | Version v1

Switching between Numerical Black-box Optimization Algorithms with Warm-starting Policies - Reproduction artifacts

Authors/Creators

Description

# Reproducibility instructions

This document details the steps to reproduce the results presented in the paper 'Chaining of Numerical Black-box Algorithms: Investigating the Impact of Warm-Starting and the Switching Point'

## Algorithm code
The code for the individual algorithms and the switching routines is included in the 'dynas.zip' folder.  

## Data collection
To collect the performance data for the static algorithms, the file 'data_collection.py' can be used. This file runs all 5 static algorithm on the function suite used in the paper, using the 'ioh' package. To run it, please modify the 'ioh_dir' variable to a place where the data should be stored. 
The resulting data is made available under the 'static.zip' file.

## Processing code
The code which processes the performance data into the list of usecases is part of the 'Processing_R' notebook. 
This results in a set of rds-files with the data in IOHanalyzer's internal format, and in a csv file ('Split_performances_relative.csv') with the selected usecases. 

This csv file can then be read in using the 'visualization' notebook, which can generate Figure 1 from the paper. This notebook can then be used to count the specific usecases, which is the data shown in Table 1. The csv-file containing the selected usecases ('usecases.csv') is also generated here.

The 'usecases' csv file can be used in the 'Data_collection_switch' notebook to run the dynamic configurations. This results in the 'Dynamic.zip' data, which can again be read using IOHanalyzer in the 'Processing_R' notebook. This then generates several csv-files, for both the static and dynamic case, containing the per-run hitting times ('RT_samples.zip'). These are then used in the 'Visualization' notebook to generate figure 3 and 4, as well as table 2. 

## Countour plots
The code for generating Figure 5 is included in the end of the 'Visualization' notebook.

## Performance comparison plot
Figure 6 has been generated using IOHanalyzer web-interface (iohanalyzer.liacs.nl), by uploading the files in 'cma_bfgs.zip'. 

## Switch point impact plot
Figure 7 has been generated using the 'split_experiment' notebook

Files

Data_BFGS_CMAES.zip

Files (617.8 MB)

Name Size
md5:9e13aec209514c003342ef939e8bf1a2
61.4 kB Preview Download
md5:d5be79ba450bd703a9b8fc9bf3129bdb
2.4 kB Download
md5:34d00502af10c6e2ff1e3f3afa6a7941
6.4 kB Preview Download
md5:129d43592d4bee9278193f906479abfd
7.9 MB Preview Download
md5:3847300a1f6232a0fbee0617cba0bc5c
123.5 kB Preview Download
md5:4c2d864a84ffa85c8d854245b47ae4d7
461.8 kB Preview Download
md5:3927fe34fedd30182e81704fe39c125d
7.1 kB Preview Download
md5:880e58261f98247621d7a6c26ed6b4c9
222.1 MB Preview Download
md5:ad811817a2dd6a98a848610389454b8b
2.2 kB Preview Download
md5:bbececb713383d09b24b33c4d7d506cf
3.9 MB Preview Download
md5:9963a7f83058f383978ee6bb24f62fe5
201.9 kB Preview Download
md5:e22319f7d0d55cf5504a211fa3be27da
11.8 kB Preview Download
md5:61a6ce4a2f9934117060f9e06b6bff34
381.9 MB Preview Download
md5:bf2195618c670c9660278ce79fccbc14
9.8 kB Preview Download
md5:373c059dee4ba9a9cc6f3062f59108c0
1.2 MB Preview Download