Dynare++ questtion - nonconvergence
Posted: Thu Dec 08, 2016 3:09 pm
Hi,
I'm trying to run a (fairly large) model on Dynare++. The model file runs fine on standard dynare ( version 4.3.3 used with matlab 2015b) using stoch_simul (se end of attached .mod file), although it takes som time, say 5 minutes. However, when trying to run the file in dynare++ I get the following error message:
Caught dynare exception: dynare3.cpp:172: could not obtain convergence in non-linear solver.
The starting values have been solved using a matlab file, so they should be correct (the resid command in standard dynare gives a bunch of zeros).
When looking at the jnl-file, iterations ends at 500 after running dynare++, so presumably I've hit the maximum number of iterations constraint. However, it solved fine using standard dynare. The solver could perhaps be different in dynare (I've tried the baseline and solution algorithm number 1) and dynare++, (althugh the initial values are the solution, so it should be able to solve in dynare++ as well, I think).
Does anyone have an idea about what could be the problem?
Many thanks
Andreas Westermark
I'm trying to run a (fairly large) model on Dynare++. The model file runs fine on standard dynare ( version 4.3.3 used with matlab 2015b) using stoch_simul (se end of attached .mod file), although it takes som time, say 5 minutes. However, when trying to run the file in dynare++ I get the following error message:
Caught dynare exception: dynare3.cpp:172: could not obtain convergence in non-linear solver.
The starting values have been solved using a matlab file, so they should be correct (the resid command in standard dynare gives a bunch of zeros).
When looking at the jnl-file, iterations ends at 500 after running dynare++, so presumably I've hit the maximum number of iterations constraint. However, it solved fine using standard dynare. The solver could perhaps be different in dynare (I've tried the baseline and solution algorithm number 1) and dynare++, (althugh the initial values are the solution, so it should be able to solve in dynare++ as well, I think).
Does anyone have an idea about what could be the problem?
Many thanks
Andreas Westermark