poblano_toolbox
poblano_toolbox copied to clipboard
Nonlinear optimization for MATLAB.
It would be nice to also give a trace of the timing, along with the function value, number of inner iterations, etc.
The following code cannot be reached and should be removed: ```matlab switch (params.Results.Update) ... otherwise error('Error: options.Update is not valid. Choices are {FR, PR, HS}'); ``` This cannot be reached...
In all update types except Steepest Descent, a check on the sign of an vector inner product is checked: ```matlab if gkTgkold > 0 bk = ...; else fprintf(1,[mfilename,': warning:...
In each of these methods, there is a check on the result of `poblano_linesearch`: ```matlab if (lsinfo ~= 1) && strcmp(params.Results.Display, 'iter') fprintf(1,[mfilename,': line search warning = %d\n'],lsinfo); end ```...