Plot the position of all individuals in the population, at a given iteration, for 1D and 2D functions. The plot can be
produced only if save_pop_history
is TRUE
in the options of the minimizer (see MinimizerOpts).
plot_population(minimizer_result, iteration, n_points = 100)
an object of class OptimizationResults
(see OptimizationResults).
iteration at which the population is plotted.
number of points per dimention used to draw the objective function. Default is 100
.