In this research, the Grey Wolf Optimizer (GWO) algorithm was applied, which is a type of metaheuristic optimization algorithms that is important for identifying problems and finding ways to improve them. In 2014, Seyedali Mirjalili came up with this algorithm. Its social hierarchy is modeled after that of grey wolves in nature. These wolves live in groups consisting of( 5 -12) individuals. Wolves are divided into four levels, alpha represents the first level it is accountable for the manufacture of important resolutions for the peak like hunting, bedtime, wake up, etc. As for the second level in the hierarchy, it represents the beta wolf and is the advisor of the alpha. Beta can be the leader after the death of one of the alpha wolves. The third level represents delta, which follows the commands of alpha and beta. it is the dominant omega. omega represents the last level, which obeys all other wolves. Furthermore, the chief algorithm stages such as chasing, searching the prey, encircle and attack the prey were applied. GWO algorithm was tested on three benchmarks test functions using MATLAB R2014a. the results were confirmed by comparing GWO through another intelligent swarm algorithm like Particle Swarm Optimization (PSO) algorithm. results showed the superiority GWO in achieving better results and high convergence speed.