New Enhanced Artificial Bee Colony (JA-ABC5) Algorithm with Application for Reactive Power Optimization

The standard artificial bee colony (ABC) algorithm involves exploration and exploitation processes which need to be balanced for enhanced performance. This paper proposes a new modified ABC algorithm named JA-ABC5 to enhance convergence speed and improve the ability to reach the global optimum by balancing exploration and exploitation processes. New stages have been proposed at the earlier stages of the algorithm to increase the exploitation process. Besides that, modified mutation equations have also been introduced in the employed and onlooker-bees phases to balance the two processes. The performance of JA-ABC5 has been analyzed on 27 commonly used benchmark functions and tested to optimize the reactive power optimization problem. The performance results have clearly shown that the newly proposed algorithm has outperformed other compared algorithms in terms of convergence speed and global optimum achievement.


Introduction
Bioinspired algorithms (BIAs) are metaheuristics method that imitates the biological phenomenon of nature [1,2]. Various BIAs have been developed to solve complex optimization problems. For example, Davidović et al. (2011) have implemented Bee Colony Optimization (BCO) algorithm to solve -center problem [3] and, in 2012, Badar et al. have used particle swarm optimization (PSO) algorithm to handle a reactive power control problem [4]. Karaboga and Latifoglu then applied artificial bee colony (ABC) algorithm as a tool to solve adaptive filtering noisy transcranial Doppler signal [5]. Bacanin and Tuba (2014) have recently employed firefly algorithm to encounter cardinality constrained mean-variance portfolio optimization problem [6]. A few new BIAs have also been developed such as in the work of Obagbuwa and Adewumi that introduced Improved Cockroach Swarm Optimization (CSO) algorithm. The algorithm includes the insertion of hunger element to the existing CSO to enhance the exploration capabilities and the diversity of cockroach population [7]. Meanwhile, Zhou et al. (2014) have proposed Cloud Model Bat algorithm which is based on the ideas of bat echolocation together with the attribute of cloud model in order to depict good performance in optimization [8].
BIAs consist of several classes such as evolutionary algorithms (EA), swarm-intelligence-based (SI) algorithms, and many more. Among them, SI is the most prominent BIAs. SI algorithms imitate the social behavior of nature, such as bird flocking, fish schooling, and bees' swarming. SI has basically been a technique which is based on the interaction of organisms in a population, such as the flocks of bird and a swarm of bees. The optimization algorithms have been developed by observing the interaction among the swarm members [7]. Various optimization algorithms which are based on this technique have been successfully used in various optimization applications such as in real power loss minimization [4], estimation of induction motor's parameter [9], multilevel image thresholding [10], and many more. Among the techniques, optimization algorithms based on honeybees' behaviors have become the most commonly investigated and explored phenomenon by optimization researchers. Abbass 2 The Scientific World Journal (2001) has investigated marriage in honeybees [11]. Later on, Karaboga (2005) has proposed the artificial bee colony (ABC) algorithm based on the foraging behavior of honeybees [12]. Next, the concept of honeybees mating has been studied by Marinakis et al. [13] and Niknam et al. [14] in 2011. Besides that, the idea of the waggle dances of honeybees has been investigated by Duangphakdee et al. in 2011 who found out that the honeybees have complexity in waggle dances as soon as the sun comes close to its zenith. Thus, they have studied the relation of foraging and absconding to the azimuth [15].
ABC was proposed by Karaboga in 2005 [12]. It mimics the intelligent foraging behavior of honeybees that shows how organized the honeybees interact among them to search for food. ABC has fewer tuned parameters compared to other optimization algorithms such as genetic algorithm (GA) and differential evolution (DE). Thus, it is a simple and efficient optimization algorithm [16]. Moreover, ABC has been proven to show superior performance in comparison to other prominent optimization algorithms such as genetic algorithm (GA), differential evolution (DE), evolutionary strategies (ES), and particle swarm optimization (PSO) algorithms [16][17][18]. Nevertheless, ABC has been found to suffer from few limitations such as slow convergence speed [19,20] and premature convergence [21,22]. Due to that, researchers have tried to solve them by developing various ABC variants, for example, Gbest-guided ABC (GABC) by Zhu and Kwong in 2010 [23], Best-so-far ABC (BsfABC) by Banharnsakun et al. [24], and Improved ABC (IABC) by Gao and Liu [25] in 2011 as well as modified ABC (MABC) by Gao and Liu [20], Global-best ABC (BABC) by Gao et al. [19], and enhanced ABC by Abro and Mohamad-Saleh [26] in 2012. However, some of these variants are still incapable of efficiently solving the problems, whilst a number of the variants could still be improved. For instance, the idea of IABC using the best solution is very convincing because it enhances the convergence speed [25]. Furthermore, its incorporation of random search equation into the algorithm is rather promising as the equation is known for its randomness and able to generate diverse population [25]. However, IABC is unable to solve Rosenbrock function as it is actually poor in exploitation [25]. Meanwhile, one of the BABC variants, BABC1, has also incorporated the idea of using the previous best solution as the guidance for the search [19]. With some adjustment to the solution search equation, BABC1 has shown the best performance among other variants at that time. Nevertheless, BABC1 is actually prone to premature convergence when dealing with complex multimodal problems [27]. With the motivation from one of the BABC variants which is BABC2, enhanced ABC (EABC) has been proposed with the idea to balance the exploration and exploitation abilities of the algorithm. Nonetheless, EABC has a tendency to suffer from slow convergence speed (i.e., lack of exploitation process) as shown in [28]. With the motivation from the existing ABC variants and their limitations, a new modified ABC is proposed in this paper. This new enhanced ABC is expected to give excellent performance in terms of convergence speed and robust global minimum search.

