HyPhy message board
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
Methodology Questions >> How to >> GA Analysis: checkpointing
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1165250461

Message started by Sarah on Dec 4th, 2006 at 8:41am

Title: GA Analysis: checkpointing
Post by Sarah on Dec 4th, 2006 at 8:41am
Does GABranch.bf have checkpointing abilities? Is it possible to resume stopped jobs? (if not, is this something one--meaning me, not you--could add to the code?)

Thanks,
Sarah

Title: Re: GA Analysis: checkpointing
Post by Sergei on Dec 4th, 2006 at 9:05am
Dear Sarah,

GA doesn't currently implement checkpointing, but it is not difficult to do.
The program writes all GA models examined up to a point to a .details file, so in order to restart an analysis, one would read this file, repopulate the array of examined models, seed an initial population appropriately and start from there.

Because my code is not commented, it may be tricky to identify all the variables and formats involved, so it may be easiest if I added this functionality and, if you want, commented in the code where it was done.

Best,
Sergei

HyPhy message board » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2024. All Rights Reserved.