Standard Bat Algorithm is a bio-inspired optimization algorithm that utilizes the echolocation technique used by microbats to find food/prey, (Yang, 2010). In this function I made the code very similar to the Standard PSO algorithm so that the users who are familiar with Standard PSO will understand the code easily. I used the bBAT variable to save the personal best solutions, and the gBAT variable to save the global optimum, thus the user can do a statistical analysis for the Swarm behavior, convergence, and the algorithm coefficients. The function also shows parameters improvements as it works, which are: the best solution, the normalized error, the increasing of Emission Rate, and the decreasing of Loudness.
Haydar Khayou (2022). Bat Optimization Algorithm (https://www.mathworks.com/matlabcentral/fileexchange/76631-bat-optimization-algorithm), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!