|
"John D'Errico" <woodchips@rochester.rr.com> wrote in message <hdrgrq$oa7$1@fred.mathworks.com>...
> "Hugh " <h_a_patience@hotmail.com> wrote in message <hdrfvm$1c7$1@fred.mathworks.com>...
> > Hi there,
> >
> > I am running an optimisation that has now been running for 2 days!
> >
> > It is a mammoth calculation so it may be that things are still progressing well, but I would like to know if there is a way to check what stage the optimisation is at in terms of the the number of function evals/iterations carried out.
> >
> > Is is possible to get this while the optimsation is still running?
> >
> > Hugh
>
> Not at this point, no.
>
> John
John is correct, you're kinda out of luck at the moment.
If lsqcurvefit ever quits (or you kill it, as terrible as that would be) and you muster up the courage to start it on another two computational run, you could try turning on its iterative display or using an OutputFcn.
The iterative display may be too much info for you, although it does report the iteration and function eval counts:
http://www.mathworks.com/access/helpdesk/help/toolbox/optim/ug/f12687.html
OutputFcns are functions you code which allow you to programmatically check on quantities such as number of iterations and function counts. You can do whatever you like with these quantities, so perhaps you can periodically report the command line or a file??? See here for more info:
http://www.mathworks.com/access/helpdesk/help/toolbox/optim/ug/brhkghv-56.html
Good luck with that fitting.
-Steve
|