OptimizationTestFunctions
OptimizationTestFunctions copied to clipboard
Bug in Ackley definitions
Hi,
I think, I found bug in Ackley definition. According to provided link, We should apply Square root on square term (s1). But it didn't apply.
In order to fix this line 60 should rewrite as follows :
return self.bias - 20*math.exp(-0.2*math.sqrt(s1)) - math.exp(s2)
True. Good catch!
@anvaari thank u, fixed it