Bat Optimization Algorithm

A simple code of Bat Optimization Algorithm which resembles the PSO Algorithm implementation.
552 Downloads
Updated 10 Jun 2020

View License

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.

Cite As

Haydar Khayou (2026). Bat Optimization Algorithm (https://in.mathworks.com/matlabcentral/fileexchange/76631-bat-optimization-algorithm), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.1.0

A parameter (epsilon) has been added to control the step size when searching near the global best.

1.0.0