How do you retrieve the current solution if you stop the Genetic algorithm function?

15 ビュー (過去 30 日間)
Luis Hernandez
Luis Hernandez 2015 年 12 月 16 日
回答済み: Alan Weiss 2015 年 12 月 22 日
Hello,
if you run the ga with the option to plot the cost function value, you get a nice graph of how the fitness value evolves toward convergence with a Stop and Pause Button. If I click STOP, can I retrieve the current best solution from the workspace? I'm not using the optimization tool GUI. ( It's been running for a couple of days and I don't want to lose my progress.)
Thanks in advance!
-Luis

回答 (1 件)

Alan Weiss
Alan Weiss 2015 年 12 月 22 日
I believe that if you click the Pause button you will be able to access the current state of the population, but if you click Stop you will not.
Alan Weiss
MATLAB mathematical toolbox documentation

カテゴリ

Help Center および File ExchangeGenetic Algorithm についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by