Research Article

A Novel Differential Evolution Invasive Weed Optimization Algorithm for Solving Nonlinear Equations Systems

Pseudocode 1

The pseudocode for DEIWO algorithm.
BEGIN
  Input: randomly initialize a population of DEIWO individuals.
 While (the termination criterion is not satisfied)
  Calculate every individual’s fitness ;
  Calculate the number of every individual’s offspring
     ;
  Update by
     ;
  Generate seeds over the search space by ,
  Add the generated seeds into the solution set;
   If (the number of all weeds and seeds equal the maximum population )
    Sort the population in descending order by fitness;
    Truncate population of weeds with higher fitness until the number of set equal the
    maximum population;
   End If
  Mutate the individual by
   ;
  Cross the individual by
   ;
  Select individual between and
  
 End While
  Output the best individual and its fitness;
END