Commit Graph

11 Commits (e6f1a53e6059afc5bc501768c34bac13903070e2)

Author SHA1 Message Date
michel e45bf380fa 4.1: modified csminwel.m to make sure to choose always the lowest point, even if it was reached before the last traversing
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2582 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-09 15:35:07 +00:00
sebastien 0ee09b5b07 v4.1: merged r2044, 2045 and 2046 changesets from 4.0 branch
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2047 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-05 16:48:39 +00:00
sebastien 0c23ac2b06 v4 matlab:
* fixed various copyright headers
* added URL pointer to C. Sims' original files
* removed obsolete dgamma.m


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2018 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-02 15:18:05 +00:00
sebastien dbe05bd9c8 v4 matlab: added copyright notice to C. Sims' files
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1976 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-01 13:28:14 +00:00
adjemian 20fb13f7c2 * Added five points formula for gradient evaluation.
* Cosmetic changes in numgrad3.m

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1939 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-08 08:18:54 +00:00
adjemian 27886047cf * Changed numgrad.m. If fcn(x+h) is not well defined (for instance cost_flag=0 because of BK conditions) we compute the gradient using (fcn(x)-fcn(x-h))/h instead of the original formula (fcn(x+h)-fcn(x))/h.
* Added function numgrad3.m. This new function uses a three point formula to compute the gradient. By default Dynare uses the two point formula. By setting options_.gradient_method=3 Dynare switches to the three point formula. Note that an input argument has been added to csminwel.
* Added automatic detection of needed constant in dsge-var model (may be problematic is some cases)

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1935 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-07 12:58:13 +00:00
sebastien e08cad8265 v4: merged Octave branch into trunk
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1899 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-24 18:20:48 +00:00
michel 7eb6a591d0 v4 csminwel.m: setting values for return variables even if failure
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1003 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-10-29 17:10:05 +00:00
michel 244d8775e3 v4 csminwel.m: new version from Chris Sims
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@654 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-03-05 21:00:33 +00:00
michel 71a4fd49c8 v4: bugs in trend_coeff, steady state; changed handling of penalty by csminwel
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@590 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-01-08 08:39:00 +00:00
michel 9a9872fd33 dynare_v4 from CVS
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@8 ac1d8469-bf42-47a9-8791-bf33cf982152
2005-02-18 19:54:39 +00:00