sandialabs / poblano_toolbox

Nonlinear optimization for MATLAB.
https://sandialabs.github.io/poblano_toolbox/
Other
25 stars 14 forks source link

ncg, lbfgs, tn: create test for poblano_linesearch warning #4

Open dmdunla opened 5 years ago

dmdunla commented 5 years ago

In each of these methods, there is a check on the result of poblano_linesearch:

    if (lsinfo ~= 1) && strcmp(params.Results.Display, 'iter')
        fprintf(1,[mfilename,': line search warning = %d\n'],lsinfo);
    end

There are no tests for this case. A function should be identified where this case is executed.