fzero in steady state file
Dear All, do you confirm that the only way to use solvers like fzero in st state computation is to write the external matlab steady state file, skipping the steady_state_model block? many thanks for your advice best Marco --- Marco Ratto, Finance and Economy Joint Research Centre European Commission, TP 361, 21027 ISPRA(VA), ITALY Tel: +39 0332 78 3794 Fax: +39 0332 78 5752, marco.ratto@ec.europa.eu
Hi Marco, no I don't confirm. The alternative is to put the code around the call to fzero in a separate Matlab function and call this function from the steday_state_model block. We can talk about it next week Best Michel Marco.RATTO@ec.europa.eu writes:
Dear All, do you confirm that the only way to use solvers like fzero in st state computation is to write the external matlab steady state file, skipping the steady_state_model block? many thanks for your advice best Marco --- Marco Ratto, Finance and Economy Joint Research Centre European Commission, TP 361, 21027 ISPRA(VA), ITALY Tel: +39 0332 78 3794 Fax: +39 0332 78 5752, marco.ratto@ec.europa.eu _______________________________________________ Dev mailing list Dev@dynare.org https://eris.dynare.org/cgi-bin/mailman/listinfo/dev
-- Michel Juillard
Hi Marco, I agree with Michel, you can encapsulate the call to the solver in an external function. Personally, I still prefer to use steady state file, where I can test the return flag of the nonlinear solver and exit nicely in case of problems. Best, Stéphane. Michel Juillard writes:
Hi Marco,
no I don't confirm. The alternative is to put the code around the call to fzero in a separate Matlab function and call this function from the steday_state_model block. We can talk about it next week
Best
Michel
Marco.RATTO@ec.europa.eu writes:
Dear All, do you confirm that the only way to use solvers like fzero in st state computation is to write the external matlab steady state file, skipping the steady_state_model block? many thanks for your advice best Marco --- Marco Ratto, Finance and Economy Joint Research Centre European Commission, TP 361, 21027 ISPRA(VA), ITALY Tel: +39 0332 78 3794 Fax: +39 0332 78 5752, marco.ratto@ec.europa.eu _______________________________________________ Dev mailing list Dev@dynare.org https://eris.dynare.org/cgi-bin/mailman/listinfo/dev
participants (3)
-
Marco.RATTO@ec.europa.eu -
Michel Juillard -
Stéphane Adjemian