checkpoints in tryHard

Posted on
No user picture. khusmann Joined: 08/11/2019
Hi all,

I'm running large-ish models with mxTryHard, but notice checkpoints aren't an option as with mxRun. Is there still a way to save / load progress as I go?

Thanks!

Replied on Thu, 07/23/2020 - 13:15
Picture of user. AdminNeale Joined: 03/01/2013

I was hoping that mxTryHardOrig, which has a ... argument, would pass checkpoint to mxRun. It doesn't. About the only way I see around it at this point is to do mxTryHard manually, using omxSetParameters() to put in random starting values, and to monitor the output. There is a bit of a snag, however, that the model name is used to label the checkpoint file, so it would likely get overwritten with each fitting attempt, and then not match the path towards the solution. Probably such considerations are why it's not implemented at all. That and the day being only 24hrs long etc...
Replied on Thu, 07/23/2020 - 13:58
Picture of user. AdminRobK Joined: 01/24/2014

In reply to by AdminNeale

I think checkpointing during `mxTryHard()` could be implemented so that the new checkpointing output is appended to the output file, rather than overwriting it.

Also, mxJiggle() is a useful function for randomly perturbing start values manually.

Replied on Thu, 07/23/2020 - 13:47
No user picture. khusmann Joined: 08/11/2019

https://openmx.ssri.psu.edu/node/4643