EvoloPy icon indicating copy to clipboard operation
EvoloPy copied to clipboard

Bat Algorithm

Open lnpsiqueira opened this issue 5 years ago • 2 comments

Hello everyone, When i try to use Bat Algorithm i got this error.

EvoloPy-master\optimizers\BAT.py", line 96, in BAT if Fnew<=fmin:

UnboundLocalError: local variable 'fmin' referenced before assignment

lnpsiqueira avatar Nov 21 '20 19:11 lnpsiqueira

hi @lnpsiqueira

This error has been fixed. fmin wasn't initialized. Thank you.

7ossam81 avatar Nov 27 '20 12:11 7ossam81

Hello everyone. When I try to use BAT to optimizers such as Ackley and Rastrigin and ext., I don't get the result near to 0. For example for Ackley for 2000 iterations I get 18, compared with other algorithms(for example with GWO), by using them I get approximately 0. What can be the issue? Thanks in advance.

RamziAI avatar Jan 08 '21 09:01 RamziAI