Michel Juillard
cb45fe885e
Merge branch 'master' into ep
2014-05-09 10:02:05 +02:00
Michel Juillard
8d3876e55b
putting functions related to extended preprocessor in ExternalFiles.cc
2014-04-24 20:54:38 +02:00
Michel Juillard
cffe121a37
fixing extended-preprocessor C++ API and test case
2014-04-24 14:33:04 +02:00
Michel Juillard
cd063ce3fe
extended-preprocessor: starting a C interface (not finished)
2014-04-05 15:46:35 +02:00
Michel Juillard
6f65d48376
extended-preprocessor: starting a C interface (not finished)
2014-03-16 18:49:54 +01:00
Michel Juillard
8d042b8121
finishing ramsey_model implementation
2014-03-09 12:15:32 +01:00
Sébastien Villemot
2ab9614fad
steady_state_model: fix bug introduced in 8fddca92
...
- don't emit warnings if the steady_state_model block is not used
- the ramsey_policy check is spurious, there is another one deeper
2014-02-25 17:58:25 +01:00
Sébastien Villemot
cb9d603edc
Add a warning if some endogenous is not present in steady_state_model block.
...
Closes #556
2014-02-24 17:27:35 +01:00
Sébastien Villemot
eaf02155cb
Remove some limitations of steady state model:
...
- allow recursive definitions (Closes #554 )
- allow a variable to be defined twice, simply emit a warning (Ref #556 )
2014-02-24 17:27:34 +01:00
Michel Juillard
6bee53c658
extended_preprocessor: fixed computation of steady state out of
...
steady_state_model
2014-02-24 13:33:48 +01:00
Michel Juillard
6e0ef026ac
write C++ version of model functions without temporary terms
2014-02-24 13:33:48 +01:00
Sébastien Villemot
1414f98cff
Refactor code for collecting variables appearing in expressions
...
- rename ExprNode::collectVariables in ExprNode::collectDynamicVariables
- new ExprNode::collectVariables: same as above, but without lag information
- remove ExprNode::findUnusedEndogenous: essentially redundant with the above)
- remove ExprNode::collectModelLocalVariables: idem
2013-11-29 15:37:11 +01:00
Michel Juillard
da0d2ab8ef
fixing problems for computing steady state in ramsey policy
2011-11-14 21:59:39 +01:00
Michel Juillard
3b955481cb
factoring out steady-state computations; steady_state_model now
...
generates <fname>_steadystate2.m returning parameters as well in case
they have been modified by the user. Added several test cases.
2011-10-12 21:51:14 +02:00
Michel Juillard
09a6b96c5f
preprocessor: modified order of auxiliary variables definitions
2011-09-25 20:21:30 +02:00
Sébastien Villemot
d264b7b2e3
Reindentation of the preprocessor
2011-02-04 16:25:38 +01:00
Sébastien Villemot
9b3d611a0b
Preprocessor: in steady_state_model block, allow MATLAB functions which return several arguments ( closes #37 )
2011-01-26 13:55:01 -05:00
Sébastien Villemot
2c10d03368
Preprocessor: rename "NodeID" in "expr_t"
2010-09-17 12:13:26 +02:00
Sébastien Villemot
c54f60dd23
Preprocessor: fix for 'steady_state_model' when not computing Ramsey policy'
2010-06-04 09:33:54 +03:00
Michel Juillard
851dcc88a6
steady_state_model: authorizing change in parameter values in steady_state_model block + removing ys_ initialization to zero
2010-06-03 15:59:35 +02:00
Sébastien Villemot
211056f552
Steady state file: in the presence of 'ramsey_policy', no longer check that the declarations are recursive, and use input vector of steady state file as initial values
2010-05-31 17:43:17 +02:00
Sébastien Villemot
5546658b4d
Preprocessor: with 'steady_state_model' command, write auxiliary equations in the steady state file
2010-04-27 17:04:52 +02:00
Sébastien Villemot
d68e984fd6
Preprocessor: added new 'steady_state_model' keyword for automatically creating steady state file
2010-04-23 18:39:07 +02:00