Sébastien Villemot
e7162a2a69
Block decomposition: new tests for mfs>0
...
Ref. #1726
2020-10-07 19:01:09 +02:00
Sébastien Villemot
e5f45ef7b1
Testsuite: fix calls to fataltest.m
2020-05-13 14:58:09 +02:00
Sébastien Villemot
1ac7344e42
Rollback introduction of +get and +set folders
...
Under Octave, having namespaces called “get” and “set” overshadows the builtin
functions with the same names, which are needed for graphics manipulation.
Therefore we go back to the initial function naming scheme, but moving all
those functions under an “accessors” subdirectory.
Among other things, this is a revert of
e4134ab59b
and
c5e86fcb59
.
Ref. !1655 , !1686
2019-12-19 17:20:38 +01:00
Marco Ratto
e4134ab59b
fixed calls to moved utilities
2019-12-17 22:26:38 +01:00
Michel Juillard
cc0f2865a6
use tolf option inside simul()
2019-11-24 09:56:35 +01:00
Sébastien Villemot
42f172dec3
perfect_foresight_problem MEX: optimization for linear models
...
When the model is linear, there is no need to reevaluate the Jacobian for each
time period, since it is invariant.
Closes : #1662
2019-11-14 14:45:10 +01:00
Sébastien Villemot
42392df3bc
Put binary test datafiles in the git repository
...
This makes the testsuite robust to network failures.
2019-09-19 14:20:00 +02:00
Stéphane Adjemian (Charybdis)
64dc44740b
Efficiency change.
2019-04-26 16:20:45 +02:00
Sébastien Villemot
1e5fab3881
Fix tests for stack_solve_algo=7
...
Completes commit db0cf1b8ea
from PR #1616 .
2018-06-08 10:29:53 +02:00
Johannes Pfeifer
db0cf1b8ea
Add unit tests for perfect foresight simulations with exogenous leads and lags
...
Closes #1616
2018-06-07 20:46:30 +02:00
Sébastien Villemot
79484607a7
Fix various issues with stack_solve_algo=7 and lags on exogenous > 1
...
Complete the fix started in 8913791ff0
.
Change the test case to prevent regressions.
2018-06-07 16:14:02 +02:00
Stéphane Adjemian (Scylla)
7be8f10e0e
Use cells of strings instead of char arrays.
2018-01-09 22:30:01 +01:00
Stéphane Adjemian (Charybdis)
6d6f850a49
Test the value of oo_.deterministic_simulation.status in tests/deterministic_simulations/*
2017-03-20 16:27:13 +01:00
Houtan Bastani
38f36091a9
test suite: increase timeout option for downloading files to 30 seconds
2017-03-08 12:30:58 +01:00
Johannes Pfeifer
d5a6f132b5
unit tests: remove more unused exogenous variables
2017-01-10 19:58:44 +01:00
Johannes Pfeifer
c5c465d675
Remove unused exogenous variables from unit tests
2017-01-08 19:00:04 +01:00
Johannes Pfeifer
6c9a08d7e2
Further adjust tolerance of Octave unit tests
2016-12-28 19:30:24 +01:00
Johannes Pfeifer
3fc011a1b2
Adjust unit test for stack_solve_algo=7 to actually trigger different algorithms
2016-08-23 17:28:41 +02:00
Johannes Pfeifer
077917b1f4
dynare_solve: use correct termination criterion with stack_solve_algo=7
2016-08-23 17:28:41 +02:00
Johannes Pfeifer
299d7edf8b
Expand stack_solve_algo=7 unit tests to other solve_algo
2016-08-23 17:28:41 +02:00
Michel Juillard
22f49971bc
fixing bug in mcp model setup
...
makes perfect_foresight_problem more efficient
added test case for stack_solve_algo == 7
2016-07-03 10:56:44 +02:00
Stéphane Adjemian (Hermes)
7eed391eb7
Do not display max. abs. error.
2016-05-24 17:26:06 +02:00
Stéphane Adjemian (Charybdis)
8763c29f34
Renamed and changed integration test for sim1_purely_forward routine.
...
Check the results against analytical solution. Also added a new
integration test (ar1.mod).
2016-05-24 17:26:06 +02:00
Stéphane Adjemian (Charybdis)
02c71eb270
Renamed and changed integration test for sim1_purely_backward routine.
...
Compare the solution returned by sim1_purely_backward with the true solution.
2016-05-24 17:26:06 +02:00
Stéphane Adjemian (Charybdis)
0abb9dc6f9
Added integration test.
...
Comparison of the solutions for the endogenous variables in perfect
foresight models with stack_solve_algo equal to 0 and 6 (LBJ, legacy
algorithm).
2016-05-24 17:26:06 +02:00
Johannes Pfeifer
d84bf3e107
Add unit tests for perfect foresight to detect issues with histval
2016-03-23 20:15:57 +01:00
Michel Juillard
066c79f46a
test case for previous commit
2016-03-07 21:51:45 +01:00
Houtan Bastani
779e59cf02
test suite: add missing deletion of downloaded binaries
2015-08-03 08:52:12 +02:00
Michel Juillard
e5d431919c
fixing one more test case for deterministic simulations and leads lags
...
on more than one period
2015-07-29 16:36:13 +02:00
Michel Juillard
0cccceff86
fixed test cases for deterministic simulations with histval and leads
...
and lags on more than one period: All variables different from zero
must be declared in histval. The reference simulation has one lag
because of k(-1).
2015-07-29 16:12:53 +02:00
Johannes Pfeifer
9f21d2724f
Add unit tests for dealing with multiple leads and lags
2015-07-23 14:05:58 +02:00
Stéphane Adjemian (Charybdis)
caaabe9436
Added integration test for the linear_approximation option in
...
perfect foresight model simulation.
Using a linearized version of the SW model we check that the
linear_approximation option does not affect the results.
2015-07-08 11:23:13 +02:00
Stéphane Adjemian (Charybdis)
462639103f
Added command to download binary data file from www.dynare.org/Datasets.
2015-06-18 14:55:21 +02:00
Stéphane Adjemian (Charybdis)
af29c078ad
Added integration test (deterministic simulation invoking solve_one_boundary routine).
2015-06-18 14:50:21 +02:00
Johannes Pfeifer
120946dfb3
Add unit test for deterministic simulations with several leads and lags
...
Tests #617
2015-05-09 08:13:22 +02:00
Johannes Pfeifer
bbbbeb839f
Change call to test.m to fataltest.m
...
Necessary after a988418668
to prevent crashes
2015-03-18 13:32:04 +01:00
Michel Juillard
470fbbe0b2
Fixed bug in deterministic simulations with exogenous variables lagged
...
by more than one period. Added corresponding test cases.
2015-01-15 11:27:00 +01:00
Sébastien Villemot
85f7af9133
Perfect foresight solver now uses a homotopy technique by default.
...
This commit introduces a "no_homotopy" option to restore the old behavior.
Ref #220
2014-04-10 16:39:06 +02:00
Stéphane Adjemian (Charybdis)
ed5696a938
Added test (+ cosmetic changes).
2013-12-30 16:34:26 +01:00
Stéphane Adjemian (Charybdis)
1ea7631930
Added new option for perfect foresight simulations (sim1 routine, available only with stack_solve_algo==0).
...
Try to reduce the size of the nonlinear system of equations by skipping the (last) periods for wich the residuals are
already (almost) zero. The number of periods is not constant during the Newton, the effective number of periods for
each iteration of the Newton is available in oo_.deterministic_simulation.vperiods.
2013-12-27 18:35:53 +01:00
Sébastien Villemot
5dd9c844b3
Implement determistic simulation of purely backward models
2012-06-04 16:14:01 +02:00
Michel Juillard
eab165d3ee
added in manual a section on how to use steady_state_model block with
...
initval and endval for deterministic models. Added test cases for
deterministic models.
2012-05-29 21:31:57 +02:00