Commit Graph

37 Commits (915bea91a101ba009f30387d02cc3c1cbd0d9698)

Author SHA1 Message Date
Houtan Bastani 4462591347 fix copyright dates 2016-05-04 16:05:31 +02:00
Michel Juillard da63d21f0d fixing problems with Ramsey policy and auxiliary variables 2016-04-04 17:11:03 +02:00
Houtan Bastani 99ef7b1f88 preprocessor: make notation accord with the rest of the preprocessor 2015-10-30 18:13:37 +01:00
Houtan Bastani b62e5e8b02 preprocessor: fix uninitialized variable warning 2015-10-30 18:11:51 +01:00
Houtan Bastani fb51517ac7 fix comments in generated files 2015-08-21 12:00:47 +02:00
Houtan Bastani 1b0d63abe9 add types to dynamic, static, and steady_state function calls 2015-08-19 12:11:08 +02:00
Houtan Bastani cbe1027428 remove unnecessary get*Function functions 2015-08-19 11:28:25 +02:00
Houtan Bastani 6156c76f79 load steady_state! function into model.steady_state 2015-08-19 10:59:30 +02:00
Houtan Bastani 6b96a83d8b make steady state file modify variables in place 2015-08-18 16:31:30 +02:00
Houtan Bastani 389bb89a55 simplify modules created by preprocessor 2015-07-28 18:00:00 +02:00
Houtan Bastani 789d881cca write steady state model 2015-07-28 17:27:56 +02:00
Houtan Bastani db3f2b3c06 move external file write functions to class definitions 2015-07-21 17:35:06 +02:00
Houtan Bastani 8fe889bf2f Revert "preprocessor: replace extra exos in steady state model"
This reverts commit 8bc946c148b3e3321e23bfbace19c91feb2893dc.
2015-06-09 16:40:14 +02:00
Houtan Bastani 3740c4a28b preprocessor: replace extra exos in steady state model
(commit lost in merge)
(cherry picked from commit d7db5070e7cf8d1b043062b04d3bd3c4e18ce6c1)
2015-06-08 15:45:03 +02:00
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