I finally gave up this attempt and edited my code to save checkpoint file every iteration rather than overwrite it. The implementation is based on 'OutputFcn' in optimoptions. So next time I can restart the optimization process from any iteration.
Can I restart surrogateopt from earlier iterations with checkpoint file?
5 次查看(过去 30 天)
显示 更早的评论
My surrogateopt stopped because of external program crash, and I'm sure several function evaluations near the crash is not reliable. Thus, I want to restart surrogateopt from earlier iterations rather than resuming from the itertaion that the checkpoint file ends. Is it possible?
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surrogate Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!