While performing an optimization using Minimize[] in Mathematica, I'm getting what appear to be some NaNs:
NMinimize::nnum: The function value Indeterminate is not a number at {q} = {0.}. >> NMinimize::nnum: The function value Indeterminate is not a number at {q} = {0.}. >> NMinimize::nnum: The function value Indeterminate is not a number at {q} = {0.}. >> General::stop: Further output of NMinimize::nnum will be suppressed during this calculation. >>
The NaNs are OK, because they don't seem to be affecting the optimization result. But because further messages are being suppressed, I'm not sure if I'm getting messages relating (for instance) the maximum number of iterations being exceeded without reaching the requested precision.
So, is there a way to see the full list of messages? Does such option, if it exists, have to be activated prior to the evaluation, or is there a full message buffer that I can consult afterwards? The optimization takes a very long time, so I would wish to avoid having to recompute it.
I only found the Off and On functions, which didn't seem to do what I wanted.