Saving intermediate population during GA
18 views (last 30 days)
I need some help to find out a way to store the information related to every generation of the GA
(both the variable and the fitness values)
It could be both on an external file ( e.g. in a .txt file) or in a struct array.
Which one do you suggest? And how can I do it?
Thanks in advance
More Answers (1)
Daniel Frisch on 7 Oct 2020
You can use my function
to store all intermediate results in a global variable, and easily inspect them later on.