where rand function generates values uniformly in
the interval [0, 1].
Then, for each generation the individuals of the
population are updated by means of a reproduction
scheme. Thereto for each individual ind a set of other
individuals π is randomly extracted from the popula-
tion. To produce a new one the operations of Differ-
entiation and Recombination are applied one after an-
other. Next, the Selection is used to choose the best.
Now briefly consider these operations.
Here, we show the typical model of the Differenti-
ation, others can be found in (Feoktistov and Janaqi,
2004a; Feoktistov and Janaqi, 2004c). For that, three
different individuals π = {ξ
1
, ξ
2
, ξ
3
} are randomly
extracted from a population. So, the result, a trial in-
dividual, is
τ = ξ
3
+ F · (ξ
2
− ξ
1
) , (6)
where F > 0 is the constant of differentiation.
After, the trial individual τ is recombined with up-
dated one ind. The Recombination represents a typ-
ical case of a genes’ exchange. The trial one inherits
genes with some probability. Thus,
ω
j
=
½
τ
j
if rand
j
< Cr
ind
j
otherwise
(7)
where j = 1, . . . , D and Cr ∈ [0, 1) is the constant
of recombination.
The Selection is realized by comparing the cost
function values of updated and trial individuals. If
the trial individual better minimizes the cost function,
then it replaces the updated one.
ind =
½
ω if f(ω) ≤ f(ind)
ind otherwise
(8)
Notice that there are only three control parameters
in this algorithm. These are N P – population size, F
and Cr – constants of differentiation and recombina-
tion accordingly. As for the terminal conditions, one
can either fix the number of generations g
max
or a de-
sirable precision of a solution V T R (value to reach).
The pattern of DE algorithm is presented in Algo-
rithm 1.
3 DIFFERENTIATION
Differentiation occupies a quite important position in
the reproduction cycle. So, we try to analyze it in
detail.
Geometrically, Differentiation consists in two si-
multaneous operations: the first one is the choice of
a Differentiation’s direction and the second one is the
calculation of a step length in which this Differenti-
ation performs. From the optimization point of view
we have to answer the next two questions:
Algorithm 1 Differential Evolution
Require: F, Cr, N P – control parameters
initialize IP
0
← {ind
1
, . . . , ind
NP
}
evaluate f(IP
0
)
while (terminal condition) do
for all ind ∈ IP
g
do
IP
g
→ π = {ξ
1
, ξ
2
, . . . , ξ
n
}
τ ← Diff erentiate(π, F )
ω ← Recombine(τ, Cr)
ind ← Select(ω, ind)
end for
g ← g + 1
end while
1. How to choose the optimal direction from all avail-
able ones?
2. What step length is necessary in order to better
minimize the cost function along the chosen direc-
tion?
Let us remind that the principle of Differentiation
is based on a random extraction of several individuals
from the population and the geometrical manipulation
of them.
Possible directions of Differentiation entirely de-
pend on the disposition of extracted individuals. Also,
their disposition influences the step length. Further-
more by increasing either the size of population or
the number of extracted individuals we augment the
diversity of possible directions and the variety of step
lengths. Thereby we intensify the exploration of the
search space. But on the other hand, the probability
to find the best combination of extracted individuals
goes considerably down.
Example. We take the typical differentiation strat-
egy u = x
1
+ F · (x
2
− x
3
), where for each cur-
rent individual three other individuals are randomly
extracted from the population.
• In the first case we suppose that the population
consists only of four individuals. So there are
(4 − 1)(4 − 2)(4 − 3) = 3 · 2 · 1 = 6 possible di-
rections and 6 possible step lengths. Imagine then
that only one combination gives the best value of
the cost function. Therefore the probability to find
it, is 1/6.
• In the second case the population size is equal to
five individuals. It gives (5 − 1)(5 − 2)(5 − 3) =
4 · 3 · 2 = 24 directions and as many step lengths.
But, in this case, the probability to find the best
combination is much less – 1/24.
If we choose another strategy consisting of two ran-
domly extracted individuals, u = x
1
+ F · (x
2
− x
1
)
for example, then for the population size of five in-
dividuals the diversity of possible directions and step
ICEIS 2004 - ARTIFICIAL INTELLIGENCE AND DECISION SUPPORT SYSTEMS
30