Mark As Completed Discussion

Population initialization

In GA and all other evolutionary algorithms, the population is usually generated randomly. For example, a randomly generated population of size 5 for the function mentioned in the previous subsection is depicted in the following diagram. We are assuming that x1 and x2 are continuous variables and both can have value in the range [-5, 5].