“…In Table 1, it is possible to observe that the GAMS optimization package is suitable for solving different optimization problems such as the non-linear programming (NLP), mixed-integer linear programming models (MILP), and MINLP models, respectively. The main aspects of the implementation of an optimization model in the GAMS package are listed as follows [42]: Definition of the sets (nodes and periods of time), tables, parameters, and scalars (i.e., nodal admittance matrix, demands, costs, etc.). Definition of the continuous and discrete variables, i.e., nodal voltages and angles, active and reactive powers, among others.…”