2009-12-16 18:17:34 +01:00
|
|
|
function info = ramsey_policy(var_list)
|
|
|
|
|
2010-01-08 10:48:23 +01:00
|
|
|
% Copyright (C) 2007-2008, 2010 Dynare Team
|
2009-12-16 18:17:34 +01:00
|
|
|
%
|
|
|
|
% This file is part of Dynare.
|
|
|
|
%
|
|
|
|
% Dynare is free software: you can redistribute it and/or modify
|
|
|
|
% it under the terms of the GNU General Public License as published by
|
|
|
|
% the Free Software Foundation, either version 3 of the License, or
|
|
|
|
% (at your option) any later version.
|
|
|
|
%
|
|
|
|
% Dynare is distributed in the hope that it will be useful,
|
|
|
|
% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
% GNU General Public License for more details.
|
|
|
|
%
|
|
|
|
% You should have received a copy of the GNU General Public License
|
|
|
|
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
global options_ oo_ M_
|
|
|
|
|
|
|
|
oldoptions = options_;
|
|
|
|
options_.ramsey_policy = 1;
|
|
|
|
options_.order = 1;
|
|
|
|
info = stoch_simul(var_list);
|
|
|
|
|
2010-01-05 15:59:49 +01:00
|
|
|
oo_ = evaluate_planner_objective(oo_.dr,M_,oo_,options_);
|
2009-12-16 18:17:34 +01:00
|
|
|
|
|
|
|
options_ = oldoptions;
|