readme.txt
Matlab code  for the  replication of  Figures 7 to 12 in  ``Multiple Equilibria in Open Economies with  Collateral Constraints,''   by Stephanie Schmitt-Grohé and Martín Uribe. 

The replication of the figures requires first running the program

run_constrained_ramsey_simu.m  

This program computes the policy functions and simulated data. It must be run only once. The output is 12 .mat files. It  took about 4.5 hours to run in 2019. 

After this step, the replication of the figures is as follows: 

Figure 7:  plotd.m
Figure 8: self_fulfilling_b.m
Figure 9: self_fulfilling_c.m
Figure 10: plotd_xi83.m 
Figure 11: plot_policy_dp.m
Figure 12: plot_policy_dp_xi83.m 