^{1}

^{1}

In this paper, two algorithms first, considered to be one of hybrid algorithms. And it is algorithm represents an Invasive Weed Optimization (IWO). This algorithm is a random numerical algorithm and the second algorithm repre- senting the Bat Optimization Algorithm (BA). This algorithm is one of the swarm intelligence algorithms in smart optimization. The Invasive Weed Optimization Algorithm is inspired by nature, as the weeds have colonial behavior and were introduced in 2006 by Mehrabian and Lucas. Invasive weeds pose a serious threat to crops due to their adaptability and pose a threat to the overall planting cycle. In the Invasive Weed Optimization Algorithm, the behavior of these weeds was analyzed and implemented. The Bat algorithm, which is called a swarm intelligence algorithm, was used to achieve the goal and the best solution. The algorithm was designed by Yang in 2010 and taking advantage of the intelligence of the squadrons is to avoid falling into local solutions so the new hybridization process between the previous algorithms Invasive Weed Optimization (IWO) and Bat Optimization Algorithm (BA) and we will symbolize the new algorithm IWO-BA Comparing the hybrid algorithm suggested with the original algorithms the results were excellent. In most research functions, the optimal solution has been found.

In our daily lives, the optimization is used to increase profits while reducing costs, maximize product performance while at the same time. Optimization was an active research field many decades ago and is still today. Recent years have seen the emergence of many complex optimization problems that are the reason why highly efficient algorithms are developed. There is currently a wide range of algorithms for many problems, and designers have worked to create or discover new algorithm, and new ideas developed in optimization and applications will therefore be urgently needed [

One of the latest developments in the past two decades is the tendency used in the intuitive algorithms. Note that the algorithms (intuitive or post-intuitive) comprise the vast majority of modern optimisation techniques. We note that they have become very useful and effective in solving complex optimisation problems and have applied these algorithms in all important fields [

The particular algorithms represent the majority of the classical algorithms. A clear example of linear programming is the simplex method. It is a particular algorithm. They also consider the use of the derivative and are referred to as derivative algorithms. An example of this is the Newton-Raphson algorithm [

One of the random algorithmic methods is (Intuitive methods and Post-Intuitive methods). In 1986 Glover coined the word intuitive algorithm, which is the evolution of the intuitive algorithm [

It is noteworthy that there is no accepted description of methods (intuitive or post-intuitive) in which the term (intuitive and post-intuitive) is used interchangeably and that the recent trend refers to the classification of all random algorithms using intuitive algorithmic local analysis and random distribution [

The two important elements that are considered essential elements in the (post-intuitive) algorithm are (Intensification and Diversification) [

The post intuitive can be classified in several methods. Such approaches can be categorized according to the trajectory and society. The genetic algorithm is an example. The method of simulating steel is that it uses a single element which moves within the search space and the search method is a piece that is the best solution or the best way to move.

It is generally acceptable and when the step is not successful, it normally acknowledges a certain probability, as the movements affect the direction in the search space and the likelihood of non-zero, the path to a thorough optimization [

The research problem centered on finding the optimum comprehensive solution for the problems of unregulated and high measurement and avoiding falling into the problems of local solutions using the characteristics of the swarms algorithm, one of the algorithms of the swarms algorithm Bat (BA) was selected [

The purpose of the work is to develop a new way of solving the optimization problems, which is a difficult issue, in order to benefit the designers of the proposed hybrid algorithm and any topic falls within the difficult issues.

The goal of the research is to suggest a new algorithm called the Hybrid Algorithm where the algorithm (Invasive Weed Optimization) and the algorithm (Bat optimization) and the resulting IWO-BA algorithm is hybrid algorithms to take advantage of the positive qualities and reduce the negatives of the two previous algorithms.

Hybrid algorithm has been implemented in recent years, but programmers have used it since the 1980s. At present, we have exploited the combination of the various components of different research techniques and the tendency to design hybrid techniques used in artificial intelligence and operational research.

It is an algorithm that Mehrabian and Lucas first developed in 2006, 2006 and the algorithm is Behavior by biology. It is an algorithm for numerical optimization that actually simulates the natural behavior of weeds in colonization and finds a good location for growth and reproduction. Some of the characteristics of the IWO algorithm compared with other developmental algorithms, They are breeding methods, spatial dispersion and competitive exclusion [

IWO algorithm includes multiple key steps are:

Step 1 initial population

“A search area is taken and a number of weeds are initialized at random in the full search space”

Step 2 cloning

Plants produce seeds based on the role provided for fitness. As well as the (upper-lower) limits of the colony’s dignity rule. We note that the number of seeds produced by the plant increases linearly from the minimum seed production possible to the maximum [

s e e d i = f l o o r ( ( f i − f min ) / ( f max − f min ) ( S max − S min ) ) (1)

floor: Show that the seeds are rounded to the nearest whole number.

f_{i}: The fitness function represents i of weed.

f_{max} and f_{min}: The maximum and minimum value of the fitness function.

S_{min} and S_{max}: It represents the maximum and minimum number of seeds.

The above Equation (1) represents the relationship between the function value and the number of seeds of weeds if you increase the fitness function value the number of seeds varies between the max value and the min value [

Step 3 Spatial scattering

In this phase randomly generated seeds are distributed in the whole search space over dimensions. By normal zero-rate distribution and specific (variable) variance. This step means the seeds will be distributed randomly around the mother plant.

Nevertheless, at each step, the standard deviation of the random function will decrease from a predetermined initial value (σ_{initial}) to a final value (σ_{final}) at each step as:

σ i t e r = ( i t e r max − i t e r ) n / ( i t e r max ) n ( σ i n i t i a l − σ f i n a l ) + σ f i n a l (2)

σ i t e r : It represents the standard deviation in the current step.

i t e r max : Represents the maximum number of iterations.

n: Represents a non-linear transformation indicator.

To determine where the new seeds are located, we use the following equation:

X s o n = X p a r e n t + s d = X p a r e n t + r a n d n ( 0 , 1 ) ∗ σ i t e r (3)

Step 4 Spatial exclusion

Competition exists between plants for survival, and if the plant has no offspring and its fate is extinct when P_{max} exceeds the colony’s maximum number of plants, the cycle of exclusion for a poor fitness plant will begin.

Once the maximum amount of herbs is reached in the colony, each herb will produce seeds and then spread to the research site. When all the seeds in their place are concentrated they are fitted with the mother plant (colony). Weeds with a low fitness function are excluded so as to achieve the maximum acceptable to the colonized community. Remember that plants and their offspring should survive and have a repetition in the algorithm as well as the item that has a high fitness function [

Bat optimization algorithm is inspired by biology and is a heuristic method for solving difficult optimization problems. It represents an attempt to simulate the behavior of bats to hunt prey and the algorithm was presented by the research Yang in (2010) [

For example, the dimensions (n) are a real value for the optimization solution space. Each solution represents a bat, and evaluation is done using the given fitness function. There are also two real values of the dimension (n) of vectors associated with every bat in society [

The first vector is the value of the real value and represents the location of the bat in the solution to the search space.

The second vector is the real value vector and represents the velocity in all directions of dimensions (n).

The location and velocity of the vectors randomly configured at the beginning of the algorithm. The main link of the algorithm includes improved redundancy in the available solutions [

On each occurrence the appropriate value of each element in the bat group is calculated by the given fitness function. The new velocity vector is calculated on the basis of the relative distance from the best and current solution in society. Later, the position of all the bats is updated according to the speed vector. At the end of each iteration, the best solution is created and used as a new reference point, and the search space continues to be explored until the stopping condition is met. Usually, this condition is the maximum number of iterations or improvements in the best solution [

First, we have to define the laws of the location of the bat (X_{i}) and their velocity (V_{i}) in the dimensions (d) of the search space as new solutions (X_{it}) and velocity (V_{it}) are updated at the time of step (t) using the following equations:

f i = f min + ( f max − f min ) β (4)

V i t + 1 = V i t + ( X i t − X ∗ ) f i (5)

X i t + 1 = X i t + V i t (6)

As-:

β: represents a random vector taken from a uniform distribution

X^{*}: represents the best comprehensive local site obtained after comparing

f_{max}: represents the highest value in frequency and pulse emission.

f_{min}: represents the lowest frequency and pulse emission value.

Depending on the field size of the problem, each bat is random frequency, which exists uniformly from {f_{min}, f_{max}} as the local search portion represents one of the selected solutions among the best current solutions. A new solution to each locally generated bat is by using random walk behavior. As in the equation.

X n e w = X o l d + ε A t (7)

ε: is a random vector between [−1, 1]

〈 A i t 〉 = A t : represents the loud rate for all bats in the time step.

This is similar to updating bat velocities and locations for some actions in improving standard particle swarm, as f_{i} basically controls the speed and range of motion of aggregate particles. To some extent, the bat algorithm (BA) can be seen as a balanced mix of optimization of particle swarm optimization and intense local search controlled by sound and pulse rate [

One of the creations of animal life studied by many zoologists is the echo-locating (or biological sonar) of bats [

When bats begin to search for prey in the research phase, they emit pulses at a low rate around the 10 Hz frequency [

Objective function f(x), x = ( x i , ⋯ , x d ) T

Initialize the bat population X_{i} ( i = 1 , 2 , ⋯ , n ) and V_{i}

Define pulse frequency f_{i} at X_{i}

Initialize pulse rates r_{i} and the loudness A_{i}

While (t < Max number of iterations)

Generate new solutions by adjusting the frequency,

And updating velocities and location/solutions (Equations (1) to (3))

If (rand > r_{i})

Select a solution among the best solutions

Generate a local solution around the selected best solution

end if

Generate a new solution by flying randomly

if (rand < A_{i} & f(x_{i}) < f(x^{*}))

Accept the new solutions

Increase r_{i} and reduce A_{i}

end if

Rank the bats and find the current best x^{*}

end while

post process results and visualization [

Several researchers built algorithms by hybridizing common and difficult problems with the NP-Hard. Researchers have therefore worked in recent years to hybridize algorithms with normal and difficult problems and have achieved the best results by applying hybrid problems. The real purpose of the hybridization process is to obtain general and varied solutions that can deal with problems in the real world. Hybrid algorithms have focused on swarm intelligence, a recently recognized branch of artificial intelligence that studies complex self-regulating and decentralized systems’ collective behaviours. In 1989, the term swarm intelligence emerged as a set of algorithms by the two researchers Jingwing and Geradobeni and was used to control robot swarms [

In addition to the IWO optimization algorithm to BA algorithm, a detailed solution can be found for optimization problems.

Hybrid Invasive Weed AlgorithmThe new hybrid algorithm has been named IWO-BA proposed. The Algorithm for Invasive Weed Optimization is different from other evolutionary algorithms including: (reproduction, spatial dispersion and competitive exclusion) The optimum gain from the application of these properties in the hybridization process was achieved.

The hybrid algorithm (IWO-BA) has been tested in terms of efficiency by using this algorithm to solve 10 a function of numerical optimization functions which is a highly efficient problems.

The IWO-BA hybrid algorithm is a combination of the algorithms for Invasive Weed optimization and the algorithm of BAT.

When comparing the three algorithms, we notice that the invasive weed algorithm gives far results and the bat algorithm gives spaced results, but when performing the hybridization process between the two algorithms, we note the improvement of the results for most functions.

Tables 1-6 below shows the initial parameters that must be specified before starting the program.

The test was carried out using a computer with the following specifications:

CPU speed is 2.4 GHz.

RAM size is 4 GB

The Matlab R2013a program works on windows 7.

Parameter | IWO | BA | IWO-BA |
---|---|---|---|

Npop0 | 5-10-15-20 | 5-10-15-20 | 5-10-15-20 |

Npop | 25 | 25 | 25 |

N | 2 | --- | 2 |

Smin | 0 | --- | 0 |

Smax | 5 | --- | 5 |

MaxIt | 1000 | 1000 | 1000 |

Sigma_initial | 0.5 | ---- | 0.5 |

Sigma_final | 0.001 | --- | 0.001 |

Function |
---|

F 1 ( x ) = ∑ i = 1 n x i 2 |

F 2 ( x ) = ∑ i = 1 n | x i | + ∏ i = 1 n | x i | |

F 3 ( x ) = ∑ i = 1 n ( ∑ j − 1 i x i ) 2 |

F 4 ( x ) = max i { | x i | , 1 ≤ i ≤ n } |

F 5 ( x ) = ∑ i = 1 n | x i 2 − 10 cos ( 2 π x i ) + 10 | |

F 6 ( x ) = − 20 exp ( − 0.2 1 n ∑ i = 1 n x i 2 ) − exp ( 1 n ∑ i = 1 n cos ( 2 π x i ) ) + 20 + e |

F 7 ( x ) = 1 4000 ∑ i = 1 n x i 2 − ∏ i = 1 n cos ( x i i ) − 1 |

F 8 ( x ) = π n ( 10 sin ( π y i − 1 ) 2 [ 1 + 10 sin 2 ( π y i + 1 ) ] + ( y n − 1 ) 2 + ∑ i = 1 n U ( x i , 10 , 100 , 4 ) ) y i = 1 + X i + 1 4 u ( x i , a , k , m ) = { k ( x i − a ) m x i > 0 o − a < x i < a k ( − x i − a ) m x i < − a |

F 9 ( x ) = ∑ i = 1 11 | a i − x i ( b i 2 + b i x 2 ) b i 2 + b i x 2 + x 4 | 2 |

F 10 ( x ) = 4 x i 2 − 2.1 x 1 4 + 1 3 x 1 6 + x 1 x 2 − 4 x 2 2 + 4 x 2 4 |

Function | IWO | BA | IWO-BA |
---|---|---|---|

F_{1} | 3.48348 × 10^{−5} | 2.3392 | 5.0085 × 10^{−204} |

F_{2} | 0.1421731 | 3.0180 | 3.8296 × 10^{−102} |

F_{3} | 3.847 × 10^{−4} | 1.5992 | 3.4584 × 10^{−204} |

F_{4} | 31.06199 | 0.7961 | 1.3826 × 10^{−102} |

F_{5} | 121.29128 | 13.9298 | 0 |

F_{6} | 19.10598 | 2.9917 | 8.8818 × 10^{−16} |

F_{7} | 9. 8396308 × 10^{−3} | 0.1364 | 0 |

F_{8} | 25.26338 | 2.9402 × 10^{−12} | 0.53027 |

F_{9} | 3.9978 × 10^{−4} | 0.0058 | 0.020363 |

F_{10} | −1.0316 | −1.0316 | −1.0316 |

Function | IWO | BA | IWO-BA |
---|---|---|---|

F_{1} | 3.38112 × 10^{−5} | 0.4724 | 7.459 × 10^{−204} |

F_{2} | 0.0247183 | 3.1961 | 6.5138 × 10^{−102} |

F_{3} | 1.91002 × 10^{−3} | 0.2387 | 1.5755 × 10^{−203} |

F_{4} | 32.73155 | 0.5602 | 1.0758 × 10^{−102} |

F_{5} | 85.77135 | 12.9348 | 0 |

F_{6} | 19.1387 | 3.0271 | 8.8818 × 10^{−16} |

F_{7} | 8. 865911 × 10^{−2} | 0.0037 | 0 |

F_{8} | 19.86204 | 3.6987 × 10^{−15} | 2.6507 |

F_{9} | 2.45339 × 10^{−3} | 0.0114 | 0.00068788 |

F_{10} | −1.0316 | −1.0316 | −1.0316 |

Function | IWO | BA | IWO-BA |
---|---|---|---|

F_{1} | 3.31392 × 10^{−5} | 1.3777 × 10^{−06} | 5.0022 × 10^{−204} |

F_{2} | 0.0252103 | 0.2212 | 5.043 × 10^{−102} |

F_{3} | 1.786933 × 10^{−4} | 0.3076 | 6.3264 × 10^{−204} |

F_{4} | 2.62742 × 10^{−3} | 0.3570 | 6.8396 × 10^{−103} |

F_{5} | 76.22018 | 20.8943 | 0 |

F_{6} | 19.07697 | 3.0266 | 8.8818 × 10^{−16} |

F_{7} | 1.377530 × 10^{−2} | 1.1428 × 10^{−07} | 0 |

F_{8} | 18.07077 | 1.9280 × 10^{−14} | 0.0020668 |

F_{9} | 7.67408 × 10^{−4} | 4.3834 × 10^{−04} | 0.00082957 |

F_{10} | −1.0316 | −1.0316 | −1.0316 |

Function | IWO | BA | IWO-BA |
---|---|---|---|

F_{1} | 3.31477 × 10^{−5} | 1.0246 × 10^{−06} | 4.5128 × 10^{−204} |

F_{2} | 0.026135 | 0.0812 | 5.5131 × 10^{−102} |

F_{3} | 1.367628 × 10^{−3} | 2.0651 × 10^{−06} | 1.0342 × 10^{−203} |

F_{4} | 2.48269 × 10^{−3} | 0.0705 | 1.3485 × 10^{−16} |

F_{5} | 89.4533 | 3.9801 | 0 |

F_{6} | 18.8478 | 2.3169 | 8.8818 × 10^{−16} |

F_{7} | 1.747331 × 10^{−2} | 1.8657 × 10^{−07} | 0 |

F_{8} | 18.44998 | 2.0395 × 10^{−13} | 0.011654 |

F_{9} | 4.7212 × 10^{−4} | 0.0059 | 0.00071409 |

F_{10} | −1.0316 | −1.0316 | −1.0316 |

In this study, we researched the Invasive Weed Optimization Algorithm and we saw poor performance. This algorithm in terms of reaching the local Micropoint indicates a divergence from the optimal solution and improving the performance of this algorithm and avoiding falling into local solutions that we hybridized with swarm algorithms with swarm characteristics and the algorithm is a Bat optimization algorithm and the hybrid algorithm IWO-BA is the new algorithm proposed, at the start of the IWO-BA hybrid algorithm, we compared the results of the IWO and BA algorithms. We got very good results. For most (10) test functions the optimum overall solution has been achieved. Our results indicate this.

The authors declare no conflicts of interest regarding the publication of this paper.

Qasim, W.A. and Mitras, B.A. (2020) A Suggestion Algorithm Instituted on Invasive Weed Optimization Algorithm and Bat Optimization Algorithm. Open Access Library Journal, 7: e6438. https://doi.org/10.4236/oalib.1106438