File Exchange

image thumbnail

Dragonfly Algorithm Toolbox

version 1.0 (385 KB) by Seyedali Mirjalili
A toolbox for the Dragonfly Algorithm (DA) for solving single-objective optimization problems


Updated 22 May 2018

View License

This is a handy toolbox for the recently proposed DA algorithm. The main inspiration of the DA algorithm originates from the static and dynamic swarming behaviours of dragonflies in nature. Two essential phases of optimization, exploration and exploitation, are designed by modelling the social interaction of dragonflies in navigating, searching for foods, and avoiding enemies when swarming dynamically or statistically.
This is the source codes of the paper:

Seyedali Mirjalili, "Dragonfly Algorithm: A New Meta-heuristic Optimization Technique for Solving Single-objective, Discrete, and Multi-objective Problems " , Neural Computing and Applications, in press, 2015, DOI:

If you have no access to the paper, please drop me an email at and I will send you the paper.

More information can be found in:

Th original version of this algorithm can be found here:

The binary version of this algorithm can be found here:

The multi-objective version of this algorithm can be found here:

All of the source codes and extra information as well as more optimization techniques can be found in my personal website at

I have a number of relevant courses in this area. You can enrol via the following links with 95% discount:

A course on “Optimization Problems and Algorithms: how to understand, formulation, and solve optimization problems”:

A course on “Introduction to Genetic Algorithms: Theory and Applications”

Comments and Ratings (2)

hello sir can i apply this to distribution power system with respect to reconfiguration and capacitor placement problems



Links added:

typo in the summary.

Descriptions have been updated.

Tags have been updated.

Keywords have been update.

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

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.

Learn About Live Editor