Sébastien Villemot
9b50a8a159
Rename ys0_ into oo_.initial_steady_state and ex0_ into oo_.initial_exo_steady_state
2023-10-23 17:33:49 +02:00
Sébastien Villemot
6235e69075
No longer forbid bytecode with k_order_solver
...
The two are now compatible, even though the bytecode representation will not be
used.
2023-10-19 14:09:05 -04:00
Sébastien Villemot
e6f38e724c
Cosmetics: remove empty list of parameters for lambda functions
2023-10-19 09:55:59 -04:00
Sébastien Villemot
f78c428d99
New option “relative_to_initval” to “mshocks” block
2023-10-18 16:16:41 -04:00
Sébastien Villemot
f179ec4dac
Use __builtin_unreachable() to silent some GCC warnings
...
This is cleaner than using exit() or assert() for that purpose.
2023-10-18 14:28:59 -04:00
Sébastien Villemot
6af84b8cac
The “mshocks” block now accepts the “learnt_in=…” option
2023-10-17 15:59:10 -04:00
Sébastien Villemot
6ec7f580d5
New option “static_mfs” to “model” block (and “model_options” command)
...
Currently defaults to 0.
2023-10-16 11:50:26 -04:00
Sébastien Villemot
98c27fad59
StaticModel: add missing fields in copy constructor and assigment operators
...
This should have been in commit 0169240f76
.
2023-10-16 11:49:33 -04:00
Sébastien Villemot
9ecc288f72
Bison grammar: small simplification w.r.t. “model” block options
...
Those options do not internally behave as the usual command options (which have
a “o_*” rule), so it makes more sense to treat them differently.
2023-10-16 11:49:33 -04:00
Sébastien Villemot
43fc59a2bc
The “mfs” option of the “model” block no longer affects the static model
...
This is a restoration of the behaviour that was present in 5.x.
2023-10-16 11:49:30 -04:00
Sébastien Villemot
db3a6bc301
ModelTree::equationTypeDetermination(): remove “mfs” as an input argument
...
It is already available as a class member.
2023-10-13 17:02:36 -04:00
Sébastien Villemot
613a8578ee
InitvalFileStatement: call histval_initvalf.m directly instead of initvalf.m wrapper
2023-10-11 16:52:04 -04:00
Sébastien Villemot
06eb8e0767
Merge branch 'xcode15' into 'master'
...
CI: fix linker issue with XCode 15 and add job for Homebrew arm64
See merge request Dynare/preprocessor!90
2023-10-11 13:47:51 +00:00
Willi Mutschler
ed3a0eb6a9
CI: add job for Homebrew / arm64
2023-10-11 15:43:54 +02:00
Willi Mutschler
586c8dbfae
macOS: use ld_classic as workaround for linker issue with XCode 15
...
XCode 15 (on Ventura and Sonoma) has a linker issue, see https://github.com/mesonbuild/meson/issues/12282 , workaround is to use ld_classic
2023-10-11 15:43:54 +02:00
Johannes Pfeifer
3c20b9862b
Add interface for nomodelsummary option
2023-10-11 09:31:22 -04:00
Johannes Pfeifer
16b063f666
Remove options_ as third input to set_state_space
2023-10-11 09:22:35 -04:00
Sébastien Villemot
084372a314
Add new option “from_initval_to_endval” to “homotopy_setup” block
2023-10-10 10:20:21 -04:00
Sébastien Villemot
a4bc539364
Rename HomotopyStatement class to HomotopySetupStatement
...
For consistency with other such classes, since it represents the homotopy_setup
block.
2023-10-06 16:51:39 -04:00
Sébastien Villemot
f70a9554a8
CI: rename Meson Homebrew/x86-64 cross file, for clarity
...
Also enforce the path to x86-64 GCC.
2023-10-02 17:02:56 +02:00
Sébastien Villemot
c9a28b82ff
CI: rename Meson Linux/arm64 cross file, for clarity
2023-10-02 17:02:56 +02:00
Sébastien Villemot
3d225c8df6
Merge branch 'irf_matching_preprocessor' into 'master'
...
Options for Bayesian IRF Matching in method_of_moments command
See merge request Dynare/preprocessor!85
2023-09-29 08:56:01 +00:00
Sébastien Villemot
86b24dc9bf
Gracefully handle division by zero when attempting equation normalization
...
Instead of crashing the preprocessor (because DataTree::DivisionByZeroException
is not caught), just abort the normalization and mark it as failed.
Ref. #92
2023-09-28 15:32:38 +02:00
Willi Mutschler
960c1563a0
Reorder IRF matching options alphabetically
2023-09-28 12:40:46 +02:00
Willi Mutschler
37ac40352a
Add options and checks for Bayesian IRF matching
2023-09-28 12:40:03 +02:00
Willi Mutschler
a2a6342865
Save options_mom_ to results.mat
2023-09-28 12:38:08 +02:00
Willi Mutschler
d714b2cb15
Remove unused option zero_moments_tolerance
2023-09-28 12:38:08 +02:00
Sébastien Villemot
dec60b25e6
Do not write bytecode for discretionary optimal policy models
...
Those models do not have as many variables as equations, and this case is not
supported by bytecode.
The present commit is an improvement over commit
a8ea57dd63
, which had already removed bytecode
for the planner objective model.
2023-09-27 14:49:06 +02:00
Sébastien Villemot
ef57a28b5f
Use same default variable cleaning rule under Octave as under MATLAB ⩾ 8.6
...
“clearvars” has been implemented in Octave since version 5.
2023-09-27 12:24:45 +02:00
Sébastien Villemot
a8ea57dd63
Fix illegal memory access when doing Ramsey
...
The preprocessor would try to write bytecode for the planner objective. But
bytecode only works when there are as many endogenous as equations, which is
not the case for the PlannerObjective object derived from StaticModel.
2023-09-27 11:23:18 +02:00
Sébastien Villemot
097c4fdc77
Merge branch 'occbin_output' into 'master'
...
occbin.solver: do not pass and return full oo_ structure
See merge request Dynare/preprocessor!87
2023-09-25 15:15:41 +00:00
Johannes Pfeifer
0abb0077d5
Remove unused lik_algo-option
2023-09-25 11:59:13 +02:00
Johannes Pfeifer
35e324fa23
occbin.solver: do not pass and return full oo_ structure
2023-09-25 11:59:12 +02:00
Sébastien Villemot
fe73d74f8a
Enable -Wold-style-cast warning
2023-09-22 14:30:05 +02:00
Sébastien Villemot
3804222667
Ignore -Wold-style-cast in Flex-generated files
2023-09-22 14:29:22 +02:00
Sébastien Villemot
5b7299766f
Remove warning about unused parameter (-Wunused-parameter) under Windows
2023-09-22 14:16:23 +02:00
Sébastien Villemot
5104759bd5
Drop autoconf/automake build system
2023-09-20 15:26:32 +02:00
Sébastien Villemot
7b8fed192d
Meson build system: do not fail if latexmk cannot be detected
2023-09-20 14:58:01 +02:00
Sébastien Villemot
d881bf84ec
Meson build system: meson ⩾ 0.64.0 is required
2023-09-20 11:15:41 +02:00
Sébastien Villemot
bdb5cdacf2
Merge branch 'complex_resid' of git.dynare.org:JohannesPfeifer/preprocessor
...
Ref. !80
2023-09-20 10:04:09 +02:00
Johannes Pfeifer
f08d02ea66
StaticModel: remove transformation of complex residuals for Julia as well
2023-09-19 12:54:06 +02:00
Johannes Pfeifer
5313286db5
StaticModel: remove transformation of complex residuals
2023-09-19 12:54:06 +02:00
Sébastien Villemot
d95c2f2bd8
Meson build system: do not build documentation by default
2023-09-18 13:40:43 +02:00
Sébastien Villemot
e8dc83e1e7
Meson build system: misc adjustements for documentation
2023-09-15 18:32:51 +02:00
Sébastien Villemot
3ec8c0d2d7
Merge branch 'additional_optimizer_steps' into 'master'
...
estimation: allow additional_optimizer_steps option
See merge request Dynare/preprocessor!86
2023-09-14 13:36:03 +00:00
Johannes Pfeifer
2672d9911f
estimation: allow additional_optimizer_steps option
2023-09-14 14:56:03 +02:00
Sébastien Villemot
6fde1b0598
Merge branch 'preprocessor-bvar'
...
Ref. !84
2023-09-14 12:01:08 +02:00
Johannes Pfeifer
27a3a559e4
Move BVAR to +bvar folder
2023-09-14 11:59:06 +02:00
Sébastien Villemot
978789d02a
Merge branch 'osr' of git.dynare.org:JohannesPfeifer/preprocessor
...
Ref. !83
2023-09-13 11:18:26 +02:00
Johannes Pfeifer
5a2b3e052f
OSR: allow analytic_derivation option
2023-09-12 09:02:40 +02:00