I resolved the 0/0 eigenvalue problem, but Blanchard Kahn conditions fail to hold using the ramsey_policy function. I tried various timings of the variables, but nothing changes the outcome. If it is to do with the warning:
in the 'steady_state_model' block, variable 'PI' is not assigned a value
then how do I specify PI other than in the initval block? I also tried to initialise it in the steady_state_model block, but although the warning disappears, the BK conditions still don't hold (there is no stable equilibrium).
I doubt that this is an economic issue given that the file runs very smoothly with other MP rules (and as an example I included a simple Taylor rule in the .mod file below). The error also looks very similar to the ones observed in the 4.4.3 version of dynare even though I am using the unstable version:
Using 64-bit preprocessor
Starting Dynare (version 2016-04-24).
Starting preprocessing of the model file ...
Ramsey Problem: added 34 Multipliers.
Substitution of endo leads >= 2: added 1 auxiliary variables and equations.
Substitution of endo lags >= 2: added 1 auxiliary variables and equations.
Found 34 equation(s).
Found 71 FOC equation(s) for Ramsey Problem.
Evaluating expressions...done
Computing static model derivatives:
- order 1
Computing dynamic model derivatives:
- order 1
- order 2
Computing static model derivatives:
- order 1
- order 2
- order 3
Processing outputs ...
done
Preprocessing completed.
Warning: Rank deficient, rank = 33, tol = 2.256579e-10.
> In dyn_ramsey_static_dyn_ramsey_static_1 (line 152)
In dyn_ramsey_static>@(x)dyn_ramsey_static_1(x,M,options_,oo) (line 43)
In csolve (line 60)
In dyn_ramsey_static (line 58)
In evaluate_steady_state (line 120)
In resol (line 104)
In stoch_simul (line 83)
In ramsey_policy (line 25)
In fm_ramsey (line 578)
In dynare (line 223)
Warning: Rank deficient, rank = 33, tol = 2.256579e-10.
> In dyn_ramsey_static_dyn_ramsey_static_1 (line 152)
In dyn_ramsey_static>@(x)dyn_ramsey_static_1(x,M,options_,oo) (line 43)
In csolve (line 80)
In dyn_ramsey_static (line 58)
In evaluate_steady_state (line 120)
In resol (line 104)
In stoch_simul (line 83)
In ramsey_policy (line 25)
In fm_ramsey (line 578)
In dynare (line 223)
Warning: Rank deficient, rank = 33, tol = 2.256579e-10.
> In dyn_ramsey_static_dyn_ramsey_static_1 (line 152)
In dyn_ramsey_static>@(x)dyn_ramsey_static_1(x,M,options_,oo) (line 43)
In csolve (line 112)
In dyn_ramsey_static (line 58)
In evaluate_steady_state (line 120)
In resol (line 104)
In stoch_simul (line 83)
In ramsey_policy (line 25)
In fm_ramsey (line 578)
In dynare (line 223)
Warning: Rank deficient, rank = 33, tol = 2.256579e-10.
> In dyn_ramsey_static_dyn_ramsey_static_1 (line 152)
In dyn_ramsey_static>@(x)dyn_ramsey_static_1(x,M,options_,oo) (line 43)
In csolve (line 112)
In dyn_ramsey_static (line 58)
In evaluate_steady_state (line 120)
In resol (line 104)
In stoch_simul (line 83)
In ramsey_policy (line 25)
In fm_ramsey (line 578)
In dynare (line 223)
Warning: Rank deficient, rank = 33, tol = 2.256579e-10.
> In dyn_ramsey_static_dyn_ramsey_static_1 (line 152)
In dyn_ramsey_static>@(x)dyn_ramsey_static_1(x,M,options_,oo) (line 43)
In dyn_ramsey_static (line 70)
In evaluate_steady_state (line 120)
In resol (line 104)
In stoch_simul (line 83)
In ramsey_policy (line 25)
In fm_ramsey (line 578)
In dynare (line 223)
Error using print_info (line 42)
Blanchard Kahn conditions are not satisfied: no stable equilibrium
Error in stoch_simul (line 94)
print_info(info, options_.noprint, options_);
Error in ramsey_policy (line 25)
info = stoch_simul(var_list);
Error in fm_ramsey (line 578)
ramsey_policy(var_list_);
Error in dynare (line 223)
evalin('base',fname) ;
Is there anything that could possibly be wrong with my .mod file? Thanks