Maximization of a fitness function using Differential Evolution (DE). DE is a population-based evolutionary algorithm for optimisation of fitness functions defined over a continuous parameter space.
fitness: the fitness function, any allowable R function which takes as input a vector of values representing a potential solution, and returns a numerical value describing its ``fitness''.
lower: a vector of length equal to the decision variables providing the lower bounds of the search space.
upper: a vector of length equal to the decision variables providing the upper bounds of the search space.
popSize: the population size. By default is set at 10 times the number of decision variables.
pcrossover: the probability of crossover, by default set to 0.5.
stepsize: the stepsize or weighting factor. A value in the interval [0,2], by default set to 0.8. If set at NA a random value is selected in the interval [0.5, 1.0] (so called dithering).
...: additional arguments to be passed to the ga function.
Details
Differential Evolution (DE) is a stochastic evolutionary algorithm that optimises multidimensional real-valued fitness functions without requiring the optimisation problem to be differentiable.
This implimentation follows the description in Simon (2013; Sec. 12.4, and Fig. 12.12) and uses the functionalities available in the ga function for Genetic Algorithms.
The DE selection operator is defined by gareal_de with parameters p = pcrossover and F = stepsize.
Returns
Returns an object of class de-class. See de-class for a description of available slots information.
References
Scrucca L. (2013). GA: A Package for Genetic Algorithms in R. Journal of Statistical Software, 53(4), 1-37, tools:::Rd_expr_doi("10.18637/jss.v053.i04") .
Scrucca, L. (2017) On some extensions to GA package: hybrid optimisation, parallelisation and islands evolution. The R Journal, 9/1, 187-206, tools:::Rd_expr_doi("10.32614/RJ-2017-008") .
Simon D. (2013) Evolutionary Optimization Algorithms. John Wiley & Sons.
Price K., Storn R.M., Lampinen J.A. (2005) Differential Evolution: A Practical Approach to Global Optimization. Springer.