RcppDE: Global Optimization by Differential Evolution in C++

An efficient C++ based implementation of the 'DEoptim' function which performs global optimization by differential evolution. Its creation was motivated by trying to see if the old approximation "easier, shorter, faster: pick any two" could in fact be extended to achieving all three goals while moving the code from plain old C to modern C++. The initial version did in fact do so, but a good part of the gain was due to an implicit code review which eliminated a few inefficiencies which have since been eliminated in 'DEoptim'.

Package details

AuthorDirk Eddelbuettel [aut, cre] (<https://orcid.org/0000-0001-6419-907X>), David Ardia [aut] (Author of DEoptim), Katharine Mullen [aut] (Author of DEoptim), Brian Peterson [aut] (Author of DEoptim), Joshua Ulrich [aut] (Author of DEoptim), Kris Boudt [ctb] (Contributor to DEoptim), Rainer Storn [aut] (Principal author of DE-Engine)
MaintainerDirk Eddelbuettel <edd@debian.org>
LicenseGPL (>= 2)
Version0.1.8
URL https://github.com/eddelbuettel/rcppde https://dirk.eddelbuettel.com/code/rcpp.de.html
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("RcppDE")

Try the RcppDE package in your browser

Any scripts or data that you put into this service are public.

RcppDE documentation built on April 3, 2025, 9 p.m.