# NOT RUN {
n = 20 #Population size (number of chromosemes)
m = 6 #number of Variables
lb = c(10, 2, 5, 100, 50, 25)
ub = c(40, 8, 20, 500, 250, 90)
population = initval(n, m, lb=lb, ub=ub, nmode="integer")
tail(population, 3)
# }
Run the code above in your browser using DataLab