Commit Graph

1261 Commits (6330fa037439f66961201d8d224c3c0bfe6adb18)

Author SHA1 Message Date
Houtan Bastani 6330fa0374 write dynamic model output
Conflicts:
	preprocessor/DynamicModel.cc
2015-07-29 14:59:09 +02:00
Houtan Bastani 54874efa72 Merge branch 'master' into julia 2015-07-29 14:53:35 +02:00
Houtan Bastani 22ac2f4f92 preprocessor: simplify writing of NNZDerivatives 2015-07-29 14:52:15 +02:00
Houtan Bastani 38e4480893 add linear option to options 2015-07-29 13:31:42 +02:00
Houtan Bastani 43e5e58a66 remove unnecessary assignment as the field is assigned in the constructor 2015-07-29 13:22:40 +02:00
Houtan Bastani ace7278623 fix writing of aux vars, predetermined vars, and observed vars 2015-07-29 11:51:27 +02:00
Houtan Bastani 601a52a093 rename model__ to model 2015-07-29 11:35:10 +02:00
Houtan Bastani ba8518bf43 create options 2015-07-29 11:30:01 +02:00
Houtan Bastani 0a3a5a0a03 bug fix in writing of dynamic params derivs file 2015-07-29 10:40:30 +02:00
Houtan Bastani 389bb89a55 simplify modules created by preprocessor 2015-07-28 18:00:00 +02:00
Houtan Bastani e73630454d simplify printing of variable arrays 2015-07-28 17:43:57 +02:00
Houtan Bastani 5ce7d85205 reduce code that is output in modfile.jl 2015-07-28 17:32:34 +02:00
Houtan Bastani 789d881cca write steady state model 2015-07-28 17:27:56 +02:00
Houtan Bastani d49e6e4156 wrie dynamic params deriv file 2015-07-28 14:59:55 +02:00
Houtan Bastani ff3e14656d bug fix in writing of static params derivs 2015-07-28 14:42:10 +02:00
Houtan Bastani d7ad832c1d write static param derivs file 2015-07-28 12:29:42 +02:00
Houtan Bastani dc955b56ee fix writing for julia 2015-07-27 17:33:22 +02:00
Houtan Bastani 2bb2682b50 write dynamic file 2015-07-27 17:02:51 +02:00
Houtan Bastani 6fc6f2f7d1 clean up writing of static model 2015-07-27 15:59:13 +02:00
Houtan Bastani f3c14ec396 write static model 2015-07-27 15:33:38 +02:00
Houtan Bastani c124fd040c write more output to modfilename.jl 2015-07-24 12:34:06 +02:00
Houtan Bastani 5c59910001 accord variable names and functions with julia programming style 2015-07-24 11:35:23 +02:00
Houtan Bastani ab65c1abc2 preprocessor: clean up code 2015-07-23 18:10:44 +02:00
Houtan Bastani 432dbbb785 change variable/parameter collections, finish printing SymbolTable info 2015-07-23 18:05:57 +02:00
Michel Juillard fa6a08e8c5 histval: replaced initialization with NaN by zeros 2015-07-23 14:25:18 +02:00
Michel Juillard 1b8d7c6e2f Merge branch 'master' into new_ep 2015-07-22 09:31:22 +02:00
Houtan Bastani 5ad0a4a96f julia: initial preprocessor stub 2015-07-21 18:02:34 +02:00
Houtan Bastani de695fb496 preprocessor: remove comments associated with c604d9da385a4e28fa049d79db13cf1c749c9d55 2015-07-21 17:50:33 +02:00
Houtan Bastani db3f2b3c06 move external file write functions to class definitions 2015-07-21 17:35:06 +02:00
Michel Juillard 7c4562e7e6 Merge branch 'master' into new_ep 2015-07-21 09:30:58 +02:00
MichelJuillard ecf52751d6 Merge pull request #937 from JohannesPfeifer/graph_fix
Various fixes related to graphs and eps-TeX-loaders
2015-07-20 14:36:20 +02:00
MichelJuillard 585d9f1974 Merge pull request #740 from JohannesPfeifer/relative_irf
Fix and document relative_irf
2015-07-20 14:20:00 +02:00
Houtan Bastani 947ca38440 preprocessor: split creation of latex model files. closes #966 2015-07-15 08:58:15 +02:00
Stéphane Adjemian (Charybdis) 7dfba933e5 Fied bug. Moved option linear_approximation. 2015-07-08 11:11:22 +02:00
Stéphane Adjemian (Charybdis) 6e52dfb828 New option linear_approximation for perfect foresight models.
This approach only requires one evaluation of the dynamic model (and its
jacobian) instead of T (the number of perdiods). Also (because the model
is linear) the equilibrium paths are obtained by inverting the jacobian
of the stacked equations (no need for a Newton algorithm).

Only available with stack_solve_algo==0 (which is the default algorithm
for solving perfect foresight models).

If possible, the option is triggered automatically if the model is
declared linear.

TODO:
 * Write a linear version of perfect_foresight_problem routine.
 * Evaluate the approxilation error (just need to evaluate the system of
 stacked non linear equations).
2015-07-07 17:55:41 +02:00
Houtan Bastani 663d7d82bb fix typo 2015-06-30 12:12:49 +02:00
Stéphane Adjemian 55cdd7d6cc Merge pull request #942 from JohannesPfeifer/TaRB_integration
Integrate the TaRB-algorithm into Dynare
2015-06-19 14:30:56 +02:00
Houtan Bastani f94c7ab332 preprocessor: add VerbatimStatement class. Closes #953 2015-06-16 12:48:32 +02:00
Houtan Bastani 4102e0cc56 Revert "Merge branch 'rmExtraExo'"
This reverts commit 28ffa9c56fd021cc75415aeafc13d3810d1b3132, reversing
changes made to 60b3577a09f3eb9cf3cc590241343b1f0fee8706.

Conflicts:
	preprocessor/Shocks.cc
	preprocessor/SymbolTable.cc
2015-06-09 16:42:51 +02:00
Houtan Bastani 8f121273bc Revert "preprocessor: fix bug in merge of rmExtraExo branch"
This reverts commit def2bf81d2b8dacda4b72d4250020eb793f28b20.
2015-06-09 16:41:00 +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
Johannes Pfeifer 2318fb31c1 Enable tex option for stoch_simul 2015-06-08 18:00:32 +02:00
Johannes Pfeifer 342d479e8b Add preprocessor option silent_optimizer 2015-06-08 16:48:57 +02:00
Johannes Pfeifer 6c1c1c9bf6 Allow for relative_irf option in estimation command
The option was used and inherited from stoch_simul before
2015-06-08 16:42:43 +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
Houtan Bastani 979fe9344e preprocessor: fix sign comparison warning 2015-06-08 10:33:04 +02:00
Michel Juillard 567156aad4 option occbin allows for more equations than variables 2015-06-04 14:18:46 +02:00
Michel Juillard f914837aff adding options LMMCP and OCCBIN to perfect_foresight_solver and
extended_path
2015-06-02 17:38:22 +02:00
Stéphane Adjemian (Hermes) dae14ac19e Fixed bug introduced in c22d31330c7d3978f882003ffb999f65be70c4a5 (Ramsey
constraints).
2015-06-01 12:27:16 +02:00
Michel Juillard 60a33fb4a1 Adding 'ramsey_constraints' block to declare contraints for Ramsey
problems. Note that LMMCP (solve_algo=10) still doesn't work in all cases.
2015-05-31 12:18:20 +02:00