MATLAB Answers

Is there a way to save periodically when using multistart from the global optimization toolbox.

1 view (last 30 days)
Israel Vaughn
Israel Vaughn on 24 Aug 2014
I have to say that what I just encountered is not Matlab's fault, but I'm furious.
I have been running a large scale global optimization (with 'UseParallel' set to true) for 2 weeks.
I have an UPS, etc. on my computer, but Windows 8.1 Professional apparently wanted to update, and when I wasn't at the computer to answer the prompt about rebooting, just went ahead and did it without my permission.
I honestly cannot believe how this extremely poor implementation and default setting made its way into a "Professional" level OS.
Now, usually when I run optimization loops or write my own optimizer function or script, I save periodically just in case, so that I can start from where I left off if something occurs.
This time, however, I decided to just write an objective function and use MultiSearch.
My question is, is there any way to periodically save when using MultiSearch, so that in the event of a crash, a search can be restarted without losing all prior work?
If not, Mathworks really should add this functionality...
Thank you

Answers (0)

Community Treasure Hunt

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

Start Hunting!