Commit Graph

151 Commits (cb411e5642ecd6978c86d4ad3dfca15fa840c913)

Author SHA1 Message Date
Houtan Bastani 4087bb5891 preprocessor: json: print steady_state_model file 2017-10-17 11:09:24 +02:00
Houtan Bastani 6c9c01fe09 preprocessor: add missing fill! statements to static/dynamic functions 2017-10-02 11:14:35 +02:00
Houtan Bastani b398b379fc preprocessor: perpetuate nopreprocessoroutput option to preprocessor code #1390 2017-09-28 14:58:25 +02:00
Houtan Bastani d23a684bf6 preprocessor: add write_latex_steady_steade_model command. Closes #1496 2017-08-30 14:30:06 +02:00
Houtan Bastani 85ab36750e preprocessor: only create *set_auxiliary_variables.m file if there will be something in it. Closes #1384 2017-08-29 14:44:52 +02:00
Houtan Bastani 48d6155dbc preprocessor: add write_equation_tags option to write_latex_original_model and write_latex_static_model. closes #1431 2017-08-24 16:10:53 +02:00
Houtan Bastani 955fb4f003 preprocessor: print JSON deriv detail by default; use option to print less-detailed versions of dynamic/static models 2017-06-29 13:08:41 +02:00
Sébastien Villemot ec561138d4 Fix various typos (thanks lintian). 2017-06-28 15:06:54 +02:00
Stéphane Adjemian (Charybdis) 51feda7d02 Fixed code indentation. 2017-06-14 07:01:31 +02:00
Houtan Bastani 746f88eb6e preprocessor: create two different static and dynamic files with the option jsonprintderivdetail. #1387 2017-03-03 14:42:37 +01:00
Houtan Bastani 1b3cccb602 Merge branch 'master' into json 2017-03-03 14:42:25 +01:00
Houtan Bastani 5fbadbadd3 preprocessor: make JSON output start counting at 1 instead of 0. #1387 2017-03-02 17:34:34 +01:00
Houtan Bastani fc48bf26b9 preprocessor: write error messages to cerr instead of cout, replace \n with endl 2017-03-01 12:44:31 +01:00
Houtan Bastani 301c9691d9 preprocessor: JSON output aesthetic fixes, support planner objective. #1387 2017-02-27 15:40:34 +01:00
Houtan Bastani 915bea91a1 preprocessor: output JSON after different steps, write static, dynamic, params derivs files in JSON. #1387 2017-02-24 17:43:22 +01:00
Houtan Bastani ad84914118 preprocessor: for consistency, use equations.size() instead of equation_number() in classes that have equations as a field 2017-02-24 11:20:54 +01:00
Houtan Bastani a8cb5d7e61 fix nested parens for params derivatives. closes #1201 2017-01-05 18:19:37 +01:00
Houtan Bastani a14fdd204f when >32 nested parens encountered in matlab, print error message once per file in which such a situation occurred. #1201 2017-01-05 15:19:13 +01:00
Houtan Bastani eac97a8f49 first iteration of fix for nested parenthesis in matlab. #1201 2016-12-30 18:14:08 +01:00
Houtan Bastani 486891e75f bug fix: end preprocessing with error when more than 32 nested parenthesis are encountered. closes #1201 2016-12-28 14:02:50 +01:00
Houtan Bastani b2963ae558 preprocessor: define var for normcdf + msvc. #1259 2016-10-17 14:59:07 +02:00
Houtan Bastani 61b2be2a2c preprocessor: add normcdf for MSVC. closes #1259 2016-10-14 16:11:44 +02:00
Houtan Bastani 2385b7b5c1 preprocessor: clean up writePowerDeriv code. it only writes C code, so no need for use_dll argument 2016-10-14 14:30:14 +02:00
Houtan Bastani 01552008ba preprocessor: issue error when exogenous included in planner_objective. closes #1264 2016-08-12 11:50:57 +02:00
Houtan Bastani 77c8a41514 preprocessor: fix bug in writing of temporary terms. closes #1201 2016-06-01 15:29:10 +02:00
Stéphane Adjemian (Hermes) eadd35061f Bug fix in assert (Julia output)
Same as 4b830d29ed2d230908a1a5ec1c7badd29c7dc86a but for static model.
2016-05-23 13:48:19 +02:00
Houtan Bastani 323fe8d41a preprocessor: replace no_2nd_order_params_derivs with params_deriv_order. #1187 2016-05-18 12:26:19 +02:00
Houtan Bastani 48928c61ce Revert "preprocessor: add params_derivs_order to identification and sensitivity. #1187"
This reverts commit 6192a6a7765e7bde388f4a6feac4362d1e9fd284.
2016-05-18 10:33:45 +02:00
Houtan Bastani b898bfea6e preprocessor: add params_derivs_order to identification and sensitivity. #1187 2016-05-17 17:18:16 +02:00
Houtan Bastani 0b922739a6 preprocessor: only compute first order derivatives w.r.t. parameters with identification. closes #1187 2016-05-12 12:02:34 +02:00
Houtan Bastani 4462591347 fix copyright dates 2016-05-04 16:05:31 +02:00
Michel Juillard aa12dc6d5b fixed issue with auxiliary variables and external function 2016-04-09 09:23:17 +02:00
Stéphane Adjemian 0979b3464e Merge pull request #1152 from JohannesPfeifer/headers
Cosmetic changes to various function headers
2016-04-08 23:29:16 +02:00
Michel Juillard 8ed19b668c simplify writing of auxiliary variables definitions
This will fail if external function are used in
auxiliary variables definition
2016-04-08 09:33:57 +02:00
Michel Juillard 6f4d12c3f4 fixed bug with external function introduced in the
refactoring to the _static file
2016-04-07 18:27:44 +02:00
Michel Juillard da63d21f0d fixing problems with Ramsey policy and auxiliary variables 2016-04-04 17:11:03 +02:00
Michel Juillard e5cee0fdd7 build full static model for analytical derivatives
estimation code
2016-04-01 18:45:19 +02:00
Michel Juillard 32fb90d5f3 completing replacement of auxiliary variables in static model 2016-04-01 18:45:19 +02:00
Michel Juillard 1b4f68f934 replacing auxiliary variables by their definition
in static model. Doesn't work right yet.
2016-04-01 18:45:19 +02:00
Johannes Pfeifer 62eb7e7443 Add headers for param_derivs-files 2016-03-29 15:57:49 +02:00
Houtan Bastani 3117bf79f2 preprocessor: fix scoping problem with temporary variables 2015-09-04 15:28:06 +02:00
Houtan Bastani 0f75ddbd64 replace cend with end and cbegin with begin 2015-09-03 16:06:37 +02:00
Houtan Bastani 13be25314e preprocessor: rework temporary terms 2015-09-03 15:25:36 +02:00
Houtan Bastani c35938929f remove fill!(residual, 0.0) statements as all elements of residual are assigned to 2015-08-21 17:13:38 +02:00
Houtan Bastani 5c0c9efd6f add @inbounds to model equations, temporary vars, and model vars 2015-08-21 17:13:38 +02:00
Houtan Bastani 4a4a4c1d54 clean up printing 2015-08-21 17:13:32 +02:00
Houtan Bastani 34e649afc7 add assertions at beginning of function call 2015-08-21 12:05:38 +02:00
Houtan Bastani fb51517ac7 fix comments in generated files 2015-08-21 12:00:47 +02:00
Houtan Bastani c1d3b521ed update static & dynamic function comments 2015-08-20 15:28:32 +02:00
Houtan Bastani 5789d1f33b check function output argument sizes 2015-08-20 15:26:10 +02:00