# GBUO: \"The Good, the Bad, and the Ugly\" Optimizer
## 2 \"The Good, the Bad, and the Ugly\" Optimizer (GBUO)
In GBUO, the population is updated in three phases; in the first phase, the population moves towards the good member, in the second phase, the population moves away from the bad member, and in the third phase, the population is updated on the ugly member. In a challenging move, the ugly member leads the population to situations contrary to society's movement. GBUO has been mathematically modeled and then implemented on a set of twenty-three different objective functions. In order to analyze the performance of the proposed optimizer in solving optimization problems, eight well-known optimization algorithms, including genetic algorithm (GA), particle swarm optimization (PSO), gravitational search algorithm (GSA), teaching-learning-based optimization (TLBO), grey wolf optimizer (GWO), whale optimization algorithm (WOA), spotted hyena optimizer (SHO), and marine predators algorithm (MPA) were considered for comparison. The results demonstrated that the proposed optimizer has desirable and adequate performance for solving different optimization problems and is much more competitive than other mentioned algorithms. The authors suggest some ideas and perspectives for future studies. For example, a multi-objective version of the GBUO is an exciting potential for this study. Some real-world optimization problems could be some significant contributions, as well. **Author Contributions:** Conceptualization, M.D., Z.M. and H.G. ; methodology, H.G. ; software, Z.M. and M.D. ; validation, R.A.R.-M. and N.N. ; formal analysis, N.N., R.A.R.-M. and R.M.-M.; investigation, R.A.R.-M.; resources, Z.M. and M.D. ; data curation, R.A.R.-M. and R.M.-M.; writing--original draft preparation, H.G., M.D., Z.M. and N.N. ; writing--review and editing, R.A.R.-M. and R.M.-M.; supervision, M.D. ; project administration, H.G. ; funding acquisition, R.A.R.-M. and R.M.-M. All authors have read and agreed to the published version of the manuscript. **Funding:** The current project was funded by Tecnologico de Monterrey and FEMSA Foundation (grant CAMPUSCITY project). **Institutional Review Board Statement:** Not applicable. **Informed Consent Statement:** Informed consent was obtained from all subjects involved in the study. **Data Availability Statement:** The authors declare to honor the Principles of Transparency and Best Practice in Scholarly Publishing about Data. **Conflicts of Interest:** The authors declare no conflict of interest. ## Appendix A

Information of the twenty-three objective functions is provided in Tables A2, A3 and A1. ## References

* [PERSON] et al. (2019) [PERSON]; [PERSON]; [PERSON] Energy commitment: A planning of energy carrier based on energy consumption. _Electr. Eng. Electromech._**2019**, 69-72. [CrossRef]
* [PERSON] et al. (2020) [PERSON]; [PERSON] [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON] Genetic Algorithm for Energy Commitment in a Power System Supplied by Multiple Energy Carriers. _Sustainability_**2020**, _12_, 53. [CrossRef]
* [PERSON] et al. (2017) [PERSON] [PERSON]; [PERSON] [PERSON]; [PERSON] [PERSON] Calculating the leakage inductance for transformer inter-turn fault detection using finite element method. In Proceedings of the 2017 Iranian Conference on Electrical Engineering (ICEE), Tehran, Iran, 2-4 May 2017; pp. 1372-1377. * [PERSON] et al. (2020) [PERSON] [PERSON]; [PERSON] [PERSON]; [PERSON]; [PERSON]; [PERSON] [PERSON]; [PERSON]; [PERSON]; [PERSON] [PERSON] Energy Commitment for a Power System Supplied by Multiple Energy Carriers System using Following Optimization Algorithm. _Appl. Sci._**2020**, _10_, 5862. [CrossRef]
* [PERSON] et al. (2020) [PERSON] [PERSON]; [PERSON] [PERSON]; [PERSON] Optimal sizing and placement of capacitor banks and distributed generation in distribution systems using serum algorithm. _Int. J. Emerg. Electr. Power Syst._**2020**, _21_. [CrossRef]
* [PERSON] et al. (2020) [PERSON]; [PERSON] [PERSON]; [PERSON]; [PERSON]; [PERSON] [PERSON]; [PERSON] [PERSON] A New Methodology Called Dice Game Optimizer for Capacitor Placement in Distribution Systems.