how to identify the population size during one generation using multiobj GA?

1 view (last 30 days)
Hi all:
Currently im using parallel GA to optimize my design and i want to add code in my objective function to count the number of population which have been already evaluated during one generation. How to do that? thank you!
  1 Comment
Alan Weiss
Alan Weiss on 6 Jun 2019
I do not know what you mean. When the optimization is done in parallel, the host allocates the task of evaluating an individual to each worker until the entire population is evaluated. Do you want to have a graph of the number of workers that have returned a value? That is not available using an output function or plot function; these functions run only after all of the workers are done.
If you mean something else, please ask again.
Alan Weiss
MATLAB mathematical toolbox documentation

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!