Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
1f884db8
Commit
1f884db8
authored
Oct 08, 2013
by
Stéphane Adjemian
Browse files
If TolX is set to any negative number, let cmaes choose the value of TolX.
parent
6a250f89
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/dynare_estimation_1.m
View file @
1f884db8
...
@@ -537,7 +537,12 @@ if ~isequal(options_.mode_compute,0) && ~options_.mh_posterior_mode_estimation
...
@@ -537,7 +537,12 @@ if ~isequal(options_.mode_compute,0) && ~options_.mh_posterior_mode_estimation
case
'
''
TolFun
''
'
case
'
''
TolFun
''
'
simpsaOptions
.
TOLFUN
=
str2double
(
options_list
{
2
*
(
o
-
1
)
+
2
});
simpsaOptions
.
TOLFUN
=
str2double
(
options_list
{
2
*
(
o
-
1
)
+
2
});
case
'
''
TolX
''
'
case
'
''
TolX
''
'
simpsaOptions
.
TOLX
=
str2double
(
options_list
{
2
*
(
o
-
1
)
+
2
});
tolx
=
str2double
(
options_list
{
2
*
(
o
-
1
)
+
2
});
if
tolx
<
0
simpsaOptions
=
rmfield
(
simpsaOptions
,
'TOLX'
);
% Let cmaes choose the default.
else
simpsaOptions
.
TOLX
=
tolx
;
end
case
'
''
EndTemparature
''
'
case
'
''
EndTemparature
''
'
simpsaOptions
.
TEMP_END
=
str2double
(
options_list
{
2
*
(
o
-
1
)
+
2
});
simpsaOptions
.
TEMP_END
=
str2double
(
options_list
{
2
*
(
o
-
1
)
+
2
});
case
'
''
MaxFunEvals
''
'
case
'
''
MaxFunEvals
''
'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment