Commit 01187917 authored by ratto's avatar ratto
Browse files

Modified help and messages concerning the sequence of univariate steps.

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2308 ac1d8469-bf42-47a9-8791-bf33cf982152
parent ee21ad44
......@@ -4,7 +4,7 @@ function [xparam1, hh, gg, fval, igg] = newrat(func0, x, hh, gg, igg, ftol0, nit
%
% [xparam1, hh, gg, fval, igg] = newrat(func0, x, hh, gg, igg, ftol0, nit, flagg, varargin)
%
% Optimiser with outer product gradient and 'Gibbs type' steps
% Optimiser with outer product gradient and with sequences of univariate steps
% uses Chris Sims subroutine for line search
%
% func0 = name of the function
......@@ -112,9 +112,9 @@ while norm(gg)>gtol & check==0 & jit<nit,
nig=[nig ig];
if (fval-fvala)<gibbstol*(fval0(icount)-fval),
igibbs=0;
disp('Last Gibbs step, gain too small!!')
disp('Last sequence of univariate step, gain too small!!')
else
disp('Gibbs step!!')
disp('Sequence of univariate steps!!')
end
fval=fvala;
end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment