Differential evolution
Differential evolution (DE) is an evolutionary algorithm to optimize a problem by iteratively trying to improve a candidate solution with regard to a given measure of quality. Such methods are commonly known as metaheuristics as they make few or no assumptions about the optimized problem and can search very large spaces of candidate solutions. However, metaheuristics such as DE do not guarantee an optimal solution is ever found. DE is used for multidimensional real-valued functions but does not use the gradient of the problem being optimized, which means DE does not require the optimization problem to be differentiable, as is required by classic optimization methods such as gradient descent and quasi-newton methods. DE can therefore also be used on optimization problems that are not even continuous, are noisy, change over time, etc. DE optimizes a problem by maintaining a population of candidate solutions and creating new candidate solutions by combining existing ones according to its simple formulae, and then keeping whichever candidate solution has the best score or fitness on the optimization problem at hand. In this way, the optimization problem is treated as a black box that merely provides a measure of quality given a candidate solution and the gradient is therefore not needed.
]] Differential evolution (DE) is an evolutionary algorithm to optimize a problem by iteratively trying to improve a candidate solution with regard to a given measure of quality. Such methods are commonly known as metaheuristics as they make few or no assumptions about the optimized problem and can search very large spaces of candidate solutions. However, metaheuristics such as DE do not guarantee an optimal solution is ever found. DE is used for multidimensional real-valued functions but does not use the gradient of the problem being optimized, which means DE does not require the optimization problem to be differentiable, as is required by classic optimization methods such as gradient descent and quasi-newton methods. DE can therefore also be used on optimization problems that are not even continuous, are noisy, change over time, etc. DE optimizes a problem by maintaining a population of candidate solutions and creating new candidate solutions by combining existing ones according to its simple formulae, and then keeping whichever candidate solution has the best score or fitness on the optimization problem at hand. In this way, the optimization problem is treated as a black box that merely provides a measure of quality given a candidate solution and the gradient is therefore not needed. ==History== Storn and Price introduced Differential Evolution in 1995. Books have been published on theoretical and practical aspects of using DE in parallel computing, multiobjective optimization, constrained optimization, and the books also contain surveys of application areas. Surveys on the multi-faceted research aspects of DE can be found in journal articles. == Algorithm== A basic variant of the DE algorithm works by having a population of candidate solutions (called agents). These agents are moved around in the search-space by using simple mathematical formulae to combine the positions of existing agents from the population. If the new position of an agent is an improvement then it is accepted and forms part of the population, otherwise the new position is simply discarded. The process is repeated and by doing so it is hoped, but not guaranteed, that a satisfactory solution will eventually be discovered. Formally, let f: \mathbb{R}^n \to \mathbb{R} be the fitness function which must be minimized (note that maximization can be performed by considering the function h := -f instead). The function takes a candidate solution as argument in the form of a vector of real numbers. It produces a real number as output which indicates the fitness of the given candidate solution. The gradient of f is not known. The goal is to find a solution \mathbf{m} for which f(\mathbf{m}) \leq f(\mathbf{p}) for all \mathbf{p} in the search-space, which means that \mathbf{m} is the global minimum. Let \mathbf{x} \in \mathbb{R}^n designate a candidate solution (agent) in the population. The basic DE algorithm can then be described as follows: Choose the parameters \text{NP} \geq 4 , \text{CR} \in [0,1] , and F \in [0,2] . NP : \text{NP} is the population size, i.e. the number of candidate agents or "parents". CR : The parameter \text{CR} \in [0,1] is called the crossover probability. F : The parameter F \in [0,2] is called the differential weight. Typical settings are NP = 10n , CR = 0.9 and F = 0.8 . Optimization performance may be greatly impacted by these choices; see below. Initialize all agents \mathbf{x} with random positions in the search-space. Until a termination criterion is met (e.g. number of iterations performed, or adequate fitness reached), repeat the following: For each agent \mathbf{x} in the population do: Pick three agents \mathbf{a},\mathbf{b} , and \mathbf{c} from the population at random, they must be distinct from each other as well as from agent \mathbf{x} . ( \mathbf{a} is called the "base" vector.) Pick a random index R \in \{1, \ldots, n\} where n is the dimensionality of the problem being optimized. Compute the agent's potentially new position \mathbf{y} = [y_1, \ldots, y_n] as follows: For each i \in \{1,\ldots,n\} , pick a uniformly distributed random number r_i \sim U(0,1) If r_i or i = R then set y_i = a_i + F \times (b_i-c_i) otherwise set y_i = x_i . (Index position R is replaced for certain.) If f(\mathbf{y}) \leq f(\mathbf{x}) then replace the agent \mathbf{x} in the population with the improved or equal candidate solution \mathbf{y} . Pick the agent from the population that has the best fitness and return it as the best found candidate solution. expressed as: f\tilde(x) = f(x) + \rho \times \mathrm (x) . Here, \mathrm (x) represents either a constraint violation (an L1 penalty) or the square of a constraint violation (an L2 penalty). This method, however, has certain drawbacks. One significant challenge is the appropriate selection of the penalty coefficient \rho . If \rho is set too low, it may not effectively enforce constraints. Conversely, if it's too high, it can greatly slow down or even halt the convergence process. Despite these challenges, this approach remains widely used due to its simplicity and because it doesn't require altering the differential evolution algorithm itself. There are alternative strategies, such as projecting onto a feasible set or reducing dimensionality, which can be used for box-constrained or linearly constrained cases. However, in the context of general nonlinear constraints, the most reliable methods typically involve penalty functions. ==References==
References
- Recent Advances in Differential Evolution - An Updated Survey · retrieved 2026-11-19 · rev 1378323788
Cite this reference
MLA "Recent Advances in Differential Evolution - An Updated Survey." S. 2026-11-19. http://web.mysites.ntu.edu.sg/epnsugan/PublicSite/Shared%20Documents/PDFs/DE-Survey-2016.pdf. Accessed 24 November 2026.
Chicago "Recent Advances in Differential Evolution - An Updated Survey." S. 2026-11-19. http://web.mysites.ntu.edu.sg/epnsugan/PublicSite/Shared%20Documents/PDFs/DE-Survey-2016.pdf.
APA S. (2026). Recent Advances in Differential Evolution - An Updated Survey. Retrieved November 24, 2026, from http://web.mysites.ntu.edu.sg/epnsugan/PublicSite/Shared%20Documents/PDFs/DE-Survey-2016.pdf
- Swagatam Das; Sankha Subhra Mullick; P.N. Suganthan (2016). Recent advances in differential evolution . Wikipedia revision 1378323788, retrieved 2026-11-20 · retrieved 2026-11-19 · rev 1378323788
Cite this reference
MLA "Swagatam Das; Sankha Subhra Mullick; P.N. Suganthan (2016). Recent advances in differential evolution . Wikipedia revision 1378323788, retrieved 2026-11-20." Swagatam Das; Sankha Subhra Mullick; P. 2026-11-19. https://en.wikipedia.org/w/index.php?oldid=1378323788. Accessed 24 November 2026.
Chicago "Swagatam Das; Sankha Subhra Mullick; P.N. Suganthan (2016). Recent advances in differential evolution . Wikipedia revision 1378323788, retrieved 2026-11-20." Swagatam Das; Sankha Subhra Mullick; P. 2026-11-19. https://en.wikipedia.org/w/index.php?oldid=1378323788.
APA Swagatam Das; Sankha Subhra Mullick; P. (2026). Swagatam Das; Sankha Subhra Mullick; P.N. Suganthan (2016). Recent advances in differential evolution . Wikipedia revision 1378323788, retrieved 2026-11-20. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1378323788
- Differential evolution—a simple and efficient scheme for global optimization over continuous spaces · retrieved 2026-11-19 · rev 1378323788
Cite this reference
MLA "Differential evolution—a simple and efficient scheme for global optimization over continuous spaces." Storn, Rainer; Price, Kenneth (1995). 2026-11-19. https://cse.engineering.nyu.edu/~mleung/CS909/s04/Storn95-012.pdf. Accessed 24 November 2026.
Chicago "Differential evolution—a simple and efficient scheme for global optimization over continuous spaces." Storn, Rainer; Price, Kenneth (1995). 2026-11-19. https://cse.engineering.nyu.edu/~mleung/CS909/s04/Storn95-012.pdf.
APA Storn, Rainer; Price, Kenneth (1995). (2026). Differential evolution—a simple and efficient scheme for global optimization over continuous spaces. Retrieved November 24, 2026, from https://cse.engineering.nyu.edu/~mleung/CS909/s04/Storn95-012.pdf
- Differential Evolution: A Survey of the State-of-the-art · retrieved 2026-11-19 · rev 1378323788
Cite this reference
MLA "Differential Evolution: A Survey of the State-of-the-art." S. 2026-11-19. https://www.researchgate.net/publication/220380793. Accessed 24 November 2026.
Chicago "Differential Evolution: A Survey of the State-of-the-art." S. 2026-11-19. https://www.researchgate.net/publication/220380793.
APA S. (2026). Differential Evolution: A Survey of the State-of-the-art. Retrieved November 24, 2026, from https://www.researchgate.net/publication/220380793
- Chakraborty, U.K., ed. (2008), Advances in Differential Evolution , Springer, ISBN 978-3-540-68827-3 Wikipedia revision 1378323788, retrieved 2026-11-20 · retrieved 2026-11-19 · rev 1378323788
Cite this reference
MLA "Chakraborty, U.K., ed. (2008), Advances in Differential Evolution , Springer, ISBN 978-3-540-68827-3 Wikipedia revision 1378323788, retrieved 2026-11-20." Chakraborty, U. 2026-11-19. https://www.springer.com/engineering/book/978-3-540-68827-3. Accessed 24 November 2026.
Chicago "Chakraborty, U.K., ed. (2008), Advances in Differential Evolution , Springer, ISBN 978-3-540-68827-3 Wikipedia revision 1378323788, retrieved 2026-11-20." Chakraborty, U. 2026-11-19. https://www.springer.com/engineering/book/978-3-540-68827-3.
APA Chakraborty, U. (2026). Chakraborty, U.K., ed. (2008), Advances in Differential Evolution , Springer, ISBN 978-3-540-68827-3 Wikipedia revision 1378323788, retrieved 2026-11-20. Retrieved November 24, 2026, from https://www.springer.com/engineering/book/978-3-540-68827-3
- Differential Evolution as Applied to Electromagnetics · retrieved 2026-11-19 · rev 1378323788
Cite this reference
MLA "Differential Evolution as Applied to Electromagnetics." Rocca, P. 2026-11-19. https://en.wikipedia.org/wiki/Bibcode_(identifier). Accessed 24 November 2026.
Chicago "Differential Evolution as Applied to Electromagnetics." Rocca, P. 2026-11-19. https://en.wikipedia.org/wiki/Bibcode_(identifier).
APA Rocca, P. (2026). Differential Evolution as Applied to Electromagnetics. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Bibcode_(identifier)
- Feoktistov, V. (2006). Differential Evolution: In Search of Solutions . Springer. ISBN 978-0-387-36895-5 . Wikipedia revision 1378323788, retrieved 2026-11-20 · retrieved 2026-11-19 · rev 1378323788
Cite this reference
MLA "Feoktistov, V. (2006). Differential Evolution: In Search of Solutions . Springer. ISBN 978-0-387-36895-5 . Wikipedia revision 1378323788, retrieved 2026-11-20." Feoktistov, V. 2026-11-19. https://www.springer.com/mathematics/book/978-0-387-36895-5. Accessed 24 November 2026.
Chicago "Feoktistov, V. (2006). Differential Evolution: In Search of Solutions . Springer. ISBN 978-0-387-36895-5 . Wikipedia revision 1378323788, retrieved 2026-11-20." Feoktistov, V. 2026-11-19. https://www.springer.com/mathematics/book/978-0-387-36895-5.
APA Feoktistov, V. (2026). Feoktistov, V. (2006). Differential Evolution: In Search of Solutions . Springer. ISBN 978-0-387-36895-5 . Wikipedia revision 1378323788, retrieved 2026-11-20. Retrieved November 24, 2026, from https://www.springer.com/mathematics/book/978-0-387-36895-5
- On setting the control parameter of the differential evolution method · retrieved 2026-11-19 · rev 1378323788
Cite this reference
MLA "On setting the control parameter of the differential evolution method." Liu, J. 2026-11-19. https://en.wikipedia.org/w/index.php?oldid=1378323788. Accessed 24 November 2026.
Chicago "On setting the control parameter of the differential evolution method." Liu, J. 2026-11-19. https://en.wikipedia.org/w/index.php?oldid=1378323788.
APA Liu, J. (2026). On setting the control parameter of the differential evolution method. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1378323788
- Onwubolu, G. C.; Babu, B. V. (2004). New Optimization Techniques in Engineering . Studies in Fuzziness and Soft Computing. Vol. 141. doi : 10.1007/978-3-540-39930-8 . ISBN 978-3-642-05767-0 . Wikipedia revision 1378323788, retrieved 2026-11-20 · retrieved 2026-11-19 · rev 1378323788
Cite this reference
MLA "Onwubolu, G. C.; Babu, B. V. (2004). New Optimization Techniques in Engineering . Studies in Fuzziness and Soft Computing. Vol. 141. doi : 10.1007/978-3-540-39930-8 . ISBN 978-3-642-05767-0 . Wikipedia revision 1378323788, retrieved 2026-11-20." Onwubolu, G. 2026-11-19. https://en.wikipedia.org/wiki/Doi_(identifier). Accessed 24 November 2026.
Chicago "Onwubolu, G. C.; Babu, B. V. (2004). New Optimization Techniques in Engineering . Studies in Fuzziness and Soft Computing. Vol. 141. doi : 10.1007/978-3-540-39930-8 . ISBN 978-3-642-05767-0 . Wikipedia revision 1378323788, retrieved 2026-11-20." Onwubolu, G. 2026-11-19. https://en.wikipedia.org/wiki/Doi_(identifier).
APA Onwubolu, G. (2026). Onwubolu, G. C.; Babu, B. V. (2004). New Optimization Techniques in Engineering . Studies in Fuzziness and Soft Computing. Vol. 141. doi : 10.1007/978-3-540-39930-8 . ISBN 978-3-642-05767-0 . Wikipedia revision 1378323788, retrieved 2026-11-20. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Doi_(identifier)
- a b Price, K.; Storn, R.M.; Lampinen, J.A. (2005). Differential Evolution: A Practical Approach to Global Optimization . Springer. ISBN 978-3-540-20950-8 . Wikipedia revision 1378323788, retrieved 2026-11-20 · retrieved 2026-11-19 · rev 1378323788
Cite this reference
MLA "a b Price, K.; Storn, R.M.; Lampinen, J.A. (2005). Differential Evolution: A Practical Approach to Global Optimization . Springer. ISBN 978-3-540-20950-8 . Wikipedia revision 1378323788, retrieved 2026-11-20." a b Price, K. 2026-11-19. https://www.springer.com/computer/theoretical+computer+science/foundations+of+computations/book/978-3-540-20950-8. Accessed 24 November 2026.
Chicago "a b Price, K.; Storn, R.M.; Lampinen, J.A. (2005). Differential Evolution: A Practical Approach to Global Optimization . Springer. ISBN 978-3-540-20950-8 . Wikipedia revision 1378323788, retrieved 2026-11-20." a b Price, K. 2026-11-19. https://www.springer.com/computer/theoretical+computer+science/foundations+of+computations/book/978-3-540-20950-8.
APA a b Price, K. (2026). a b Price, K.; Storn, R.M.; Lampinen, J.A. (2005). Differential Evolution: A Practical Approach to Global Optimization . Springer. ISBN 978-3-540-20950-8 . Wikipedia revision 1378323788, retrieved 2026-11-20. Retrieved November 24, 2026, from https://www.springer.com/computer/theoretical+computer+science/foundations+of+computations/book/978-3-540-20950-8
- On the usage of differential evolution for function optimization · retrieved 2026-11-19 · rev 1378323788
Cite this reference
MLA "On the usage of differential evolution for function optimization." a b c Storn, R. 2026-11-19. https://en.wikipedia.org/wiki/Doi_(identifier). Accessed 24 November 2026.
Chicago "On the usage of differential evolution for function optimization." a b c Storn, R. 2026-11-19. https://en.wikipedia.org/wiki/Doi_(identifier).
APA a b c Storn, R. (2026). On the usage of differential evolution for function optimization. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Doi_(identifier)
- Differential evolution - a simple and efficient heuristic for global optimization over continuous spaces · retrieved 2026-11-19 · rev 1378323788
Cite this reference
MLA "Differential evolution - a simple and efficient heuristic for global optimization over continuous spaces." Storn, R. 2026-11-19. https://en.wikipedia.org/wiki/Bibcode_(identifier). Accessed 24 November 2026.
Chicago "Differential evolution - a simple and efficient heuristic for global optimization over continuous spaces." Storn, R. 2026-11-19. https://en.wikipedia.org/wiki/Bibcode_(identifier).
APA Storn, R. (2026). Differential evolution - a simple and efficient heuristic for global optimization over continuous spaces. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Bibcode_(identifier)
- Critical values for the control parameters of differential evolution algorithms · retrieved 2026-11-19 · rev 1378323788
Cite this reference
MLA "Critical values for the control parameters of differential evolution algorithms." Zaharie, D. 2026-11-19. https://en.wikipedia.org/w/index.php?oldid=1378323788. Accessed 24 November 2026.
Chicago "Critical values for the control parameters of differential evolution algorithms." Zaharie, D. 2026-11-19. https://en.wikipedia.org/w/index.php?oldid=1378323788.
APA Zaharie, D. (2026). Critical values for the control parameters of differential evolution algorithms. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1378323788
- DE optimizes a problem by maintaining a population of candidate solutions and creating new candidate solutions by combining existing ones according to its simple formulae, and then keeping whichever c . · retrieved 2026-10-02 · rev 1378323788
Cite this reference
MLA "DE optimizes a problem by maintaining a population of candidate solutions and creating new candidate solutions by combining existing ones according to its simple formulae, and then keeping whichever c ." DE optimizes a problem by maintaining a population of candidate solutions and creating new candidate solutions by combin. 2026-10-02. https://en.wikipedia.org/w/index.php?oldid=1378323788. Accessed 24 November 2026.
Chicago "DE optimizes a problem by maintaining a population of candidate solutions and creating new candidate solutions by combining existing ones according to its simple formulae, and then keeping whichever c ." DE optimizes a problem by maintaining a population of candidate solutions and creating new candidate solutions by combin. 2026-10-02. https://en.wikipedia.org/w/index.php?oldid=1378323788.
APA DE optimizes a problem by maintaining a population of candidate solutions and creating new candidate solutions by combin. (2026). DE optimizes a problem by maintaining a population of candidate solutions and creating new candidate solutions by combining existing ones according to its simple formulae, and then keeping whichever c . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1378323788
- Books have been published on theoretical and practical aspects of using DE in parallel computing, multiobjective optimization, constrained optimization, and the books also contain surveys . · retrieved 2026-10-02 · rev 1378323788
Cite this reference
MLA "Books have been published on theoretical and practical aspects of using DE in parallel computing, multiobjective optimization, constrained optimization, and the books also contain surveys ." Books have been published on theoretical and practical aspects of using DE in parallel computing, multiobjective optimiz. 2026-10-02. https://en.wikipedia.org/w/index.php?oldid=1378323788. Accessed 24 November 2026.
Chicago "Books have been published on theoretical and practical aspects of using DE in parallel computing, multiobjective optimization, constrained optimization, and the books also contain surveys ." Books have been published on theoretical and practical aspects of using DE in parallel computing, multiobjective optimiz. 2026-10-02. https://en.wikipedia.org/w/index.php?oldid=1378323788.
APA Books have been published on theoretical and practical aspects of using DE in parallel computing, multiobjective optimiz. (2026). Books have been published on theoretical and practical aspects of using DE in parallel computing, multiobjective optimization, constrained optimization, and the books also contain surveys . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1378323788
- Recent Advances . · retrieved 2026-10-02 · rev 1378323788
Cite this reference
MLA "Recent Advances ." 2026-10-02. https://en.wikipedia.org/w/index.php?oldid=1378323788. Accessed 24 November 2026.
Chicago "Recent Advances ." 2026-10-02. https://en.wikipedia.org/w/index.php?oldid=1378323788.
APA encyclopegia.org. (2026). Recent Advances . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1378323788
- Differential Evolution: A Practical Approach to Global Optimization . · retrieved 2026-10-02 · rev 1378323788
Cite this reference
MLA "Differential Evolution: A Practical Approach to Global Optimization ." 2026-10-02. https://en.wikipedia.org/w/index.php?oldid=1378323788. Accessed 24 November 2026.
Chicago "Differential Evolution: A Practical Approach to Global Optimization ." 2026-10-02. https://en.wikipedia.org/w/index.php?oldid=1378323788.
APA encyclopegia.org. (2026). Differential Evolution: A Practical Approach to Global Optimization . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1378323788
- Feoktistov, V. Differential Evolution: In Search of Solutions . Springer . 2006. · retrieved 2026-10-02 · rev 1378323788
Cite this reference
MLA "Feoktistov, V. Differential Evolution: In Search of Solutions . Springer . 2006." Feoktistov, V. 2026-10-02. https://en.wikipedia.org/w/index.php?oldid=1378323788. Accessed 24 November 2026.
Chicago "Feoktistov, V. Differential Evolution: In Search of Solutions . Springer . 2006." Feoktistov, V. 2026-10-02. https://en.wikipedia.org/w/index.php?oldid=1378323788.
APA Feoktistov, V. (2026). Feoktistov, V. Differential Evolution: In Search of Solutions . Springer . 2006. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1378323788
- Advances in Differential Evolution . · retrieved 2026-10-02 · rev 1378323788
Cite this reference
MLA "Advances in Differential Evolution ." 2026-10-02. https://en.wikipedia.org/w/index.php?oldid=1378323788. Accessed 24 November 2026.
Chicago "Advances in Differential Evolution ." 2026-10-02. https://en.wikipedia.org/w/index.php?oldid=1378323788.
APA encyclopegia.org. (2026). Advances in Differential Evolution . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1378323788
Cite this article
MLA
"Differential evolution." encyclopegia.org, 2026, https://encyclopegia.org/wiki/differential-evolution. Accessed 24 November 2026.
Chicago
"Differential evolution." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/differential-evolution.
APA
encyclopegia.org. (2026). Differential evolution. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/differential-evolution
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON