Difference between revisions of "Local search"
From Adaptive Population based Simplex
m (Admin moved page Last Chance / Local search to Local search without leaving a redirect: revert) |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Basic local search (l0) == | == Basic local search (l0) == | ||
− | The idea is | + | The idea is to perform a random search "around" a good point, but only if the current point is worse than average, i.e. if f(xi)N>C. In that case, the process is the following: |
* Compute the maximum distance ρ between xbest and all the other individuals of the population. | * Compute the maximum distance ρ between xbest and all the other individuals of the population. | ||
* Select the xl position at random in the hypersphere of centre xbest and of radius ρ. The basic random choice makes use of two distributions, an uniform one, and a non-uniform one (see below). | * Select the xl position at random in the hypersphere of centre xbest and of radius ρ. The basic random choice makes use of two distributions, an uniform one, and a non-uniform one (see below). | ||
Line 12: | Line 12: | ||
=== Random choice === | === Random choice === | ||
The distribution that is used is itself selected at random (uniform distribution) between two ones: | The distribution that is used is itself selected at random (uniform distribution) between two ones: | ||
− | # the uniform one. The components of the direction vector follow the normalised Gaussian distribution, and the radius is $r=\rho*rand(0,1)^{\frac{1 | + | # the uniform one. The components of the direction vector follow the normalised Gaussian distribution, and the radius is $r=\rho*rand(0,1)^{\frac{1}{D}}$ |
# a non uniform one (more dense near to the centre). Here the radius is simply r=ρ∗rand(0,1). | # a non uniform one (more dense near to the centre). Here the radius is simply r=ρ∗rand(0,1). |
Latest revision as of 10:06, 22 September 2015
Basic local search (l0)
The idea is to perform a random search "around" a good point, but only if the current point is worse than average, i.e. if f(xi)N>C. In that case, the process is the following:
- Compute the maximum distance ρ between xbest and all the other individuals of the population.
- Select the xl position at random in the hypersphere of centre xbest and of radius ρ. The basic random choice makes use of two distributions, an uniform one, and a non-uniform one (see below).
If xl is better than xi, decrease the population cost
C←C−f(xi)+f(xl)
If xl is better than the best ever found (i.e. Best), set Best=xl.
Random choice
The distribution that is used is itself selected at random (uniform distribution) between two ones:
- the uniform one. The components of the direction vector follow the normalised Gaussian distribution, and the radius is r=ρ∗rand(0,1)1D
- a non uniform one (more dense near to the centre). Here the radius is simply r=ρ∗rand(0,1).