Commit Graph

6626 Commits (e0c4c937f33c7f9b6052ae1063069cda15eb993b)

Author SHA1 Message Date
Stéphane Adjemian (Charybdis) 21fa2b949d Rewrote @dynDates::eq method so that it handles correctly objects with only one element. 2013-10-10 15:52:50 +02:00
Stéphane Adjemian (Charybdis) 74d7bcbc71 Changed dynDates constructor. 2013-10-10 15:13:50 +02:00
Stéphane Adjemian (Charybdis) 294356db22 Fixed unitary test #3 in dynDates constructor. 2013-10-10 15:13:12 +02:00
Stéphane Adjemian (Charybdis) e9bb2ba77f Deactivated unitary test #4 in dynDates constructor. 2013-10-10 14:58:15 +02:00
Stéphane Adjemian (Charybdis) 22144ef359 Added a routine for converting a string into a date structure.
A date structure has two fields:

 o freq, an integer scalar (=1, 4, 12, 52) specifying the frequency.

 o time, a 1*2 matrix of integers, time(1) is the year and time(2) the subperiod number.
2013-10-10 14:33:31 +02:00
Stéphane Adjemian (Charybdis) adcc218a0d Added new routine to test if a string can be interpreted as a date. 2013-10-10 14:30:38 +02:00
Stéphane Adjemian (Charybdis) 5a1b5aaf73 Fixed bug (month number 10 was missing). 2013-10-10 14:05:12 +02:00
Stéphane Adjemian (Charybdis) f4e32dbd6f Efficiency improvements. Rewrote some routines using regular expressions. 2013-10-10 12:52:27 +02:00
Houtan Bastani 374b36b904 Revert "preprocessor: replace dates with dynDates"
This reverts commit 030fe52aff.

Conflicts:
	preprocessor/Statement.cc
2013-10-10 11:04:56 +02:00
Michel Juillard 404f29e47e dynare++ adding missing header 2013-10-10 10:04:14 +02:00
Stéphane Adjemian (Charybdis) 399b6d2615 Specialized maxit in bytecode mex (dynamic simulation vs steady state). 2013-10-09 16:55:46 +02:00
Stéphane Adjemian (Charybdis) 5a98be702c Decreased the value of maxit in simul (bytecode & ireland.mod). 2013-10-09 16:53:31 +02:00
Stéphane Adjemian (Charybdis) e28eaa1c18 Use dynare interface (maxit option). 2013-10-09 16:26:55 +02:00
Stéphane Adjemian (Charybdis) d8052342f3 Fixed bug introduced in cc0d9b42f0 (bytecode.cc).
Problem when reading nested structures.
2013-10-09 16:26:29 +02:00
Stéphane Adjemian (Charybdis) f3334357a5 Merge branch 'master' into maxit 2013-10-09 15:43:43 +02:00
Stéphane Adjemian (Charybdis) 6d71f76762 Renamed options_.solve_maxit as options_.simul.maxit 2013-10-09 15:38:35 +02:00
Stéphane Adjemian (Charybdis) 969fe3c209 Renamed options_.solve_maxit as options_.steady.maxit. 2013-10-09 15:38:07 +02:00
Stéphane Adjemian (Charybdis) bde961feca Renamed options_.solve_maxit as options_.dp.maxit. 2013-10-09 15:37:21 +02:00
Stéphane Adjemian (Charybdis) 99b6326540 Same as 38712d987c. 2013-10-09 15:31:48 +02:00
Stéphane Adjemian (Charybdis) 38712d987c Renamed options_.solve_maxit as options_.simul.maxit in det_cond_forecast.
Probably needs another option name...
2013-10-09 15:21:32 +02:00
Houtan Bastani bcc883edad gitignore: exclude macro-expanded mod files 2013-10-09 14:45:34 +02:00
Houtan Bastani d08fdb675d reporting: fix syntax for dynSeries change 2013-10-09 14:43:43 +02:00
Stéphane Adjemian (Charybdis) 5625900214 Changed name of some occurences of options_.solve_maxit as options_.simul.maxit. 2013-10-09 14:07:15 +02:00
Michel Juillard 0264a6b055 adding a function dynDates@decimal(dd) that transforms dynDates into a vector of double
where the integer part represents the period and the fractional part
the subperiod. Maybe we could think of a better name for the function.
2013-10-09 13:43:27 +02:00
Stéphane Adjemian (Charybdis) cc0d9b42f0 Changed name of options_.maxit as options_.simul.maxit. 2013-10-09 13:06:06 +02:00
Stéphane Adjemian (Charybdis) 28740370e6 Removed general maxit from options_ (maxit_). 2013-10-09 12:32:37 +02:00
Michel Juillard 0ac8f4e5b1 dynSeries: fixed size of 'time' field 2013-10-09 12:29:45 +02:00
Michel Juillard af62f3e35d dynSeries: update 'time' field in align() 2013-10-09 12:28:52 +02:00
Stéphane Adjemian (Charybdis) 8997ae8a70 Merge branch 'master' into maxit 2013-10-09 12:19:17 +02:00
Sébastien Villemot 40a4678afd Merge pull request #490 from JohannesPfeifer/more_explicit_message_file_not_found
Add more explicit error message if mod-file cannot be located of file in...
2013-10-09 01:41:52 -07:00
Johannes Pfeifer 3dd62b37c6 Add more explicit error message if mod-file cannot be located of file in different folder is called 2013-10-09 10:22:44 +02:00
Stéphane Adjemian (Charybdis) c660219188 Fixes #493. 2013-10-08 17:37:36 +02:00
Stéphane Adjemian (Charybdis) 90d8efd147 Added unitary test. 2013-10-08 17:21:17 +02:00
Stéphane Adjemian (Charybdis) 2967328bb0 Changed behaviour of dynSeries objects.
Let ts be a dynSeries object. The following syntaxes are equivalent:

