# Homotopy algorithm

**URL:** <https://forum.dynare.org/t/homotopy-algorithm/6238>\
**Category:** Dynare help (legacy posts)\
**Created:** [29 May 2017 15:13 UTC](https://forum.dynare.org/t/homotopy-algorithm/6238 "2017-05-29T15:13:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mricci](https://forum.dynare.org/letter_avatar_proxy/v4/letter/m/df705f/32.png) [@mricci](https://forum.dynare.org/u/mricci)\
**Post date:** [29 May 2017 15:13 UTC](https://forum.dynare.org/t/homotopy-algorithm/6238/1 "2017-05-29T15:13:04Z")

</div>

Hello,

I have a question relative to the homotopy algorithm used by the unstable version of Dynare to solve perfect-foresight models.

I am running a code which calls Dynare in a cycle solving my model under different calibrations.  
I would like to keep track of when the homotopy algorithm fails in solving my model. I was therefore wondering in which Dynare variable/structure is  
this information stored?

Thanks in advance for your time

Mattia

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [29 May 2017 16:30 UTC](https://forum.dynare.org/t/homotopy-algorithm/6238/2 "2017-05-29T16:30:21Z")

</div>

If it faisl

```auto

```
