GA: Genetic Algorithms

Flexible general-purpose toolbox implementing genetic algorithms (GAs) for stochastic optimisation. Binary, real-valued, and permutation representations are available to optimize a fitness function, i.e. a function provided by users depending on their objective function. Several genetic operators are available and can be combined to explore the best settings for the current task. Furthermore, users can define new genetic operators and easily evaluate their performances. Local search using general-purpose optimisation algorithms can be applied stochastically to exploit interesting regions. GAs can be run sequentially or in parallel, using an explicit master-slave parallelisation or a coarse-grain islands approach. For more details see Scrucca (2013) <doi:10.18637/jss.v053.i04> and Scrucca (2017) <doi:10.32614/RJ-2017-008>.

Version: 3.2.4
Depends: R (≥ 3.4), methods, foreach, iterators
Imports: stats, graphics, grDevices, utils, cli, crayon, Rcpp
LinkingTo: Rcpp, RcppArmadillo
Suggests: parallel, doParallel, doRNG (≥ 1.6), knitr (≥ 1.8), rmarkdown (≥ 2.0)
Published: 2024-01-28
DOI: 10.32614/CRAN.package.GA
Author: Luca Scrucca ORCID iD [aut, cre]
Maintainer: Luca Scrucca <luca.scrucca at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Citation: GA citation info
Materials: README NEWS
In views: Optimization
CRAN checks: GA results


Reference manual: GA.pdf
Vignettes: A quick tour of GA


Package source: GA_3.2.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): GA_3.2.4.tgz, r-oldrel (arm64): GA_3.2.4.tgz, r-release (x86_64): GA_3.2.4.tgz, r-oldrel (x86_64): GA_3.2.4.tgz
Old sources: GA archive

Reverse dependencies:

Reverse depends: EstimationTools, foreSIGHT, gawdis, mcga, recmap, SPIGA
Reverse imports: BG2, calmr, ConsReg, datafsm, DistributionOptimization, eicm, epinetr, EZtune, fungible, GAGBLUP, garma, graposas, gratis, gripp, GWAS.BAYES, hmsr, Jaya, kernhaz, LCAvarsel, LorenzRegression, metacoder, MSTest, ppgmmga, psychonetrics, RMaCzek, rmoo, triggerstrategy, TropFishR, UBayFS
Reverse suggests: hpa, IDSL.UFA, ldsr, MSCMT, netUtils, PopED, regsem, seriation, TaxicabCA, tdsc, ubiquity


Please use the canonical form to link to this page.