In the file DE.jl, there is a reference to F_max on line 96 which is not defined in the scope of update_state! and throws an error when DE is constructed with an F_max value. Here is the typo:
Typo
if parameters.F_min < parameters.F_max
F = parameters.F_min + (F_max - parameters.F_min) * rand(rng)
end
Solution
if parameters.F_min < parameters.F_max
F = parameters.F_min + (parameters.F_max - parameters.F_min) * rand(rng)
end
In the file DE.jl, there is a reference to F_max on line 96 which is not defined in the scope of
update_state!
and throws an error whenDE
is constructed with anF_max
value. Here is the typo:Typo
Solution