how to identify the population size during one generation using multiobj GA?
1 view (last 30 days)
Show older comments
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
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
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!