Restarting Genetic Algorithm after Crash
Ältere Kommentare anzeigen
I'm using the GA to update my Finite Element Model. The fitness function I am using is computationally expensive and takes 4sec each time it is called. Given that my population size is 200, each generation takes about 13min of computation time. I've set an upper limit of 260 generations, so this process should take a bit more than two days to compute. Of particular concern to me is that my fitness function calls on my Finite Element software (Strand7) which tends to crash from time to time.
I have used the 'OutputFcns' option in gaoptimset along with a function that saves the 'state' structure. This ensures that I have a backup of the state of the last completed generation, prior to crashing.
My question is, "how can I recommence my GA from the last generation using the 'state' structure?"
Akzeptierte Antwort
Weitere Antworten (1)
Craig Cowled
am 31 Mai 2013
0 Stimmen
2 Kommentare
Craig Cowled
am 3 Jun. 2013
Bearbeitet: Craig Cowled
am 3 Jun. 2013
Craig Cowled
am 4 Jun. 2013
Kategorien
Mehr zu Genetic Algorithm finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!