Commit Graph

276 Commits (6adf1c26392d737dc31844aa3add0441e040f4a8)

Author SHA1 Message Date
Stéphane Adjemian (Charybdis) d19592f761 Fixed homotopy for perfect foresight models with block option, cosmetic changes. 2015-02-20 14:48:25 +01:00
Michel Juillard 55ea2100c6 Merge branch 'master' into new_ep 2015-02-19 10:27:15 +01:00
Stéphane Adjemian (Charybdis) 5768acf17e Fixed the verbosity of perfect foresight models solvers.
With stack_solve_algo={0, 6} the verbosity is controlled with
options_.verbosity instead of options_.no_homotopy.

Also harmonized the printed informations across these two algorithms.
2015-02-18 23:58:37 +01:00
Stéphane Adjemian (Charybdis) fd0a172637 Remove small imaginary parts in the solution path for perfect foresight
models obtained with stack_solve_algo=7.

Also return oo_.deterministic_simulation.status equal to false if the
solution path is not real.
2015-02-18 23:53:55 +01:00
Stéphane Adjemian (Charybdis) 1c8e1ab913 Merge branch 'remove-globals-from-blocks' 2015-02-17 13:01:17 +01:00
Stéphane Adjemian (Charybdis) cc94ed63b0 Revert "Temporary fix for perfect foresight model simulation with block option."
This reverts commit 8875dbdaa5.
2015-02-17 13:01:01 +01:00
Stéphane Adjemian (Charybdis) a894357655 Removed options_ and oo_ globals from *all* generated dynamic model
routines (with block option) and adapted some routines to reflect this change.
2015-02-17 12:57:30 +01:00
Michel Juillard 83c68c0477 Allowing for models without exogenous variable 2015-02-16 21:30:34 +01:00
Stéphane Adjemian (Charybdis) 8875dbdaa5 Temporary fix for perfect foresight model simulation with block option. 2015-02-16 17:05:37 +01:00
Houtan Bastani 333f87ced2 fix headers 2015-02-16 09:08:26 +01:00
Houtan Bastani ca83397d95 update copyright dates for files changed in 2015 2015-02-16 09:08:02 +01:00
Michel Juillard f8af7724bb small fixes to perfect foresight 2015-02-15 16:49:33 +01:00
Michel Juillard 3c7b1cf2d7 changed calling sequence for sim1; use local variable names without _;
sim1 honors options_.nodisplay
2015-02-14 12:02:18 +01:00
Michel Juillard 21f009a531 Merge branch 'master' into new_ep 2015-02-14 11:54:57 +01:00
Stéphane Adjemian (Charybdis) b3ed7901cf Fixed bug in homotopy for perfect foresight models.
Homotopy was not working if nans or complex numbers were present in oo_.endo_simul.
2015-02-13 16:04:25 +01:00
Stéphane Adjemian (Charybdis) 3b41aa0e60 Fixed bug related to the type of initial_period. 2015-02-13 15:59:49 +01:00
Stéphane Adjemian (Charybdis) ec896d8ca7 Cosmetic changes.
oo_.determinist_simulation.status is a boolean.
2015-02-13 15:58:12 +01:00
Stéphane Adjemian (Charybdis) 59d1c18960 Added routines missing in previous commit. 2015-02-13 10:10:41 +01:00
Stéphane Adjemian (Charybdis) 67be25d1a8 Rewrote homotopy for perfect foresight models. 2015-02-12 15:30:27 +01:00
Stéphane Adjemian (Charybdis) f40fcb9724 Do not print anything if homotopy (perfect forsight models solver). 2015-02-12 15:30:27 +01:00
Stéphane Adjemian (Charybdis) 93966f2087 Set verbosity to 0 if homotopy is used to solve the perfect foresight model. 2015-02-12 15:30:27 +01:00
Stéphane Adjemian (Charybdis) 751e518811 Removed global variables in perfect foresight routines. 2015-02-12 15:30:27 +01:00
Stéphane Adjemian (Charybdis) 892e6818ed Put argument checks in another routine. 2015-02-12 15:30:27 +01:00
Stéphane Adjemian (Charybdis) 6f7fed2046 Moved sim1* routines in subfolder. 2015-02-12 15:30:26 +01:00
Stéphane Adjemian (Charybdis) 1b55975231 Moved det_cond_forecast routine in subfolder. 2015-02-12 15:30:26 +01:00
Stéphane Adjemian (Charybdis) df4ee4b983 Moved files related to perfect foresight models in a subfolder. 2015-02-12 15:30:26 +01:00