OK, I will test it. I think I will also have to use the penalty and not the NaN for fval. Possibly I will commit also this fix later on. thanks Marco
On 9/17/2012 10:31 AM, Sébastien Villemot wrote:
Marco Rattomarco.ratto@jrc.ec.europa.eu writes:
I have just pushed a fix to the diffuse filter which I think is a bug.
When estimating models with unit roots, it can happen that for some combinations of deep params line search tries to violate the Blanchard Kahn condition passing through an additional spurious unit root which cannot be killed with the available data. The error message breaks the estimation, while the optimizer can be able to move away from that boundary and converge to a local optimum.
I would like to back port this to 4.3.1: do you agree?
If this change is a bugfix, then it should be backported.
Dev mailing list Dev@dynare.org https://www.dynare.org/cgi-bin/mailman/listinfo/dev