Difference between revisions of "Reflection/Expansion"

From Adaptive Population based Simplex
Jump to: navigation, search
m (Basic expansion (e0))
m (Admin moved page Reflection to Reflection/Expansion)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Basic expansion (e0) ==
+
== Basic reflection/expansion (r0) ==
We combine four individuals, $x_{best}$, $x_{worst2}$, $w_{worst}$, and the current $x_i$ that has to be moved. The idea is that a move from $w_{worst}$ to $w_{worst2}$ is probably a good one, so, on the contrary, the same move applied to $x_{best}$ is probably a bad one, i.e. it tends to deteriorate the position.  But on the other hand, it also gives a chance to escape from the attraction basin of $x_{best}$.
+
We combine four individuals, $x_{best}$, $x_{worst2}$, $w_{worst}$, and the current $x_i$ that has to be moved. The idea is that a move from $x_{worst}$ to $x_{worst2}$ is probably a good one, so, on the contrary, the same move applied to $x_{best}$ is probably a bad one, i.e. it tends to deteriorate the position.  But on the other hand, it also gives a chance to escape from the attraction basin of $x_{best}$.
  
 
Of course, for a unimodal landscape, this is a waste of time, but for multimodal ones, it may be useful. Moreover, this move is not applied on all dimensions, but only on some of them, according to the probability estimated at the end of the selection phase. So, finally, the formulae to define the new point $x_e$ are, for each dimension $d$:<br />
 
Of course, for a unimodal landscape, this is a waste of time, but for multimodal ones, it may be useful. Moreover, this move is not applied on all dimensions, but only on some of them, according to the probability estimated at the end of the selection phase. So, finally, the formulae to define the new point $x_e$ are, for each dimension $d$:<br />
  
if $rand(0,1)<p)$  x_{e,d}=x_{best,d}+(w_{worst2,d}-w_{worst,d})$<br />
+
if ($rand(0,1)<p)$ <br />
else $x_{e,d}=x_{i,d}$
+
$  x_{r,d}=x_{best,d}+(x_{worst2,d}-x_{worst,d})$<br />
 +
else <br />
 +
$ x_{r,d}=x_{i,d}$
 +
 
 +
If $x_{r}$ is better than $x_i$, decrease the population cost
 +
$$ C\leftarrow C-f(x_i)+f(x_r)$$
 +
 
 +
If $x_{r}$ is better than the best ever found (i.e. $Best$), set $Best=x_{r}$.
 +
 
  
  
 
   
 
   
 
.
 
.

Latest revision as of 08:39, 22 September 2015

Basic reflection/expansion (r0)

We combine four individuals, $x_{best}$, $x_{worst2}$, $w_{worst}$, and the current $x_i$ that has to be moved. The idea is that a move from $x_{worst}$ to $x_{worst2}$ is probably a good one, so, on the contrary, the same move applied to $x_{best}$ is probably a bad one, i.e. it tends to deteriorate the position. But on the other hand, it also gives a chance to escape from the attraction basin of $x_{best}$.

Of course, for a unimodal landscape, this is a waste of time, but for multimodal ones, it may be useful. Moreover, this move is not applied on all dimensions, but only on some of them, according to the probability estimated at the end of the selection phase. So, finally, the formulae to define the new point $x_e$ are, for each dimension $d$:

if ($rand(0,1)<p)$
$ x_{r,d}=x_{best,d}+(x_{worst2,d}-x_{worst,d})$
else
$ x_{r,d}=x_{i,d}$

If $x_{r}$ is better than $x_i$, decrease the population cost $$ C\leftarrow C-f(x_i)+f(x_r)$$

If $x_{r}$ is better than the best ever found (i.e. $Best$), set $Best=x_{r}$.



.