Benchmark study of R packages for optimisation

Published: 7 November 2024| Version 1 | DOI: 10.17632/kg9hftwx7k.1
Contributor:
Erick de Paz

Description

This repository provides R scripts and data to reproduce a comprehensive benchmark study of optimisation algorithms: Convex Partition, Differential Evolution, Genetic Algorithms, and Particle Swarm Optimisation. We use the standard CEC2013 benchmark suite, available as the CRAN package cec2013 0.1-5, to rigorously evaluate these algorithms. Each benchmark function is tested 10 times in three different dimensions: 30, 50 and 100. The following optimisation packages are compared in this study - CPoptim 0.1.0: Convex partition - DEoptim 2.2.6: Differential Evolution - genalg 0.2.1: Genetic Algorithms - pso 1.0.4: Particle Swarm Optimisation

Files

Steps to reproduce

1) Install the following R packages: cec2013 0.1-5, CPoptim 0.1.0, DEoptim 2.2.6, genalg 0.2.1 and pso 1.0.4 2) Open "runExperiments.R" and "createStatisticsPlots.R" in a text editor. Replace the placeholder directory ".../paper/codes" with the actual path to your project directory. 3) Run "runExperiments.R" (This step may take approximately 5 days to complete) 4) [Optionally] Run "createStatisticsPlots.R" to generate visualisations of the experimental results. (This step should take only a few seconds.)

Institutions

Colegio de Postgraduados

Categories

Genetic Algorithm, Particle Swarm Optimization, Differential Evolution, Bayesian Optimization

Licence