Testsuite: switch back to mode_compute=4 in lyapunov/fs2000_lyap.mod

This prevents an infinite (or at least very long) loop under Octave on karaba.
dcontrib-log
Sébastien Villemot 2023-11-24 11:49:28 +01:00
parent b220be6d3e
commit 6ccc7fd69e
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 7 additions and 4 deletions

View File

@ -14,10 +14,13 @@
* This implementation was written by Michel Juillard. Please note that the
* following copyright notice only applies to this Dynare implementation of the
* model.
*
* NB: mode_compute=4 is used to limit the computational time under Octave on some
* machines (e.g. on karaba it does not stop after several hours)
*/
/*
* Copyright © 2004-2010 Dynare Team
* Copyright © 2004-2023 Dynare Team
*
* This file is part of Dynare.
*
@ -120,17 +123,17 @@ options_.lyapunov_fp = 0;
options_.lyapunov_db = 0;
options_.lyapunov_srs = 0;
estimation(lyapunov=doubling,order=1,datafile='../../fs2000/fsdat_simul',silent_optimizer, nobs=192, loglinear, mh_replic=0, mh_nblocks=1, mh_jscale=0.8,nograph);
estimation(lyapunov=doubling,order=1,datafile='../../fs2000/fsdat_simul',silent_optimizer, nobs=192, loglinear, mh_replic=0, mh_nblocks=1, mh_jscale=0.8,nograph, mode_compute=4);
if (isoctave && user_has_octave_forge_package('control')) || (~isoctave && user_has_matlab_license('control_toolbox'))
options_.lyapunov_fp = 0;
options_.lyapunov_db = 0;
options_.lyapunov_srs = 0;
estimation(lyapunov=square_root_solver,order=1,datafile='../../fs2000/fsdat_simul',silent_optimizer, nobs=192, loglinear, mh_replic=0, mh_nblocks=1, mh_jscale=0.8,nograph);
estimation(lyapunov=square_root_solver,order=1,datafile='../../fs2000/fsdat_simul',silent_optimizer, nobs=192, loglinear, mh_replic=0, mh_nblocks=1, mh_jscale=0.8,nograph, mode_compute=4);
end
options_.lyapunov_fp = 0;
options_.lyapunov_db = 0;
options_.lyapunov_srs = 0;
estimation(lyapunov=fixed_point,order=1,datafile='../../fs2000/fsdat_simul',silent_optimizer, nobs=192, loglinear, mh_replic=0, mh_nblocks=1, mh_jscale=0.8,nograph);
estimation(lyapunov=fixed_point,order=1,datafile='../../fs2000/fsdat_simul',silent_optimizer, nobs=192, loglinear, mh_replic=0, mh_nblocks=1, mh_jscale=0.8,nograph, mode_compute=4);