Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bat Algorithm #55

Open
lnpsiqueira opened this issue Nov 21, 2020 · 2 comments
Open

Bat Algorithm #55

lnpsiqueira opened this issue Nov 21, 2020 · 2 comments

Comments

@lnpsiqueira
Copy link

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

@7ossam81
Copy link
Owner

hi @lnpsiqueira

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

@RamziAI
Copy link

RamziAI commented Jan 8, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants