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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
Stéphane Adjemian
dynare
Commits
3773e87d
Commit
3773e87d
authored
10 years ago
by
Johannes Pfeifer
Browse files
Options
Downloads
Patches
Plain Diff
Add initial values to prevent unit test from crashing due to numerical inaccuracy.
(cherry picked from commit
1ac96c68
)
parent
b0bf5848
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/optimal_policy/osr_example_objective_correctness.mod
+6
-6
6 additions, 6 deletions
tests/optimal_policy/osr_example_objective_correctness.mod
with
6 additions
and
6 deletions
tests/optimal_policy/osr_example_objective_correctness.mod
+
6
−
6
View file @
3773e87d
...
@@ -26,7 +26,7 @@ end;
...
@@ -26,7 +26,7 @@ end;
options_.nograph=1;
options_.nograph=1;
options_.nocorr=1;
options_.nocorr=1;
options_.osr.tolf=1e-
15
;
options_.osr.tolf=1e-
20
;
osr_params gammax0 gammac0 gamma_y_ gamma_inf_;
osr_params gammax0 gammac0 gamma_y_ gamma_inf_;
...
@@ -65,10 +65,10 @@ if abs(oo_.osr.objective_function-objective)>1e-8
...
@@ -65,10 +65,10 @@ if abs(oo_.osr.objective_function-objective)>1e-8
error('Objective Function is wrong')
error('Objective Function is wrong')
end
end
%
gammax0=
3.94954
;
gammax0=
1.35533
;
%
gammac0=
4.39418
;
gammac0=
1.39664
;
%
gamma_y_=
16.666
4
;
gamma_y_=16.666
7
;
%
gamma_inf_=
8.28523
;
gamma_inf_=
9.13199
;
%redo computation with double weight on one covariance
%redo computation with double weight on one covariance
optim_weights;
optim_weights;
...
...
This diff is collapsed.
Click to expand it.
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