The path to the AIM directory is added by dynare_config.m
for start, options_.useAIM = 0 is set by default in global_initialization.m so that system uses mjdgges by default. If AIM is to be used, options_.useAIM = 1 needs to be set either in the model <>.mod file, before invoking, estimate and/or stoch_simul, or by issuing appropriate command for estimate and/or stoch_simul. GP July '08 git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1966 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
8225da0e7e
commit
bee92a9714
|
@ -21,6 +21,10 @@ if nargin
|
|||
end
|
||||
dynareroot = strrep(which('dynare.m'),'dynare.m','');
|
||||
|
||||
if exist('AIM')==7 % Add path to G.Anderson AIM solver (added by GP July'08)
|
||||
addpath([dynareroot '/AIM/']);
|
||||
end
|
||||
|
||||
if exist('OCTAVE_VERSION')
|
||||
addpath([dynareroot '../mex/octave/'])
|
||||
else
|
||||
|
|
|
@ -98,12 +98,16 @@ function global_initialization()
|
|||
options_.replic = 50;
|
||||
options_.drop = 100;
|
||||
options_.simul_algo = 0;
|
||||
% if mjdgges.dll (or .mexw32 or ....) doesn't exit, matlab/qz is added to the path.
|
||||
% There exists now qz/mjdgges.m that contains the calls to the old Sims code
|
||||
% Hence, if mjdgges.m is visible exist(...)==2,
|
||||
% this means that the DLL isn't avaiable and use_qzdiv is set to 1
|
||||
if exist('mjdgges')==2
|
||||
options_.use_qzdiv = 1;
|
||||
else
|
||||
options_.use_qzdiv = 0;
|
||||
end
|
||||
|
||||
options_.useAIM = 0; % i.e. by default do not use G.Anderson's AIM solver, use mjdgges instead
|
||||
|
||||
|
||||
% Ramsey policy
|
||||
|
|
Loading…
Reference in New Issue