How to examine and to save the results calculated so far without interupting or stopping the gamultiobj?
Afficher commentaires plus anciens
My procedure of multi-objective optimization (gamultiobj) has been running for more than 3 weeks. I am very worried that if the computer was shut down or restarted in an accident, the 3-week calculation will be wasted. Are there methods to examine and to save the results calculated so far without interupting or stopping the procedure? The calculted results include the points and function values on the Pareto front, that is, the m-by-nvars array and the m-by-nf array. What will happen if I press the buttom "pause" on the figure window of "Genetic Algorithm"? Thank you!
Réponse acceptée
Plus de réponses (1)
I understand I'm too late to answer. Hope it may help others with the same requirement.
I made the objective function to store the results of the current evaluation as and when the objective function is called. This way, I could store the results for both gamultiobj and paretosearch. Moreover, if you only use gamultiobj, you could also modify the OutputFcn to store the population and corresponding scores after every generation.
Catégories
En savoir plus sur Choose a Solver dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!