Commit Graph

16016 Commits (896c48eba70f47003924cc377a070f49d4be5f20)

Author SHA1 Message Date
Sébastien Villemot 896c48eba7
Testsuite: move some files for more consistency in tests file structure 2023-10-23 17:00:01 +02:00
Sébastien Villemot c475109648
NEWS.md: announcement for Dynare 5.5
[skip ci]
2023-10-23 16:16:49 +02:00
Sébastien Villemot ff5ca80bbc Merge branch 'preprocessor_output' into 'master'
By default display preprocessor output line by line instead of only at the end

See merge request Dynare/dynare!2200
2023-10-23 12:05:53 +00:00
Stéphane Adjemian (Argos) d95154ffa9
Do not automagically cherrypick vars from pac_target_nonstationary. 2023-10-21 10:20:28 +02:00
Sébastien Villemot 8c3429bb0f
Perfect foresight with expectation errors: change the semantics of endval(learnt_in=…)
Similarly to the regular “endval” block, any variable mentioned in this
block will jump to its new value in the period where the information is learnt.
In particular, this means that any temporary shock that may have been
anticipated on that variable (as specified through a “shocks(learnt_in=...)”
block for a previous informational period) will be overwritten.
2023-10-20 16:05:56 -04:00
Sébastien Villemot df9c7d85b8
Error out if perfect_foresight_solver is called with shocks(learnt_in=…) or endval(learnt_in=…) blocks
This is to prevent the accidental use of the regular perfect foresight solver
when one actually wants the one with expectation errors.
2023-10-20 16:05:53 -04:00
Sébastien Villemot 7449d26e51
Perfect foresight with homotopy + marginal linearization: improve info messages 2023-10-20 14:57:22 -04:00
Sébastien Villemot 6027d31da2
Bytecode: rename some methods in Interpreter for clarity 2023-10-20 14:31:46 -04:00
Sébastien Villemot b17ff164fc
Bytecode: rename argument in Interpreter::compute_block_time()
To avoid ambiguity with class member with same name.
2023-10-20 11:49:04 -04:00
Sébastien Villemot 753848ab4b
Bytecode: simplify Interpreter::Simple_Init() 2023-10-20 11:47:13 -04:00
Sébastien Villemot 12a0781bc4
Bytecode: simplify Interpreter::simple_bksub() 2023-10-20 11:43:48 -04:00
Sébastien Villemot 8573c6d06a
Bytecode: simplify Interpreter::bksub() and Interpreter::complete() 2023-10-20 11:42:04 -04:00
Sébastien Villemot 8305afc6b3
Bytecode: simplify Interpreter::compare() 2023-10-20 11:36:35 -04:00
Sébastien Villemot ed45b2092f
Bytecode: simplify a couple of other Interpreter methods 2023-10-20 11:31:23 -04:00
Sébastien Villemot 9964de1c5f
Bytecode: simplify Interpreter::Solve_Matlab_BiCGStab() 2023-10-20 11:23:15 -04:00
Sébastien Villemot 1492073669
Bytecode: simplify Interpreter::Solve_Matlab_GMRES() 2023-10-20 11:18:40 -04:00
Sébastien Villemot 9b9c87e09f
Bytecode: further simplify Interpreter::Read_SparseMatrix() 2023-10-20 10:57:53 -04:00
Sébastien Villemot 4d13d73c58
Bytecode: simplify Interpreter::Solve_LU_UMFPack() (two boundaries version) 2023-10-20 10:47:53 -04:00
Sébastien Villemot 401fbd25a6
Bytecode: simplify Interpreter::Solve_LU_UMFPack() (one boundary version) 2023-10-20 10:41:25 -04:00
Sébastien Villemot 853b195432
Bytecode: remove unused methods in Interpreter 2023-10-20 10:34:17 -04:00
Sébastien Villemot 2617f5a4be
Bytecode: simplify Interpreter::Solve_Matlab_Relaxation() 2023-10-20 10:31:51 -04:00
Sébastien Villemot c132817780
Bytecode: simplify Interpreter::Solve_ByteCode_Sparse_GaussianElimination() 2023-10-20 10:25:06 -04:00
Sébastien Villemot 6c3325cc5e
Bytecode: simplify Interpreter::Solve_ByteCode_Symbolic_Sparse_GaussianElimination() 2023-10-20 10:20:45 -04:00
Sébastien Villemot d5618a61d9
Bytecode: simplify Interpreter::golden() 2023-10-20 10:17:08 -04:00
Sébastien Villemot f47507395d
Bytecode: simplify Interpreter::mnbrak() 2023-10-20 10:16:53 -04:00
Johannes Pfeifer 643face6ed bug: do not remove +subfolder with fast option
Otherwise, expected files are not present
2023-10-20 15:42:44 +02:00
Johannes Pfeifer fb8ff758f9 By default display preprocessor output line by line instead of only at the end
Allows judging how long individual steps take for big models
2023-10-20 15:42:05 +02:00
Sébastien Villemot 9eaf1510f6
Bytecode: make some parameters of Interpreter::Init_Matlab_Sparse() as const 2023-10-20 09:41:01 -04:00
Sébastien Villemot 093a547684
Bytecode: simplify Interpreter::compute_complete() 2023-10-20 09:38:03 -04:00
Sébastien Villemot 0bfcc6d2f5
Bytecode: simplify Interpreter::Init_UMFPACK_Sparse_Simple() 2023-10-19 17:34:06 -04:00
Sébastien Villemot 860285b8b8
Bytecode: simplify Interpreter::Init_Matlab_Sparse_Simple() 2023-10-19 17:34:05 -04:00
Sébastien Villemot 233d0815a6
Bytecode: simplify Interpreter::Init_UMFPACK_Sparse() 2023-10-19 17:33:24 -04:00
Sébastien Villemot dc6a84196a
Bytecode: simplify Interpreter::Init_Matlab_Sparse() 2023-10-19 17:01:51 -04:00
Sébastien Villemot 88a0f67585
Bytecode: simplify Interpreter::Init_GE() 2023-10-19 16:58:14 -04:00
Sébastien Villemot 24fc3854e2
Bytecode: simplify Interpreter::Singular_display() 2023-10-19 16:55:51 -04:00
Sébastien Villemot 115a0a8e5d
Bytecode: simplify Interpreter::Read_SparseMatrix() 2023-10-19 16:52:48 -04:00
Sébastien Villemot e5bf3f79b3
Bytecode: simplify Interpreter::fixe_u() 2023-10-19 16:48:00 -04:00
Sébastien Villemot 197347c870
Bytecode: merge two methods 2023-10-19 16:43:40 -04:00
Sébastien Villemot e104318e6b
Bytecode: simplify Interpreter::Simulate_Newton_Two_Boundaries() 2023-10-19 16:38:51 -04:00
Sébastien Villemot 68cee02eb5
Bytecode: simplify Interpreter::check_for_controlled_exo_validity() 2023-10-19 16:33:54 -04:00
Sébastien Villemot fdb3cd0623
Bytecode: simplify Interpreter::compute_complete() 2023-10-19 16:31:50 -04:00
Sébastien Villemot 8e74322325
Bytecode: rename a method for clarity 2023-10-19 15:58:33 -04:00
Sébastien Villemot af1985d569
Bytecode: mark function as static 2023-10-19 15:56:55 -04:00
Sébastien Villemot fd16bbe493
Bytecode: simplify Interpreter::initializeTemporaryTerms() 2023-10-19 15:56:39 -04:00
Sébastien Villemot 6809819961
Bytecode: simplify Interpreter::compute_complete_2b() 2023-10-19 15:47:10 -04:00
Sébastien Villemot bbcbcd1eed
Bytecode: improve interface of methods for looking through Jacobian sparse matrix 2023-10-19 14:50:07 -04:00
Sébastien Villemot b747eff473
Bytecode: remove unused method 2023-10-19 14:19:01 -04:00
Sébastien Villemot a9c581e2bc
No longer forbid bytecode with order=2 or k_order_solver
The two are now compatible, even though the bytecode representation will not be
used. Print a warning to make this explicit.
2023-10-19 14:10:43 -04:00
Sébastien Villemot 846ed7e829
Bytecode: merge class dynSparseMatrix into Interpreter
These two classes were so entangled that their separation was meaningless.
2023-10-19 13:56:10 -04:00
Sébastien Villemot 654b4e57a2
Bytecode: remove several unused class members of SparseMatrix 2023-10-19 10:59:23 -04:00