Modular Differential Evolution for Experimenting with Operators

Modular implementation of the Differential Evolution algorithm for experimenting with different types of operators.

ExpDE is a modular implementation of the Differential Evolution metaheuristic, which aims at providing a platform for the experimental investigation of the effect of different recombination / mutation / selection operators.

Install the package directly from CRAN using:


To get the latest version from Github, use:

# install.packages("devtools")

Full usage instructions and examples can be found in the documentation of ExpDE::ExpDE(). Type ?ExpDE to check it.

  • Arithmetic (recombination_arith)
  • Binomial (recombination_bin)
  • BLX-α (recombination_blxAlpha)
  • BLX-α-β (recombination_blxAlphaBeta)
  • Eigenvector-based (recombination_eigen)
  • Exponential (recombination_exp)
  • Flat (recombination_flat)
  • Geometric (recombination_geo)
  • Linear BGA (recombination_lbga)
  • Linear (recombination_linear)
  • M-max (recombination_mmax)
  • N-point (recombination_npoint)
  • One-point (recombination_onepoint)
  • pbest (recombination_pbest)
  • SBX (recombination_sbx)
  • Wright (recombination_wright)
  • Rand (mutation_rand)
  • Best (mutation_best)
  • Standard DE (selection_standard)
  • Maximum number of iterations (stop_maxiter)
  • Maximum number of function evaluations (stop_maxeval)
popsize  <- 200
recpars  <- list(name = "recombination_sbx", eta = 10)
mutpars  <- list(name = "mutation_best", f = 0.6, nvecs = 1)
selpars  <- list(name = "selection_standard")
stopcrit <- list(names = "stop_maxeval", maxevals = 100000)
probpars <- list(name  = "sphere", xmin = rep(2, 10), xmax = rep(20, 10))
seed <- 1234
showpars <- list(show.iters = "numbers", showevery = 10)
out <- ExpDE(popsize, mutpars, recpars, selpars, stopcrit, probpars, seed, showpars)

If you find any bugs or has any suggestions for improvement, please feel free to contact me.



Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.1.4 by Felipe Campelo, 4 years ago

Browse source code at

Authors: Felipe Campelo [aut, cre] , Moises Botelho [aut]

Documentation:   PDF Manual  

GPL-2 license

Imports assertthat

Suggests smoof, cec2013

See at CRAN