Commit Graph

133 Commits (7dd2dd5e24a343fbeaf3522ea5e535c27d8b9f95)

Author SHA1 Message Date
Michel Juillard cf858c7fcb remove global objective_function_penalty_base 2015-10-08 20:57:00 +02:00
Michel Juillard 3966296aca adapted dsge-var code for new handling of penalties 2015-10-08 20:57:00 +02:00
Michel Juillard b9e535e99e adding new functions for penalty optimization 2015-10-08 20:57:00 +02:00
Michel Juillard 5ade8d7c6f removed global objective_function_penalty_base
added penalty_objective_function.m and penalty_hessian.m
2015-10-08 20:57:00 +02:00
Stéphane Adjemian (Charybdis) 489bffdfd8 Fixed option names for mode_compute=6. 2015-10-06 11:34:56 +02:00
Johannes Pfeifer 3bf13dd53b Add functionality for TaRB 2015-06-08 16:44:44 +02:00
Johannes Pfeifer 0769fd1cce Add verbosity and SaveFile options to some optimizers
Also moves additional optimizer-related files to corresponding subfolder
Closes #894
2015-06-08 16:44:44 +02:00
Stéphane Adjemian (Hermes) b53578dc80 Completed description of minimizer_algorithm input argument. 2015-06-01 16:42:02 +02:00
Johannes Pfeifer 05635a4546 Change dynare_minimize_objective.m to use the correct field when selecting user-defined optimizer. 2015-06-01 16:42:02 +02:00
Johannes Pfeifer cb1fc3ec3c Lift unnecessary restriction of not allowing simpsa with infinite bounds
Introduction of options_.huge_number makes this redundant
2015-05-13 20:33:14 +02:00
Stéphane Adjemian (Hermes) f960e7bb68 Merged branch simpsa-inf-fix. 2015-05-07 16:01:43 +02:00
Stéphane Adjemian (Hermes) 6d0dfc2d3f Do not use hard coded value for the finite interval replacing unbounded intervals in simpsa and simulated annealing algorithms. 2015-05-07 15:59:46 +02:00
Stéphane Adjemian f26cec2430 Merge pull request #904 from JohannesPfeifer/mode_compute7_octave
Fix compatibility of mode_compute=7
2015-05-07 15:16:15 +02:00
Johannes Pfeifer 9408319e48 Cosmetic changes related to solvopt.m 2015-04-24 12:31:27 +02:00
Johannes Pfeifer 8eaa645800 Fix compatibility of mode_compute=7
Uses wrapper as for mode_compute=3 to restore to conform to Octave syntax
2015-04-22 11:08:32 +02:00
Johannes Pfeifer c6c5cd8ce8 Allow Inf bounds in simpsa by replacing them with big finite number
Closes #585
2015-04-21 16:26:46 +02:00
Johannes Pfeifer bc6cf0345f Clean up csminwel1.m
Adds documentation and puts calling of numerical gradient to nested function as previously suggested in comment at the bottom of file
2015-04-17 07:05:01 +02:00
Johannes Pfeifer b629d3ca19 Cosmetic changes to csminwel routines
Mostly adds documentation
2015-04-17 07:05:00 +02:00
Johannes Pfeifer 84f0060cbd Fix bug where inverse Hessian from csminwel1.m was taken as Hessian 2015-04-17 07:05:00 +02:00
Stéphane Adjemian (Charybdis) f0770186ca Exhanged mode_compute=2 and mode_compute=102.
These options are for the simulated annealing algorithm, the Mathworks' global optimization
toolbox is mandatory for mode_compute=102. The first option relies on a
free implementation (works also with Octave).
2015-04-15 12:42:08 +02:00
Johannes Pfeifer 49d4643481 Fix copy and paste typo in gmhmaxlik.m 2015-04-06 12:04:11 +02:00
Johannes Pfeifer d1a80acb44 Replace non-available simulated annealing by Matlab's routine
Closes #814
2015-04-06 11:28:32 +02:00
Johannes Pfeifer 39ed3eb3f0 Fix bugs related to allowing mode_compute to be a string
Crashes otherwise
2015-04-06 11:24:42 +02:00
Johannes Pfeifer a81c9da9a2 Add simulated_annealing.m to optimizers
Restores compatibility of mode_compute=102
2015-04-06 11:08:20 +02:00
Johannes Pfeifer 405b1f7368 Add solvopt.m to Dynare optimizers
Restores compatibility of mode_compute=101
2015-04-06 11:05:12 +02:00
Marco Ratto 214dc74723 - Fixed bugs around analytic derivation.
- Fixed test routine, eliminating diffuse filter.
- Trapped incompatibility of diffuse filter with analytic derivation.
2015-04-01 09:00:51 +02:00
Marco Ratto c881cfff17 Fixed issues related to newratflag.
This options relates to alternative numerical hessian computations:

optim=('Hessian',1) is the default dynare numeric Hessian
optim=('Hessian',0) is the outer product gradient
optim=('Hessian',2) is the 'mixed' outer product gradient, where diagonal elements using second order derivation formula,

Both 0 and 2 cases require univariate filters, to ensure using maximum number of individual densities.
2015-03-12 17:24:21 +01:00
Stéphane Adjemian (Charybdis) 392486273e Fixed bug (options_.optim_opt is now initialized as an empty array). 2015-02-26 08:43:30 +01:00
Stéphane Adjemian (Charybdis) 83981125c9 Added missing routine and fixed licence header. 2015-02-24 20:42:19 +01:00
Stéphane Adjemian (Charybdis) 5ef340b8cf Rewrote gmhmaxlik routine (mode_compute==6). 2015-02-24 20:34:35 +01:00
Stéphane Adjemian (Charybdis) fac1d206ab Use new wrapper for optimization algorithms when maximizing the prior density. 2015-02-23 18:26:34 +01:00
Stéphane Adjemian (Charybdis) 0ffb9dd6e2 Changed order of the input arguments in dynare_mimimize_objective.
It is more standard to have the name of the routine (defining the
objective to be minimized) as a first argument.
2015-02-23 14:35:41 +01:00
Stéphane Adjemian (Charybdis) beb7826376 Moved optimization related routines in a common subfolder. 2015-02-23 14:26:07 +01:00