Artificial Bee Colony (ABC) Algorithm Model
The standard ABC algorithm is a population-based optimization algorithm. The working principle of ABC is as illustrated in Figure 1. Based on the figure, the working principle of ABC can be categorized into five main phases which are initialization, employed-bees, onlooker-bees, scout-bee, and termination phases which consist of a total of twelve stages or processes. In ABC, three phases are performance-deciding phases which are employed-bees, onlooker-bees, and scout-bee phases while the other two are supporting phases. The exploration process of the algorithm takes place in employed-bees and onlooker-bees phases where the bees need to explore the neighborhood of the food sources allocated to them. Meanwhile, the exploitation process happens in the onlooker-bees phase when onlooker-bees apply fitness-proportion selection scheme in order to select the selected-fitter food sources. The details of the phases are discussed in the following subsections and more details of ABC can also be found in [18].

Initialization.
In ABC algorithm, food sources represent the possible solution among the population of a problem. They are randomly initialized. The initialization of the population is based on user predetermined values of the population size. These food sources are then assigned to the employed-bees. Next, the nectar amounts which represent the fitness value of each food source are calculated using equation found in [18,29,30]: where is objective function value of th food source.

Employed-Bees Phase.
In this phase, employed-bees explore the neighborhood of the food sources assigned to them and update the food sources using the mutation equation given by where is the candidate solution of food sources, is the th dimension of the th food sources, and is the th food sources that are randomly chosen from a neighborhood of th food sources for ∈ [1, 2, . . . , ] and is the number of food sources. Subscripts and are mutually exclusive food sources. For the equation, and are chosen randomly and ∈ [1, 2, . . . , ] where represents the dimension of the search space and is the control parameter that represents random number from [−1, 1], inclusively.
The explorations by employed-bees generate new food sources (i.e., candidate solutions of food sources). A selection between the candidate solution and the old food sources is based on which of them exhibits the best fitness value. This selection is done using greedy-selection scheme. The chosen food sources are potentially fitter food sources and are shared with onlooker-bees in onlooker-bees phase. Explore for neighborhood of all food sources assigned to employed-bees using mutation equation Figure 1: The flowchart of standard ABC algorithm.

