Extracting population generated in each generation of Genetic Algorithm (GA)
8 views (last 30 days)
Show older comments
Hello
To begin, in my case, function evaluation takes place in an external application being run in batch mode. Starting up this partucular application is very time consuming which means opening and closing it for every function evaluation would waste a lot of time.
So I would like to extract population of each generation and pass it to the external application in order to evaluate function for whole population in just a single session then return the computed results to the GA for the remaining tasks(creation of the new generation).
I would appreciate your help! Thank you!
2 Comments
Star Strider
on 21 Jul 2020
It is possible to get each generation (or selected individuals in each generation). The approach and discussion in How to save data from Genetic Algorithm in case MATLAB crashes? might provide some insight into what you need to do.
Answers (0)
See Also
Categories
Find more on Genetic Algorithm in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!