Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dynare
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dynare
dynare
Commits
7f3bc60c
Verified
Commit
7f3bc60c
authored
3 years ago
by
Willi Mutschler
Browse files
Options
Downloads
Patches
Plain Diff
lsqnonlin only supported for method_of_moments
parent
67d781f5
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!1989
lsqnonlin only supported for method_of_moments
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/manual/source/the-model-file.rst
+1
-1
1 addition, 1 deletion
doc/manual/source/the-model-file.rst
matlab/optimization/dynare_minimize_objective.m
+3
-0
3 additions, 0 deletions
matlab/optimization/dynare_minimize_objective.m
with
4 additions
and
1 deletion
doc/manual/source/the-model-file.rst
+
1
−
1
View file @
7f3bc60c
...
...
@@ -6102,7 +6102,7 @@ block decomposition of the model (see :opt:`block`).
routine (available under MATLAB if the Optimization Toolbox is
installed; available under Octave if the `optim
<https://octave.sourceforge.io/optim/>`__ package from
Octave-Forge is installed).
Octave-Forge is installed).
Only supported for ``method_of_moments``.
``101``
...
...
This diff is collapsed.
Click to expand it.
matlab/optimization/dynare_minimize_objective.m
+
3
−
0
View file @
7f3bc60c
...
...
@@ -542,6 +542,9 @@ switch minimizer_algorithm
opt_par_values
=
opt_par_values
(:);
case
13
% Matlab's lsqnonlin (Optimization toolbox needed).
if
~
isfield
(
options_
,
'mom'
)
error
(
'Option mode_compute=13 is available only for method_of_moments estimation.'
)
end
if
isoctave
&&
~
user_has_octave_forge_package
(
'optim'
)
error
(
'Option mode_compute=13 requires the optim package'
)
elseif
~
isoctave
&&
~
user_has_matlab_license
(
'optimization_toolbox'
)
...
...
This diff is collapsed.
Click to expand it.
Willi Mutschler
@wmutschl
mentioned in commit
76a0b622
·
3 years ago
mentioned in commit
76a0b622
mentioned in commit 76a0b6227e0894ae12aa5bcc33548d59ea96f3b0
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment