Commit Graph

10 Commits (edede274f27e1fcd4d43037e0cebae105c37adbd)

Author SHA1 Message Date
Sébastien Villemot fc27fad46d
Preprocessor: Do not simplify constant equations which have a tag attached
In particular, in the case of an 'mcp' tag, this could lead to a convergence
failure.

Also modify the lmmpc/rbcii.mod test so that it fails if convergence is not
obtained, in order to detect such regressions earlier.

Closes: #1697

This preprocessor update also includes the following changes:
— removal of license.txt, now merged in back in the main Dynare one
– various code simplifications and modernizations in the macro processor
— minor code simplification in parsing of the --+ options: … +-- line
2020-01-27 16:12:25 +01:00
Sébastien Villemot 9c3ce0350d Replace LMMCP test with another one that converges
Incidentally the new one takes far less time, especially on Octave.
2018-07-18 17:52:44 +02:00
Sébastien Villemot a1b8bd39b2 Move the location of various generated files on the filesystem
- M and MEX files are now under +${MODELNAME}/
- bytecode, C source and JSON now under ${MODELNAME}/model/
2018-06-27 17:03:39 +02:00
Johannes Pfeifer eca30eff75 Modify lmmcp unit test to have second (name) tag 2016-05-28 19:31:53 +02:00
Stéphane Adjemian (Charybdis) 03da338b05 Added more informative error messages. 2016-05-25 12:54:47 +02:00
Stéphane Adjemian (Charybdis) 6007d51ef4 Code factorization. 2016-05-25 12:42:56 +02:00
Stéphane Adjemian (Hermes) 4bd8ef7a9f Added new integration tests.
Simulation of the Smets and Wouters perfect foresight model, with a
productivity shock such that the nominal interest rate hits the
ZLB. Comparison of the solutions returned by a Newton
algorithm (stack_solve_algo==0) and the LMMCP algorithm. AT the time of
this commit, the results are different... Probably an issue with the
LMMCP algorithm.
2016-05-24 17:28:24 +02:00
Stéphane Adjemian (Hermes) 4e8fcf6d47 Use lmmcp option in integration tests. 2016-05-24 17:26:06 +02:00
Stéphane Adjemian (Hermes) 7355214413 Added integration tests for lmmcp in testsuite.
Also merged rbcii.mod and rbciia.mod.
2016-05-24 17:26:06 +02:00
Michel Juillard dd1f761549 adding tests using lmmcp
(cherry picked from commit 2ddfcf2f73)
2015-07-07 16:45:20 +02:00