a = ts.lead
a = ts(1)

b = ts.lag(2)
b = ts(-2)

Advantage: If (some of) the variables used in the model block are known as dynSeries in matlab's workspace, then we can create new dynSeries objects with simple copy/pastes of the model's equations (because dynSeries objects understands leads and lags as Dynare's preprocessor).
2013-10-08 17:21:07 +02:00
Stéphane Adjemian (Charybdis) 3a7fa012a8 Merge branch 'master' into set-optimization-options 2013-10-08 16:29:25 +02:00
Stéphane Adjemian (Charybdis) 137662d5b2 Fixed typo. 2013-10-08 16:26:56 +02:00
Stéphane Adjemian (Charybdis) 0157127d05 Document some of the options for cmaes. 2013-10-08 16:26:49 +02:00
Stéphane Adjemian (Charybdis) 1f884db8ea If TolX is set to any negative number, let cmaes choose the value of TolX. 2013-10-08 16:18:54 +02:00
Stéphane Adjemian (Charybdis) 6a250f894d Removed interface for H0 (cmaes). 2013-10-08 16:18:00 +02:00
Stéphane Adjemian (Charybdis) 8d8407f906 Changed default options for cmaes (reduced tolfun and tolx). 2013-10-08 15:56:14 +02:00
Stéphane Adjemian (Charybdis) 0f12404246 Added interface for some options of cmaes. 2013-10-08 15:53:55 +02:00
Stéphane Adjemian (Charybdis) 5e63aa10da Added documentation about the options of the simpsa algorithm. 2013-10-08 15:28:26 +02:00
Stéphane Adjemian (Charybdis) 334d9976d6 Add interface to the main options of the simpsa optimization algorithm. 2013-10-08 15:18:14 +02:00
Stéphane Adjemian (Charybdis) 36b69355f2 Added a routine to copy options organized in struct into a cell. 2013-10-08 15:17:18 +02:00
Stéphane Adjemian (Charybdis) 75fb6afa61 Added documentation about the options of the simplex optimization routine (mode_compute=8). 2013-10-08 15:15:58 +02:00
Stéphane Adjemian (Charybdis) 60e1d1b75e Changed the organization of the options for the dynare's implementation of the simplex optimization algorithm. 2013-10-08 12:55:11 +02:00
Stéphane Adjemian (Charybdis) b01aee4daf Changed the default value for the maximum number of iterations (defined in the dynare'es implementation of the simplex optimization algorithm). 2013-10-08 12:53:19 +02:00
Stéphane Adjemian (Charybdis) f5c9621ca9 Changed the definition of the maximum number of function evaluations in dynare'es iplementation of simplex algorithm (mode_compute=8). 2013-10-08 11:11:35 +02:00
Stéphane Adjemian (Charybdis) 842277447c Added comment. 2013-10-08 11:06:23 +02:00
Stéphane Adjemian (Charybdis) c7d82e0bf0 Do not print H0. 2013-10-08 11:02:46 +02:00