Bat Optimization Algorithm

version 1.1.0 (3.65 KB) by Haydar Khayou
A simple code of Bat Optimization Algorithm which resembles the PSO Algorithm implementation.


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 (2022). 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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!