IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v053i04.html
   My bibliography  Save this article

GA: A Package for Genetic Algorithms in R

Author

Listed:
  • Scrucca, Luca

Abstract

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 GA, 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.)

Suggested Citation

  • Scrucca, Luca, 2013. "GA: A Package for Genetic Algorithms in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 53(i04).
  • Handle: RePEc:jss:jstsof:v:053:i04
    DOI: http://hdl.handle.net/10.18637/jss.v053.i04
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v053i04/v53i04.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v053i04/GA_1.1.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v053i04/v53i04.R
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v053.i04?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Mullen, Katharine M. & Ardia, David & Gil, David L. & Windover, Donald & Cline, James, 2011. "DEoptim: An R Package for Global Optimization by Differential Evolution," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 40(i06).
    2. Mebane Jr., Walter R. & Sekhon, Jasjeet S., 2011. "Genetic Optimization Using Derivatives: The rgenoud Package for R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 42(i11).
    3. Calcagno, Vincent & de Mazancourt, Claire, 2010. "glmulti: An R Package for Easy Automated Model Selection with (Generalized) Linear Models," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 34(i12).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Mullen, Katharine M., 2014. "Continuous Global Optimization in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 60(i06).
    2. Bergmeir, Christoph & Molina, Daniel & Benítez, José M., 2016. "Memetic Algorithms with Local Search Chains in R: The Rmalschains Package," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 75(i04).
    3. Bernard W T Coetzee & Kevin J Gaston & Steven L Chown, 2014. "Local Scale Comparisons of Biodiversity as a Test for Global Protected Area Ecological Performance: A Meta-Analysis," PLOS ONE, Public Library of Science, vol. 9(8), pages 1-11, August.
    4. Muñoz-Mas, Rafael & Vezza, Paolo & Alcaraz-Hernández, Juan Diego & Martínez-Capel, Francisco, 2016. "Risk of invasion predicted with support vector machines: A case study on northern pike (Esox Lucius, L.) and bleak (Alburnus alburnus, L.)," Ecological Modelling, Elsevier, vol. 342(C), pages 123-134.
    5. Fernando Rojas & Peter Wanke & Víctor Leiva & Mauricio Huerta & Carlos Martin-Barreiro, 2022. "Modeling Inventory Cost Savings and Supply Chain Success Factors: A Hybrid Robust Compromise Multi-Criteria Approach," Mathematics, MDPI, vol. 10(16), pages 1-18, August.
    6. Kevin Ummel & Charles Fant, 2014. "Planning for Large-Scale Wind and Solar Power in South Africa: Identifying Cost-Effective Deployment Strategies Through Spatiotemporal Modelling," WIDER Working Paper Series wp-2014-121, World Institute for Development Economic Research (UNU-WIDER).
    7. Jasjeet Singh Sekhon & Richard D. Grieve, 2012. "A matching method for improving covariate balance in cost‐effectiveness analyses," Health Economics, John Wiley & Sons, Ltd., vol. 21(6), pages 695-714, June.
    8. Eduardo Correia & Rodrigo Calili & José Francisco Pessanha & Maria Fatima Almeida, 2023. "Definition of Regulatory Targets for Electricity Non-Technical Losses: Proposition of an Automatic Model-Selection Technique for Panel Data Regressions," Energies, MDPI, vol. 16(6), pages 1-22, March.
    9. Villacorta, Pablo J. & Verdegay, José L., 2016. "FuzzyStatProb: An R Package for the Estimation of Fuzzy Stationary Probabilities from a Sequence of Observations of an Unknown Markov Chain," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 71(i08).
    10. Olgun Aydin & Bartłomiej Igliński & Krzysztof Krukowski & Marek Siemiński, 2022. "Analyzing Wind Energy Potential Using Efficient Global Optimization: A Case Study for the City Gdańsk in Poland," Energies, MDPI, vol. 15(9), pages 1-22, April.
    11. Pates, Nicholas J. & Kim, GwanSeon & Mark, Tyler B. & Ritter, Matthias, 2020. "Windfalls or wind falls? The Local Effects of Turbine Development on US Agricultural Land Values," 2020 Annual Meeting, July 26-28, Kansas City, Missouri 304611, Agricultural and Applied Economics Association.
    12. Safaei, Fatemeh & Taghipour, Sharareh, 2024. "Integrated degradation-based burn-in and maintenance model for heterogeneous and highly reliable items," Reliability Engineering and System Safety, Elsevier, vol. 244(C).
    13. William Lim & Gaurav Khemka & David Pitt & Bridget Browne, 2019. "A method for calculating the implied no-recovery three-state transition matrix using observable population mortality incidence and disability prevalence rates among the elderly," Journal of Population Research, Springer, vol. 36(3), pages 245-282, September.
    14. Ji, Yonggang & Lin, Nan & Zhang, Baoxue, 2012. "Model selection in binary and tobit quantile regression using the Gibbs sampler," Computational Statistics & Data Analysis, Elsevier, vol. 56(4), pages 827-839.
    15. Shi, Yanlin, 2022. "A closed-form estimator for the Markov switching in mean model," Finance Research Letters, Elsevier, vol. 44(C).
    16. Olschewski, Sebastian & Diao, Linan & Rieskamp, Jörg, 2021. "Reinforcement learning about asset variability and correlation in repeated portfolio decisions," Journal of Behavioral and Experimental Finance, Elsevier, vol. 32(C).
    17. Gao, Guangyuan & Ho, Kin-Yip & Shi, Yanlin, 2020. "Long memory or regime switching in volatility? Evidence from high-frequency returns on the U.S. stock indices," Pacific-Basin Finance Journal, Elsevier, vol. 61(C).
    18. Moraes, Ricardo Kalil & Wanke, Peter Fernandes & Faria, João Ricardo, 2021. "Unveiling the endogeneity between social-welfare and labor efficiency: Two-stage NDEA neural network approach," Socio-Economic Planning Sciences, Elsevier, vol. 77(C).
    19. Erickson, Collin B. & Ankenman, Bruce E. & Sanchez, Susan M., 2018. "Comparison of Gaussian process modeling software," European Journal of Operational Research, Elsevier, vol. 266(1), pages 179-192.
    20. László Kovács, 2019. "Applications of Metaheuristics in Insurance," Society and Economy, Akadémiai Kiadó, Hungary, vol. 41(3), pages 371-395, September.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jss:jstsof:v:053:i04. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.