Johannes Pfeifer
b60d26a745
Add variable explanations to manual
2019-11-22 11:16:14 +01:00
Sébastien Villemot
9c6d2489ae
Manual: list the Dynare Team members in a single place
...
There were previously two lists of members, which were inconsistent.
By the way, add Sumudu to the list.
2019-11-21 10:51:08 +01:00
Sébastien Villemot
628a8a6ff3
Testsuite: remove obsolete conditionals for testing whether Octave version > 3.4
...
We now support Octave ≥ 4.2 only.
By the way, in another test, use the isoctave function instead of manual test.
2019-11-19 15:25:59 +01:00
Sébastien Villemot
9d99dafdd7
Dynare++: ensure that exception gives meaningful message if BK conditions not satisfied
...
Previously, if Blanchard-Kahn conditions were not satisfied, there was the
possibility an exception about NaN/Inf values in gy/gu was raised *before* the
exception about BK itself, leading to a confusing message. This commits moves
the test for BK before the test for NaN/Inf in gy/gu.
Closes : #674
2019-11-19 15:19:34 +01:00
Sébastien Villemot
12d7d8cef2
Testsuite: use XLSX for Octave and MATLAB ≥ R2012a, and XLS for MATLAB < R2012a
...
In 98bdf76581
, all XLSX files were removed in
favour of XLS, for compatibility with MATLAB R2009b.
But this broke the very same tests under Octave, since XLS support is not very
good there.
This commit implements a solution that works everywhere, by using XLSX whenever
possible, and XLS otherwise.
2019-11-19 12:49:01 +01:00
Stéphane Adjemian (Charybdis)
e2d90a949f
Use nodisplay option when performing tests (linux only).
2019-11-18 21:49:20 +01:00
Stéphane Adjemian (Charybdis)
9f5f4b6981
Cosmetic changes.
2019-11-18 21:48:52 +01:00
Sébastien Villemot
e04ccd9b01
Fix construction of source tarball
...
Was broken by the previous commit, which renamed some datafile without updating
EXTRA_DIST in tests/Makefile.am.
2019-11-15 22:49:45 +01:00
Sébastien Villemot
98bdf76581
MATLAB R2009b compatibility fixes
...
— use XLS instead of XLSX in testsuite datafiles
— use optimset instead of optimoptions
— use quadv/quadl/quadgk instead of integral
— fix race condition in load_m_file_data_legacy.m tests
— use fallback implementation for intersect(…, 'stable')
2019-11-15 18:27:37 +01:00
Sébastien Villemot
13c645e940
Preprocessor: improvement to balanced growth test ( #1389 ), macro-processor bugfix for loops
...
Also includes various modernizations.
2019-11-14 18:04:07 +01:00
Sébastien Villemot
cc9445e086
Manual: update various URLs
...
Some URLs have changed with the new Dynare website.
Also use HTTPS whenever possible.
2019-11-14 17:04:05 +01:00
Sébastien Villemot
8fa4c483f9
Manual: replace “GNU Octave” by “Octave”
...
Mentioning that Octave is a GNU project is pointless and maybe even confusing
for users.
2019-11-14 16:57:33 +01:00
Sébastien Villemot
caf0c8e1f8
Trust region solver: recompute Jacobian only when necessary
...
Previously, the solver would recompute the Jacobian at every iteration. But, if
an iteration fails, the current point is not moved (only the radius of the
trust region changes), hence it is not necessary to recompute the Jacobian in
that case. This commit implements this optimization.
2019-11-14 16:03:50 +01:00
Sébastien Villemot
49a17e75df
Windows package: upgrade various dependencies
2019-11-14 14:59:59 +01:00
Sébastien Villemot
42f172dec3
perfect_foresight_problem MEX: optimization for linear models
...
When the model is linear, there is no need to reevaluate the Jacobian for each
time period, since it is invariant.
Closes : #1662
2019-11-14 14:45:10 +01:00
Sébastien Villemot
1d01443e6f
Add Dóra to the list of Dynare Team members
2019-11-14 14:21:54 +01:00
Sébastien Villemot
d6e0ffd18e
Merge branch 'master' into 'master'
...
Add fallback implementation for contains and splitlines functions.
See merge request Dynare/dynare!1664
2019-11-13 13:24:05 +00:00
Dóra Kocsis
4c49eddb97
Add fallback implementation for contains and splitlines functions.
2019-11-13 13:05:28 +01:00
Houtan Bastani
0f61c5de7d
add new features to reporting
...
* split up report output, creating new files for the preamble, the body of the report, and each individual page of the report.
* allow the user to set the page number
* allow for the removal of headers and footers from a given page
2019-11-06 13:50:21 -05:00
Houtan Bastani
c978b86a72
reporting: make horizontal line extend the width of the page
2019-10-25 17:31:46 +02:00
Houtan Bastani
5f2d60f945
fix reporting bugs with addData
2019-10-24 12:03:33 +02:00
Houtan Bastani
be3c48604b
change name of mex folder in macOS to conform with Dynare minimum
2019-10-23 18:59:36 +02:00
Houtan Bastani
908523dbb8
fix bug that caused reporting not to work in MATLAB < R2012a
2019-10-23 17:37:31 +02:00
Houtan Bastani
ac689b83ee
fix bug in reporting on Windows where `filesep`t results in a tab character
2019-10-23 15:11:43 +02:00
Sébastien Villemot
e315a68fc2
Preprocessor: fix bug with diff or unary ops that have same static representation
2019-10-22 16:11:32 +02:00
Sébastien Villemot
8cb6aeb7ed
Windows package: upgrade Boost and GCC dependencies
2019-10-17 16:26:27 +02:00
Houtan Bastani
0bdb04bac8
macOS snapshot: statically link to `libmatio` and dependencies, `gsl`, and `gcc` libraries
...
* The macOS snapshot until this point did not work unless the user had already installed `libmatio`, `gsl`, and `gcc` via Homebrew.
* We are not modifying `m4/ax_matio.m4` as we want to still be able to compile against shared libraries in development
2019-10-17 15:29:34 +02:00
Sébastien Villemot
39ef80e399
Preprocessor: create set_auxiliary_series routine in use_dll, block/bytecode and julia modes
2019-10-17 15:05:24 +02:00
Stéphane Adjemian (Charybdis)
1211d4c01e
Updated dseries submodule (changed merge behaviour).
2019-10-16 20:58:49 +02:00
Sébastien Villemot
e54f06cfcb
CI: inject computed version number in preprocessor and doc
2019-10-15 12:03:32 +02:00
Sébastien Villemot
76cf92578b
Manual: document silent installation on Windows
...
Closes #1478
2019-10-14 12:05:15 +02:00
Sébastien Villemot
0c6ad30b7b
Manual: update installation procedure for GNU/Linux
...
In particular, mention the Linux Mint and Arch Linux packages.
2019-10-14 12:05:14 +02:00
Houtan Bastani
43c73a74c8
test for matlab namespace function in steady_state_model block. closes #1639
2019-10-09 16:39:33 +02:00
Houtan Bastani
cd83a7790e
add .m files from 4a1b5eccb2
to EXTRA_DIST
...
[skip ci]
2019-10-09 16:35:32 +02:00
Houtan Bastani
4a1b5eccb2
Support MATLAB namespaces in function calls #1639
...
shorten test names because adding `_namespace` made some .mod file names too long
2019-10-09 16:22:32 +02:00
Houtan Bastani
8b86f8a25b
ignore unused output variable
2019-10-09 14:53:33 +02:00
Sébastien Villemot
71996fd077
Error out if mode_compute=12 and under Octave, or MATLAB w/o global optim tbox
...
[skip ci]
2019-10-09 12:30:41 +02:00
Sébastien Villemot
b3d1e8412b
Add support for mode_compute=1 under Octave
...
Since version 1.6, the optim Forge package has an implementation of fmincon.
Hence we can now use mode_compute=1 under Octave.
This commit also adds tests/optimizers/fs2000_1.mod to the testsuite. It will
be skipped under MATLAB if the optimization toolbox is not there, or under
Octave if optim ≥ 1.6 is not there.
2019-10-08 18:38:15 +02:00
Sébastien Villemot
6c1dcae506
Manual: fix links to Octave Forge website
2019-10-08 18:38:15 +02:00
Sébastien Villemot
100f4d5130
Simplify octave_ver_less_than using builtin compare_versions()
2019-10-08 18:38:15 +02:00
Houtan Bastani
2b5de4c605
license: update info for JSONlab
...
[skip ci]
2019-10-08 13:07:25 +02:00
Houtan Bastani
0a402d254b
fix yet another typo in 119595fe72
#1628
...
[skip ci]
2019-10-08 12:46:10 +02:00
Houtan Bastani
ba04b3ccca
fix typos in 119595fe72
#1628
...
[skip ci]
2019-10-08 12:38:01 +02:00
Houtan Bastani
119595fe72
document options to `dynare`. closes #1628
2019-10-08 12:29:04 +02:00
Houtan Bastani
2db89c1e16
preprocessor: submodule update
2019-10-08 09:16:04 +02:00
Houtan Bastani
5592078269
uncapitalize DYNARE in error messages
...
[skip ci]
2019-10-04 10:20:11 +02:00
Houtan Bastani
6702b5272d
macOS build: just add ms-sbvar .m files to macOS build
...
[skip ci]
2019-10-04 10:19:55 +02:00
Houtan Bastani
24b3c2f014
macOS build: update deps/versions.mk for change in a1129866ba
...
[skip ci]
2019-10-03 18:31:53 +02:00
Houtan Bastani
5ca9e44503
dseries: submodule update
...
this update includes the name change for x13 on mac from osx->macOS
2019-10-03 18:07:03 +02:00
Sébastien Villemot
f44bb38c72
More capitalization fixes and cosmetics
...
[skip ci]
2019-10-03 16:21:15 +02:00