Random initialization of the population
To randomly initialize the population, we will import numpy library because it offers a function to randomly initialize vectors/arrays.
xxxxxxxxxx
import numpy
population = numpy.random.uniform(lb, ub, populationSize)
OUTPUT
:001 > Cmd/Ctrl-Enter to run, Cmd/Ctrl-/ to comment