
208 Grey Wolf Optimizer
solving an optimal reactive power dispatch problem [5], and casting produc-
tion scheduling [10]. The rest of the paper is organized as follows. We describe
the standard GWO algorithm in Section 16.2. We give and discuss the Mat-
lab and C++ source codes of the GWO algorithm in Sections 16.3–16.4. In
Section 16.5, we demonstrate a step by step numerical example of the GWO
algorithm. Finally, we outline the conclusion in Section 16.6.
16.2 Original GWO algorithm
In the following subsections, we describe the main concepts of the GWO algo-
rithm and how it works.
16.2.1 Main concepts and inspiration
Grey wolf optimizer (GWO) is a