Onlooker-Bees Phase.
During this phase, the onlookerbees do not update all potentially fitter food sources shared with them by employed-bees. They apply fitness-proportion selection scheme to choose few selected-fitter food sources among all the food sources shared with them. The exploitation of the food sources by onlooker-bees has actually made the algorithm converge fast. The fitness-proportion selection scheme is dependent on the probability value, given by where is the probability of th food source, fit is the fitness value of th food source, and represents the number of available food sources.
Onlooker-bees then explored the neighborhood of the selected-fitter food sources and update the food sources using the equation given in (2). The new candidate solution is then compared with the old food source using the greedy-selection scheme. Next, the best food source so far for that generation is memorized before entering the scout-bee phase.

Scout-Bee Phase.
In scout-bee phase, a food source which has become exhausted and does not show improvement over a limit is abandoned [23]. Limit is a control parameter used to signify exhausted food source [19]. Employed-bee whose food source has reached limit will become scout-bee. The scout-bee will take consequent flights and search the search space randomly to find new food source using where min and max are the lower and upper limit of the search space, respectively. rand(0, 1) is a function which randomly generates numbers within [0, 1]. This action is necessary for the scout-bee to replace the abandoned food source with new food source and thus balance the number of populations again.

Termination.
The termination criterion of the algorithm is based on the maximum number of generations or maximum cycle number (MCN) [18]. This number is preset by user prior to the simulation of ABC algorithm.

New Enhanced ABC (JA-ABC5) Algorithm
The limitations of ABC are due to (2) that is known to be good in exploration but poor in exploitation. This imbalances of exploration and exploitation capabilities of the standard ABC algorithm contribute to its lack in performance. Thus, 4 The Scientific World Journal  few modifications have been introduced to the standard ABC algorithm for the purpose of balancing the exploration and exploitation capabilities of the algorithm. The proposed algorithm introduces four modifications to the standard ABC algorithm as highlighted in Figure 2. The first modification is the insertion of new phase between initialization and employed-bees phases. This phase consists of two stages illustrated by stages 4 and 5 in Figure 2. The first stage aims to identify few food sources that have the lowest fitness values, referred to as poor food sources. Next, these poor food sources are updated around global best ( -best) food source using the mutation equation inspired from [19] given by where represents the candidate solution of th food source with th dimension. best, is the best food source, is th dimension of th food source and is randomly chosen. Subscripts , , and are mutually exclusive food sources and the rest of the parameters are the same as in (2).
The generated food sources would now be fitter since they are being directed towards the global best food source based on (5). This has increased the exploitation process of the algorithm and makes the current population consist of fitter food sources. The random selection of food sources has also made the population not only fitter, but diverse as well.
Then, in employed-bees phases, the fitter populations are updated. Here comes the second modification which is represented by stage 6 in Figure 2. Since the population is now fitter, there is a possibility for the algorithm to be trapped in local optima. Thus, to overcome this, the exploration process should be enhanced. The enhancement of the exploration process has been done by adapting new mutation equation in employed-bees phase. This new mutation equation is obtained by adapting modified mutation equation inspired from [25] which is well known for its randomness. The modification produces a modified equation given by where represents the candidate solution of th food source with th dimension. 1 , 2 , and 3 are the 1th, 2th, and 3th food sources that are randomly chosen from neighborhood of th food sources. Subscripts 1, 2, and 3 are mutually exclusive food sources and the rest of the parameters are the same as in (2). Equation (6) updates the food sources by directing the interaction among randomly chosen food sources. This increases the diversity of the exploration process that enhances the capability of the algorithm to avoid local optima trapping. The next modification is aimed at increasing the convergence speed of the algorithm since random searching has a tendency to slow down the execution of the algorithm. The enhancement of the exploitation capability in onlookerbees phase has been formulated to overcome this problem. The onlooker-bees have been directed to update only few most-fit-selected-fitter food sources. As already mentioned, onlooker-bees basically do not update all food sources but update only selected-fitter food sources. Hence, in this The Scientific World Journal 5 proposed algorithm, onlooker-bees will update only few most-fit food sources among the selected-fitter food sources. Thus, with only few fitter food sources to be updated, the convergence speed of the algorithm has been increased. This modification is shown by stage 9 in Figure 2.
The fourth modification is to replace the mutation of onlooker-bees from (2) to the equation adapted from the work of [25] = best, + ( − ) , where represents the candidate solution of th food source with th dimension. best, is the best food source and represents th dimension of th food source and is randomly chosen. Subscripts and are mutually exclusive food sources and the rest of the parameters are the same as (2). Equation (7) is able to enhance the convergence speed since the fitter food sources in onlooker-bees phase have been updated towards the -best food sources. This modification is presented by stage 10 in Figure 2. Thus, in the end, the proposed algorithm, JA-ABC5, has enhanced and balanced exploration and exploitation processes. With this, it is expected to converge faster and to be able to reach global optimum efficiently. Its ability is assessed by comparing its performance with existing variants on 27 benchmark functions and at solving the reactive power optimization problem.

