Extract the iter
-th population
extract_population(res, iter)
A cma_es
result object.
Which population to return.
A list containing the population as the par
element
and possibly the function values in value
if they are
present in the result object.
Return the population of the iter
-th iteration of the
CMA-ES algorithm. For this to work, the populations must be saved
in the result object. This is achieved by setting
diag.pop=TRUE
in the control
list. Function values
are included in the result if present in the result object.