Questions tagged [differential-evolution]

In computer science, differential evolution (DE) is a method that optimizes a problem by iteratively trying to improve a candidate solution with regard to a given measure of quality. It's similar to genetic algorithm (GA) except that the candidate solutions are not considered as binary strings (chromosome) but (usually) as real vectors.

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 for 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…

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.

DE is originally due to Storn and Price

See also:

103 questions
0
votes
1 answer

Applying operation element-wise in numpy array

I'm currently implementing a differential evolution algorithm in python, and all is great when working in lower dimensions, however, when I start increasing the dimensions of the search space the time taken to run the algorithm increases…
J Dub
  • 35
  • 5
0
votes
1 answer

Is it possible to specify starting values for each parameter (instead of bounds) for scipy's differential evolution?

Scipy's differential evolution implementation (https://docs.scipy.org/doc/scipy-0.17.0/reference/generated/scipy.optimize.differential_evolution.html) uses either a Latin hypercube or a random method for population initialization. Latin hypercube…
0
votes
1 answer

How to deal with a parameter indexed by t in differential function when using scipy.integrate.solve_ivp

I would like to use solve_ivp for simulating a system which evolves the following differential function: dy(t) = AD(t) + By(t) As for me, t is integer counted from 0, I did import numpy as np import matplotlib.pyplot as plt from scipy.integrate…
Fay
  • 105
  • 1
  • 5
0
votes
1 answer

Error in the code of Differential Evolution in R

I am finding the optimal parameters for NSS model(model for yield curve estimation) for that I have got this code of Differential evolution in R.[I don't want to use DEoptim library). I am having a trouble in running this code. I have used the…
Ramu
  • 1
  • 1
0
votes
0 answers

How to decrease the price error of yield curve estimated using differential evolution?

I am optimizing the parameters of Nelson Siegel Sevenson(NSS) model for estimating the yield curve. For that am using DEoptim package of R but results are not coming that satisfactory. Can you suggest me some other methods I tried PSO, LM algorithms…
Jiwan
  • 1
0
votes
0 answers

Implementing the Shekel function in Matlab

I am trying to write a faster way to evaluate the Shekel function found here : https://www.sfu.ca/~ssurjano/shekel.html Their code is pretty similar to the one I have been using, except I pass a matrix of x values to the function and end up with…
0
votes
0 answers

meaning of "NP variables"

What is the meaning of NP variable? I have come across a paper on differential evolution and it states - DE is a population based search technique which utilizes NP variables as population of D dimensional parameter vectors for each generation. The…
Abhishek Patel
  • 172
  • 3
  • 18
0
votes
0 answers

Optimizing using scipy.optimize.differential_evolution

I have a custom function which takes 3 parameters with values between 0 and 1. I want to optimize these parameters using differential evolution in Scipy. How do I pass the parameters of the function that needs to be optimized to the…
0
votes
2 answers

Neural Network Training Using Particle Swarm Optimization

I want to train a feed forward neural network using Particle Swarm Optimization and Differential Evolution algorithms on Matlab, for prediction of breast cancer . I am new to Matlab so I search and found George Ever's toolbox but I don't know how to…
0
votes
0 answers

Differential_evolution in Scipy not giving a jacobean

I'm using the differential_evolution algorithm in scipy to fit some data with various exponential functions convolved with gaussian functions - this in itself is not a problem, the function fits it well. However, it is not giving the jacobian in…
0
votes
1 answer

Optimization doesn't converge with parallel_run function in Scilab

I'm trying to perform an optimization on Scilab, and I want to run a differential evolution code in parallel, using the parallel_run function. Original version of the code includes a for loop for the part that I want to parallelize and it works…
0
votes
1 answer

All versions of differential evolution algorithm

explain all updates in the basic algorithm of differential evolution. i am not able to find all versions of this algorithm. explain all versions of this algorithm as a survey and i am not clearly understand the theory behind this algorithm as given…
-2
votes
1 answer

is it possible to modify the scipy differential_evolution algorithm?

I need to try several boundary constraint-handling methods in Differential Evolution, so I would like to know how to modify the original differential_evolution scipy algorith, is that possible?
1 2 3 4 5 6
7