Simulations on Benchmark Functions
In order to justify the robustness of the proposed JA-ABC5 algorithm, it has been simulated on 27 commonly used benchmark functions as listed in Table 1. These benchmark functions vary from different types of functions such as random shifted, unimodal, multimodal, and rotated functions prior to testing the capabilities of the algorithm to solve a wide range of problems.
The performance of JA-ABC5 has been compared with the standard ABC algorithm and three other sophisticated existing ABC variants: Improved ABC (IABC) [25], Global best ABC (BABC1) [19], and enhanced ABC (EABC) [26,29] to show the effectiveness of JA-ABC5 in solving those functions.
For all algorithms, the dimensionality of the benchmark functions has been set to 30, the population size has been set to 50, number of generations has been limited to 1000, and the parameter limit has been set as × , where represents the dimension of the search space and is the number of food sources. The value of IABC has been set to 0.25 [25]. As for global solution validation, each of the compared algorithms including JA-ABC5 has been set to be simulated for 30 times on each benchmark function [26]. All these values follow those used and recommended in the literature [18-20, 23, 25, 26, 30].
The simulation and testing process have been carried out using Matlab R2010a on an Intel Core i7 with 2.80 GHz speed computer.    as compared to others. Moreover, the considerable difference of the proposed algorithm in comparison with other compared variants has clearly justified that the proposed algorithm is a robust ABC variant that has potential to solve optimization problems. The standard ABC exhibits the worst performance among all since it has suffered from few limitations as mentioned earlier.

Results of Benchmark Functions Simulation.
Meanwhile, the statistical data in Table 2 reveal the numerical performance results of various ABC variants illustrating the values of minimum, mean, and standard deviation of the compared optimization algorithms. The results have shown that JA-ABC5 exhibits the least value of minimum, mean, and standard deviation on most of the benchmark functions. Thus, this vividly demonstrates that JA-ABC5 has the best performance in comparison with other compared ABC variants.

Reactive Power Optimization Application
Reactive power optimization (RPO) is known to be a largescale nonlinear combinatorial constrained problem [31]. RPO basically serves to determine the optimal setting of the power system network to satisfy few constraints such as the power flow equation system security and equipment operating limits [32]. This problem has been discovered by Carpentier in 1962 [33] and, since then, many have tried to solve it. Researchers and engineers have tried to solve it by developing various search strategies since this kind of problem is very essential to be solved. This is because this problem is the important tool in the power system's operation and planning [34] since it actually has close contact with the security and economic dispatch of a power system [35]. For example, they have attempted to solve RPO problem using various classical methods such  as linear programming, Newton method, interior point, and many more. Nonetheless, the methods have shown some inefficiency in solving it [31]. Recently, researchers have tried to implement stochastic and heuristics techniques to solve this problem [31]. Thus, this has shown that RPO basically can be a perfect tool in order to validate the robustness of the proposed algorithm. RPO problem is a combinatorial nonlinear constrained problem. The general mathematical formulation for that kind of problem is given by such that where ( ) is the objective function to be minimized, ( ) is the equality constraints, and ℎ( ) is the inequality constraints. Hence, the mathematical formulation of RPO problem with equality and inequality constraints is discussed in next subsections.

Objective Function-Active Power
Loss. The objective function for RPO problem can be either the active power loss, total cost of compensation, total energy generation cost, and many more [31]. In this paper, only active power loss is considered as the objective function to be solved by the proposed algorithm, JA-ABC5. The mathematical formulation of active power loss is given by where loss is an active power loss, is the conductance between bus and bus , is the voltage magnitude of bus , is the voltage magnitude of bus , is the angle difference of th transmission line, is the total number of system's buses, and is the total number of transmission lines.

