restore the state of genetic algorithm after accidental shutdown

조회 수: 2 (최근 30일)
Emiliano Rosso
Emiliano Rosso 2015년 10월 15일
답변: Star Strider 2015년 10월 15일
How can I restore the state of genetic algorithm after accidental shutdown? This is important because calculation time can be very long and in case of power off all previous part of test is lost.Somebody can tell me something about it?

답변 (1개)

Star Strider
Star Strider 2015년 10월 15일
I do not see anything in the documentation for ga that will allow you to do that directly. I have not encountered this problem, but if I anticipated a run that would take significant time, I would use the gaoptimset function to set a 'TimeLimit', then save (appending to or overwriting a .mat file) the necessary population and other parameters, and re-start ga with the saved population.

카테고리

Help CenterFile Exchange에서 Genetic Algorithm에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by