Sébastien Villemot
3e5591d41f
New “static_mfs” option to the “model” block (and the “model_options” command)
2023-10-16 11:57:02 -04:00
Sébastien Villemot
03433112a4
Testsuite: add tests for print_bytecode_{static,dynamic}_model commands
2023-10-10 17:42:12 -04:00
Sébastien Villemot
c3524d33d0
Testsuite: replace “simul” by “perfect_foresight_setup” + “perfect_foresight_solver”
2023-02-06 15:42:34 -05:00
Sébastien Villemot
cef1ce33ed
Preprocessor: remove some incorrect normalization rules for the case mfs=3
...
As a consequence, increase the tolerance for a test with mfs=3 (it now uses the
same tolerance as the corresponding test for mfs=2).
2023-01-25 18:39:47 +01:00
Sébastien Villemot
8f1a4cb363
Drop block-decomposed first-order perturbation solution and kalman filter
2023-01-13 16:57:49 +01:00
Sébastien Villemot
b3cff2d34d
Bytecode: remove incomplete/buggy support for exogenous deterministic
2022-07-05 13:02:17 +02:00
Stéphane Adjemian (Ryûk)
cd76bdff9e
Fix and update unit tests for local_state_space_iteration_2.
...
Add mat file with git lfs.
2022-05-13 12:13:46 +02:00
Sébastien Villemot
10af04c6d8
Use Unicode copyright symbol (in UTF-8 encoding) in all source files
...
It is now supported by the MATLAB editor (as of R2022a).
The old ASCII notation is left in some files that we copy as-is from other
sources (e.g. in the contrib/ and m4/ subdirectories).
The particles submodule is not updated at this point, because it is in an
inconsistent state.
[skip ci]
2022-04-13 14:54:25 +02:00
Sébastien Villemot
d7b5973cce
Testsuite: increase tolerance in block_bytecode/lola_stochastic_block.mod
...
Apparently needed with MATLAB R2022a on AVX-512 processors.
2022-03-29 14:10:41 +02:00
Sébastien Villemot
7f58ec5963
Testsuite: increase tolerance in block_bytecode/lola_solve_one_boundary_mfs2.mod
...
This is made necessary by commit dd1ec10ec8
.
2022-03-24 14:18:18 +01:00
Sébastien Villemot
35bdac6be6
Testsuite: in block_bytecode/ireland.mod, remove unneeded option setting
...
The default of options_.slowc is already 1.
2022-03-22 12:53:04 +01:00
Sébastien Villemot
d8c3467a08
Testsuite: improve tests for block/bytecode options
...
Improve the model that is used to test all combinations of algorithms with
block and bytecode options, by ensuring that it includes the 8 possible types of blocks:
– Solve {forward, backward, two boundaries} {simple, complete}
– Evaluate {forward, backward}
All the “Solve” blocks are also included in both linear and nonlinear forms
(since the codepaths are typically different depending on the linearity of
the block).
Note that there is no such thing as a nonlinear “Evaluate” block, since the
endogenous variables of the block always enter linearly (on the LHS).
Also:
- use perfect_foresight_{setup,solver} instead of simul (and disable automatic homotopy)
- add a shock on e_R (though this is not strictly needed since the
corresponding block already inherits the shock from another ancestor block)
- remove the block for observables, there is already another block of type
“Evaluate forward”
2022-03-16 15:00:09 +01:00
Sébastien Villemot
fa7b331cf4
Fix crash in simulation of “Solve forward/backward complete” blocks with stack_solve_algo=4 (without bytecode)
2022-02-11 18:11:42 +01:00
Sébastien Villemot
d69c14398d
Factorize test for normpdf(), normcdf(), erf() and trigonometric functions
...
Incidentally:
- add trigonometric tests for bytecode
- add back a test for pure M-files
2021-12-07 17:00:57 +01:00
Sébastien Villemot
191cb05f87
tests/block_bytecode/lola_stochastic_block.mod: increase test tolerance on ghx
...
Needed for Octave on haumea.
2021-09-28 12:45:52 +02:00
Sébastien Villemot
872c0424a8
tests/block_bytecode/lola_stochastic_block.mod: increase test tolerance on ghu
...
Needed for Octave on lupi.
2021-09-21 17:00:39 +02:00
Johannes Pfeifer
440a0e460b
Storage of results: use subfolder
...
Ref. #1758
2021-07-23 14:12:17 +02:00
Sébastien Villemot
766fff88f6
Use secure URL for link to GNU licenses
2021-06-09 17:35:05 +02:00
Sébastien Villemot
62e42e08a8
Testsuite: more fixes related to stochastic block decomposition + mfs > 0
...
Ref. #1726
2021-05-05 10:15:52 +02:00
Sébastien Villemot
04ba15e5cc
Preprocessor: forbid check and stoch_simul in block-decomposed mode with mfs > 0
...
Closes : #1726
2021-05-04 17:18:20 +02:00
Sébastien Villemot
58b2bc78c3
Testsuite: check that stochastic solution in block decomposition mode is correct
...
Only test with mfs=0, since the result is wrong for other mfs values.
Ref. #1726
2021-05-04 16:31:44 +02:00
Sébastien Villemot
ef58f1329a
Testsuite: factorize code between block decomposition tests based on LOLA model
...
By the way, move tests files under tests/block_bytecode/, which is a more
natural place.
Ref. #1726
2021-05-04 16:17:37 +02:00
Sébastien Villemot
d61f4166ad
Testsuite: add a test for a purely forward variable in block+bytecode mode
...
Closes : #1727
2020-09-22 16:46:58 +02:00
Sébastien Villemot
ee05ff6c6a
Block decomposition now compatible with 'use_dll' option
2020-06-23 15:49:27 +02:00
Sébastien Villemot
b2c554623f
Various fixes related to the new layout of generated files
2018-06-28 18:14:40 +02:00
Sébastien Villemot
3d525c39f2
Fix block/bytecode tests under Octave
2013-12-02 17:22:16 +01:00
Stéphane Adjemian (Charybdis)
5a98be702c
Decreased the value of maxit in simul (bytecode & ireland.mod).
2013-10-09 16:53:31 +02:00
Stéphane Adjemian (Charybdis)
e28eaa1c18
Use dynare interface (maxit option).
2013-10-09 16:26:55 +02:00
Stéphane Adjemian (Charybdis)
cc0d9b42f0
Changed name of options_.maxit as options_.simul.maxit.
2013-10-09 13:06:06 +02:00
Sébastien Villemot
02efbd31a8
Convert files to Unix EOL
2012-06-08 19:10:19 +02:00
Stéphane Adjemian (Charybdis)
a36cf30118
Make options_.dynatol specific to x/f by adding dynatol.x and dynatol.f. By default dynatol.x=dynatol.f= old default value of dynatol.
2011-12-12 14:20:14 +01:00
Sébastien Villemot
2b37eae3e6
Testsuite: under MATLAB, run with the 'console' option
...
In order to avoid warnings in 'nodisplay' mode.
2011-10-12 17:46:48 +02:00
Houtan Bastani
8181dc44be
build system: make check works with both matlab and octave
2011-05-04 16:28:13 +02:00
Houtan Bastani
d0d7839ac5
build system: bug fix, code cleanup
2011-04-06 16:06:18 +02:00
Sébastien Villemot
a654f5abf4
Removed obsolete test file
2011-03-29 19:21:15 +02:00
Houtan Bastani
4e9f5e023a
build system: change testing system
2011-03-29 17:54:44 +02:00
Ferhat Mihoubi
8db02bf7c9
Extend the testsuite for block and bytecode options
2011-03-18 14:15:38 +01:00
Sébastien Villemot
bf565a5f74
Remove Multimod from testsuite (code is broken, unknown license for data); we
...
will add a new version later (maybe in the examples subdir)
2011-02-04 16:09:07 +01:00
Sébastien Villemot
23ba760c3b
Implement solve_algo=0 for Octave ( closes #144 )
2010-10-28 12:07:50 +02:00
Sébastien Villemot
2e87b031d8
Add "check" command in test files for block and bytecode options
2010-10-27 18:36:48 +02:00
Sébastien Villemot
3f57a6ac51
Testsuite: adding missing files
2010-10-23 10:41:56 +02:00
Sébastien Villemot
0c958f16e5
Testsuite: reorganize for bock and bytecode, using a script for systematically testing options combinations
2010-10-22 16:52:02 +02:00
Ferhat Mihoubi
1a09426706
- Correction of several bugs with Octave
...
- Add wrapper needed to compute the steady-state using bytecode and solve_algo = 0, ..., 4
2010-10-22 10:09:07 +02:00
Sébastien Villemot
f479eb1bea
Testsuite: change Ireland deterministic testcase to match change in
...
stack_solve_algo option
2010-09-24 18:40:15 +02:00
Sébastien Villemot
d0161843a4
Testsuite: removed duplicate test case (now under tests/steady_state)
2010-09-24 18:35:31 +02:00
Ferhat Mihoubi
f4b613a54e
Corrections in mod-files to test steady_state command and erf(), normcdf() and normpdf() functions
2010-04-16 18:04:57 +02:00
Ferhat Mihoubi
f92b4262dc
Adding mod-files to test normpdf, normcdf and erf and to test steady_state (with and without block decomposition and bytecode)
2010-04-16 17:26:42 +02:00
sebastien
c44452d820
Fast deterministic simulations:
...
* when using "bytecode" without "block", enforce "stack_solve_algo=5"
* added a test for "bytecode" without "block" option
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3388 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-27 10:13:14 +00:00
sebastien
6c185e2c6b
Converted MOD test files to Unix newline convention
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3253 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 17:25:06 +00:00
sebastien
614b79cf72
Updated and enhanced tests for block and bytecode options
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3245 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 13:41:22 +00:00