TY - JOUR AU - Scrucca, Luca PY - 2013/04/21 Y2 - 2024/03/28 TI - GA: A Package for Genetic Algorithms in R JF - Journal of Statistical Software JA - J. Stat. Soft. VL - 53 IS - 4 SE - Articles DO - 10.18637/jss.v053.i04 UR - https://www.jstatsoft.org/index.php/jss/article/view/v053i04 SP - 1 - 37 AB - Genetic algorithms (GAs) are stochastic search algorithms inspired by the basic principles of biological evolution and natural selection. GAs simulate the evolution of living organisms, where the fittest individuals dominate over the weaker ones, by mimicking the biological mechanisms of evolution, such as selection, crossover and mutation. GAs have been successfully applied to solve optimization problems, both for continuous (whether differentiable or not) and discrete functions.This paper describes the R package <b>GA</b>, a collection of general purpose functions that provide a flexible set of tools for applying a wide range of genetic algorithm methods. Several examples are discussed, ranging from mathematical functions in one and two dimensions known to be hard to optimize with standard derivative-based methods, to some selected statistical problems which require the optimization of user defined objective functions. (This paper contains animations that can be viewed using the Adobe Acrobat PDF viewer.) ER -