Johannes Pfeifer
1d10659b59
get_complementarity_conditions.m: fix equation numbering with ramsey_model
...
M_.equation_tags already contains the correct equation number
2021-06-16 13:21:49 +02:00
Sébastien Villemot
766fff88f6
Use secure URL for link to GNU licenses
2021-06-09 17:35:05 +02:00
Sébastien Villemot
47477e152a
Bump minimal Octave version to 6.2.0
2021-03-12 16:21:57 +01:00
Sébastien Villemot
44f3a26042
Octave 6 compatibility fix
...
By the way, remove an obsolete version test for MATLAB (since we now require
R2014a).
2020-12-17 16:08:32 +01:00
Johannes Pfeifer
3f18acb1f2
get_complementarity_conditions.m: fix variable naming
...
Model structure must be named M_ for eval-statement with parameters replaced by position in M_.params to work
2020-12-14 17:46:08 +01:00
Sébastien Villemot
7a75872f72
Modernization: use tilde (~) syntax for ignored output arguments
2018-11-13 18:02:09 +01:00
Sébastien Villemot
a1b8bd39b2
Move the location of various generated files on the filesystem
...
- M and MEX files are now under +${MODELNAME}/
- bytecode, C source and JSON now under ${MODELNAME}/model/
2018-06-27 17:03:39 +02:00
Stéphane Adjemian (Scylla)
7be8f10e0e
Use cells of strings instead of char arrays.
2018-01-09 22:30:01 +01:00
Michel Juillard
0068f9f6b6
fix another bug in complementarity constraints with ramsey problem
...
(cherry picked from commit b1fc34ef99
)
2017-10-08 16:45:20 +02:00
Michel Juillard
b1fc34ef99
fix bug when there are constraints both on ramsey policy instrument and on
...
other variables
2017-10-08 12:43:33 +02:00
Stéphane Adjemian (Charybdis)
1bf81c9f5a
Fixed copyright notices.
2017-05-18 18:36:38 +02:00
Stéphane Adjemian (Charybdis)
5417b27ac7
Fixed indentation of matlab files.
2017-05-16 15:10:20 +02:00
Stéphane Adjemian (Charybdis)
88e1701289
Removed useless commas and semicolons.
2017-05-16 13:24:46 +02:00
Johannes Pfeifer
dfd44c58d6
Fix error messages in get_complementarity_conditions.m
2016-08-23 17:28:41 +02:00
Johannes Pfeifer
118b3ccb74
catstruct.m: remove call to nargchk, which will be removed in future Matlab versions
2016-05-28 19:32:11 +02:00
Stéphane Adjemian (Hermes)
ee78ad2049
Improved execution speed.
...
Removed some calls to bsxfun which is not optimal on sparse matrices. I
only removed the calls where I identified bottlenecks (with a Smets and
Wouters model), more tests are needed to decide if we have to remove other
occurences of bsxfun on sparse matrices.
2016-05-24 17:26:06 +02:00
Michel Juillard
c3c72192ac
small bug corrections
2015-07-27 16:52:36 +02:00
Michel Juillard
c22d31330c
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
Sébastien Villemot
db272f114b
Compatibility fixes for MATLAB <= 7.7.
...
The tilde syntax was introduced in MATLAB 7.8.
2015-04-22 16:45:15 +02:00
Michel Juillard
fa3e77d163
fixing bug in handling options for lmmcp
2014-09-28 10:07:08 +02:00
Sébastien Villemot
064c1bb8fc
Clarify license of LMMCP.
...
Closes #680
2014-07-10 14:24:41 +02:00
Michel Juillard
214610be1e
updating lmmcp.m from RECS
2014-05-18 21:49:52 +02:00
Michel Juillard
2c5eb9814b
made lmmcp compatible with Octave
2014-05-18 21:49:52 +02:00
Michel Juillard
f65b563e2d
lmmcp: removed ineffective changes
2014-05-18 21:49:52 +02:00
Michel Juillard
385485c314
adding mixed complementarity conditions in perfect foresight solver
2014-05-18 21:49:52 +02:00
Michel Juillard
2f84a4809c
using a substitute for strsplit()
2014-05-18 21:49:52 +02:00
Michel Juillard
5425245ec1
adding lmmcp
2014-05-18 21:49:52 +02:00