Commit Graph

67 Commits (943db6fb24d9e4b01f31d084696bb8aec9010ff4)

Author SHA1 Message Date
Houtan Bastani aeb1542b48 preprocessor: add VerbatimStatement class. Closes #953 2015-06-16 12:48:32 +02:00
Houtan Bastani 383a852c9c Revert "Merge branch 'rmExtraExo'"
This reverts commit 28ffa9c56f, reversing
changes made to 60b3577a09.

Conflicts:
	preprocessor/Shocks.cc
	preprocessor/SymbolTable.cc
2015-06-09 16:42:51 +02:00
Michel Juillard 5fd307cfd5 option occbin allows for more equations than variables 2015-06-04 14:18:46 +02:00
Houtan Bastani 28ffa9c56f Merge branch 'rmExtraExo' 2015-05-28 12:33:56 +02:00
Houtan Bastani fe8750c1bc preprocessor: add minimal_workspace option to dynare statement, #946 2015-05-28 11:50:39 +02:00
Houtan Bastani 6c937b1554 preprocessor: remove extraneous varexo, update model and statements, #841 2015-03-06 16:44:17 +01:00
Houtan Bastani 0b5498ee8b remove spurious lines in Statement.cc 2014-09-12 15:13:08 +02:00
Stéphane Adjemian (Scylla) 744bb91c78 Fixed bug (test if the returned index is less than UINT_MAX). 2014-06-27 18:48:50 +02:00
Stéphane Adjemian (Charybdis) d6cb18ab15 Do not initialize subfields of options_ as empty structs if they are already defined (in global_initialization). 2014-05-21 16:41:41 +02:00
Houtan Bastani aa135218a5 preprocessor: don't substitute 'dates' when preceded by an underscore 2014-04-18 16:08:39 +02:00
Sébastien Villemot 9c4b2d949b Introduce two new command: perfect_foresight_{setup,solver}.
simul is now simply an alias for
perfect_foresight_setup+perfect_foresight_solver.
2014-04-09 17:57:17 +02:00
Sébastien Villemot a03bc44d45 Remove workaround preventing the use of "shocks" before "endval".
It now works correctly since 82b31156.

Closes #35
2014-04-08 17:53:10 +02:00
Michel Juillard fabcbb7042 finishing ramsey_model implementation 2014-03-09 12:15:32 +01:00
Houtan Bastani 0c5966d487 ms-dsge: add param initialization to C output 2014-02-24 12:41:02 +01:00
Sébastien Villemot 49a51ed808 Forbid the combination of estimation/mode_file and estimated_params_init/use_calibration
Closes #549
2013-12-09 16:23:49 +01:00
Houtan Bastani e49ec69719 preprocessor: deal with dates in NativeStatement 2013-11-19 16:35:12 +01:00
Stéphane Adjemian (Scylla) 8429321547 Merge branch 'master' into remove-dynDate-class 2013-11-06 12:43:06 +01:00
ferhat 051213f798 Add a flag for calib_smoother command and apply a setup similar to the one used for stoch_simul command:
- Add auxiliary variables for leaded and lagged exogenous
- Set the cutoff applied to the Jacobian at zero for the static and the dynamic models
2013-10-28 14:22:23 +01:00
Houtan Bastani 808d6ae1ad preprocessor: only accept dates of the form: dates('date') in mod file 2013-10-14 09:58:05 +02:00
Houtan Bastani 374b36b904 Revert "preprocessor: replace dates with dynDates"
This reverts commit 030fe52aff.

Conflicts:
	preprocessor/Statement.cc