Equality Constraints.
The equality constraints of the problem has been set to the power flow equations given by where is the active power generation at bus , is the active power demand at bus , is the reactive power generation at bus , is the reactive power demand at bus , is the admittance between bus and bus , and are the voltage angle at bus and bus , respectively, and the rest of the parameters are the same as in (10).

Inequality Constraints.
The inequality constraints of the problem are the control variables that are to be optimized within their ranges. These control variables are the food sources or possible solutions that need to be optimized by JA-ABC5. The range of the possible solutions follows the following limits: where is the active power generation at bus , is the voltage magnitude at bus , is the shunt compensation at bus , and is the transformer tap setting at bus . Moreover, min and max are lower and upper limits of active power generation, min and max are lower and upper limits of voltage magnitude, min and max are lower and upper limits of shunt compensation, and min and max are lower and upper limits of tap setting.

Penalty Function.
Penalty function is derived in order to convert constrained problem to unconstrained problem by adding penalty terms. Since RPO problem consists of several constraints as mentioned in the previous subsection, penalty terms have been added to (10) and the equation for the objective function of the problem now becomes ( ) = loss + Ω + Ω + Ω + Ω + Ω + Ω , where ( ) is the penalty function and Ω , Ω , Ω , Ω , Ω , and Ω are the penalty terms of the listed equality and inequality constraints, respectively. Thus, the penalty terms are given by where is the active power generation at bus , is the active power demand at bus , is the reactive power generation at bus , is the reactive power demand at bus , is the shunt compensation at bus , is the transformer tap settings of transformer , is the susceptance between bus and bus , is the total number of generators, is the total number of shunt compensator, is the total number 10 The Scientific World Journal of transformers, and the rest of the parameters are the same as in (10) [31,36]. The proposed algorithm, JA-ABC5, is implemented to solve RPO problem by finding the optimal possible solutions to solve the objective function which is the penalty function obtained from (13). The possible solutions that need to be optimized which basically act as the food sources of JA-ABC5 are given by the previous subsection. They are active power generation, , voltage magnitude, , shunt compensation, , and transformer tap setting, , at the required bus. JA-ABC5 is expected to produce less value of power loss which is affected by the above mentioned control variables' values. Thus, it is important to find the optimal values or settings of the control variables so that less amount of power loss has been generated.

Results of RPO.
For the purpose of solving the RPO problem, IEEE 30-bus power system data has been obtained from [31]. To validate the performance of JA-ABC5 in solving the RPO problem, it has been compared with three existing ABC variants: IABC [25], BABC1 [19], and EABC [26,29] as well as with other optimization algorithms available in the work of [31] which are self-adaptive real coded genetic algorithm (SARGA) [37], particle swarm optimization (PSO) [38], comprehensive learning PSO (CLPSO) [38], and enhanced genetic algorithm with decoupled quadratic load flow (EGA-DQLF) [39]. The performance of JA-ABC5 in solving the RPO problem in comparison with other optimization algorithms is tabulated in Table 3.
From Table 3, it is clear that variants of ABC algorithm have outperformed the other optimization algorithms. Most importantly, the results have shown that the proposed algorithm, JA-ABC5, has produced the minimum power loss of 1.4985 MW when compared to other optimization algorithms. Thus, this vividly shows that JA-ABC5 is able to solve complex optimization problem and hence can be applied to solve other optimization problems.

Conclusion
This work presents a new variant of the ABC algorithm referred to as JA-ABC5 by modifying the standard ABC algorithm to balance out the effects of exploration and exploitation processes into the performance of the algorithm.
The balanced exploration and exploitation capabilities are able to enhance the performance of the algorithm in terms of convergence speed and global optimum achievement. The performance results have clearly exhibited the best performance of JA-ABC5 in comparison to the compared ABC variants on 27 benchmark functions. Moreover, the efficiency of the algorithm in solving a complex real-world problem, the reactive power optimization (RPO), has vividly depicted that the algorithm is robust, effective, and reliable in solving optimization problems.