1.8K Downloads
Updated Wed, 09 Feb 2022 21:36:11 +0000

View License

In recent years, several metaheuristic algorithms have been introduced in engineering and scientific fields to address real-life optimization problems. In this study, a novel nature-inspired metaheuristics algorithm named as Snake Optimizer (SO) is proposed to tackle a various set of optimization tasks which imitates the special mating behavior of snakes. Each snake (male/female) fights to have the best partner if the existed quantity of food is enough and the temperature is low. This study mathematically mimics and models such foraging and reproduction behaviors and patterns to present a simple and efficient optimization algorithm. To verify the validity and superiority of the proposed method, SO is tested on 29 unconstrained Congress on Evolutionary Computation (CEC) 2017 benchmark functions and four constrained real-world engineering problems. SO is compared with other 9 well-known and newly developed algorithms such as Linear population size reduction- Success-History Adaptation for Differential Evolution (L-SHADE), Ensemble Sinusoidal incorporated with L-SHADE (LSHADE-EpSin), Covariance matrix adaptation evolution strategy (CMAES), Coyote Optimization Algorithm (COA), Moth-flame Optimization, Harris Hawks Optimizer, Thermal Exchange optimization, Grasshopper Optimization Algorithm, and Whale Optimization Algorithm. Experimental results and statistical comparisons prove the effectiveness and efficiency of SO on different landscapes with respect to exploration-exploitation balance and convergence curve speed.

Cite As

Abdelazim Hussien (2024). Snake Optimizer (https://www.mathworks.com/matlabcentral/fileexchange/106465-snake-optimizer), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021b
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!
Version Published Release Notes
1.0.0