-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheck.jl
42 lines (31 loc) · 1.05 KB
/
check.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import DoloYAML
model = DoloYAML.yaml_import("examples/consumption_savings_iid.yaml");
mmodel = DoloYAML.orphan(model)
isbits(mmodel)
dmodel = Dolo.discretize(model)
sol = Dolo.time_iteration(model);
model = DoloYAML.yaml_import("examples/rbc_iid.yaml");
mmodel = DoloYAML.orphan(model)
isbits(mmodel)
dmodel = Dolo.discretize(model)
sol = Dolo.time_iteration(model);
model = DoloYAML.yaml_import("examples/rbc_mc.yaml");
mmodel = DoloYAML.orphan(model)
isbits(mmodel)
dmodel = Dolo.discretize(model)
sol = Dolo.time_iteration(model);
model = DoloYAML.yaml_import("examples/sudden_stop.yaml");
mmodel = DoloYAML.orphan(model)
isbits(mmodel)
dmodel = Dolo.discretize(model)
sol = Dolo.time_iteration(model);
model = DoloYAML.yaml_import("examples/neoclassical.yaml");
mmodel = DoloYAML.orphan(model)
isbits(mmodel)
dmodel = Dolo.discretize(model)
sol = Dolo.time_iteration(model,verbose=false);
model = DoloYAML.yaml_import("examples/rbc_ar1.yaml");
mmodel = DoloYAML.orphan(model)
isbits(mmodel)
dmodel = Dolo.discretize(model)
sol = Dolo.time_iteration(model);