2013-10-10 11:04:56 +02:00
Houtan Bastani c737f35ca7 remove error message because odd numbers of apostrophes are valid for transposing matrices in Matlab syntax 2013-10-04 16:17:29 +02:00
Houtan Bastani 68bdf1aff8 remove unused portion of code, code cleanup 2013-10-03 16:39:33 +02:00
Houtan Bastani 06ab26f742 handle inline comments 2013-10-03 16:27:25 +02:00
Houtan Bastani d3111863fe fix regular expression 2013-10-03 16:26:17 +02:00
Houtan Bastani 0cac8a2dec clarify error message 2013-10-03 15:44:31 +02:00
Houtan Bastani b372973ab3 catch leading space before comment 2013-10-03 10:48:29 +02:00
Houtan Bastani 51e4e490d6 remove unnecessary test 2013-10-03 09:16:31 +02:00
Houtan Bastani 030fe52aff preprocessor: replace dates with dynDates 2013-10-02 17:21:55 +02:00
Sébastien Villemot 50f2d00ad8 Detect if an extended_path statement is present
Unused for the time being
2013-04-25 18:07:32 +02:00
Sébastien Villemot 5657dc8228 Amend the workaround for ticket #35, so that shocks+endval+simul can looped over 2012-07-30 17:01:42 +02:00
Sébastien Villemot 89ed599c01 Fix unitialized variable 2012-06-09 10:24:09 +02:00
Houtan Bastani 7feb27fe1c estimation: rewrite options output 2012-03-29 16:45:46 +02:00
Houtan Bastani d54e4c4b17 estimation: rewrite prior output 2012-03-29 16:07:01 +02:00
Houtan Bastani 0ca000cdc9 preprocessor: display a summary of preprocessor warnings at the end of a Dynare run 2012-01-30 10:44:14 +01:00
Houtan Bastani 2a2da609c2 ms-sbvar: enforce consecutive chain numbers for markov_switching 2012-01-04 14:42:06 +01:00
Houtan Bastani 7ec25ee27e bug_fix: add initializations for modfilestructure bools 2012-01-04 14:42:06 +01:00
Houtan Bastani 29bead75c9 preprocessor: add set_time command 2011-12-21 12:21:29 +01:00
Michel Juillard e029d46697 adding discretionary policy for linear quadratic models, thanks to code provided by Junior 2011-03-13 21:19:55 +01:00
Houtan Bastani 98a8f54d38 bug fix: check that osr, osr_params and optim_weights appear together 2011-03-03 16:31:36 +01:00
Houtan Bastani 6d0b8e559e bug fix: check that planner_objective and ramsey_policy statements appear together 2011-03-03 16:31:33 +01:00
Sébastien Villemot 551db4a446 Workaround for ticket #157 2011-02-04 12:38:12 +01:00
Sébastien Villemot 25cf12f4f1 Preprocessor: uniformize typedef names (with a "_t" suffix) 2010-09-16 19:00:48 +02:00
Houtan Bastani 9b5df05804 DSGE-VAR: introduce dsge_var and dsge_varlag options to estimation statement 2010-06-22 10:38:43 +02:00
Sébastien Villemot da74e53204 Preprocessor:
* give the possibility of calibrating measurement errors in the "shocks" blocks (only for observed endogenous variables)
* M_.H is now initialized in the preprocessor
* only one "varobs" statement is now accepted in a MOD file
2010-04-14 15:03:41 +02:00
ferhat 46e144ad80 Add new model option no_static : avoid to compute the static model. Useful for models without steady-state.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3319 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-08 11:06:25 +00:00
sebastien e6f1a53e60 Beautified preprocessor code (uncrustify + emacs + manual adjustments, in particular with templates in MacroValue)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3249 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 17:13:23 +00:00
houtanb 271297a446 changed preprocessor internals to support vector<int> type. changed svar_identification to store symbols by symbol ids. Added missing Doxygen comments.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3240 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-14 15:54:00 +00:00
houtanb fe723f0dab allow for vector <int> to be passed by Bison and modified processing of svar statement accordingly.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3221 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-10 22:49:50 +00:00
sebastien 2f7c327b0e k-order:
* in the preprocessor, fail if k_order_solver given without use_dll
* updated the reference manual, in particular w.r. to the new wiki page on MEX compilation under Windows


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3216 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-09 11:50:58 +00:00
houtanb 965c743537 swz: svar_identification
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3194 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-04 21:32:19 +00:00