Hannibal Barca Optimizer (HBO)

Hannibal Barca Optimizer (HBO) is introduced as a novel meta-heuristic designed for global optimization.
41 Downloads
Updated 26 Sep 2025

View License

The Hannibal Barca Optimizer (HBO) is a population-based metaheuristic that fuses Hannibal’s pincer-inspired envelopment to address high-dimensional, nonconvex optimization. HBO employs a tripartite search scheme, echoing the staged tactics of Cannae, to balance exploration and exploitation efficiently.
This is the source codes of the paper: Ouertani, M. W., Manita, G., & Korbaa, O. (2025). Hannibal Barca optimizer: the power of the pincer movement for global optimization and multilevel image thresholding. Cluster Computing, 28(7), 482, http://dx.doi.org/10.1007/s10586-025-05134-1.

Cite As

Ghaith Manita (2025). Hannibal Barca Optimizer (HBO) (https://uk.mathworks.com/matlabcentral/fileexchange/182140-hannibal-barca-optimizer-hbo), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2025b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0