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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dynare
dynare
Merge requests
!797
Add initial values to prevent unit test from crashing due to numerical i...
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Add initial values to prevent unit test from crashing due to numerical i...
JohannesPfeifer:osr_unit_test
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Add initial values to prevent unit test from crashing due to numerical i...
Johannes Pfeifer
requested to merge
JohannesPfeifer:osr_unit_test
into
master
Nov 24, 2014
Overview
0
Commits
1
Pipelines
0
Changes
1
...naccuracy.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
1ac96c68
1 commit,
Sep 10, 2018
1 file
+
6
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
tests/optimal_policy/osr_example_objective_correctness.mod
+
6
−
6
View file @ 1ac96c68
Edit in single-file editor
Open in Web IDE
Show full file
@@ -26,7 +26,7 @@ end;
options_.nograph=1;
options_.nocorr=1;
options_.osr.tolf=1e-
15
;
options_.osr.tolf=1e-
20
;
osr_params gammax0 gammac0 gamma_y_ gamma_inf_;
@@ -65,11 +65,11 @@ if abs(oo_.osr.objective_function-objective)>1e-8
error('Objective Function is wrong')
end
%
gammax0=
3.94954
;
%
gammac0=
4.39418
;
%
gamma_y_=
16.666
4
;
%
gamma_inf_=
8.28523
;
gammax0=
1.35533
;
gammac0=
1.39664
;
gamma_y_=16.666
7
;
gamma_inf_=
9.13199
;
%redo computation with double weight on one covariance
optim_weights;
inflation 1;
Loading