n two consecutive optimizations for all annealings and</span>
<span class="sd">            the optimal one with minimum objective value (see paper).</span>
<span class="sd">        error_free_annealings : int</span>
<span class="sd">            Number of annealings that converged without error.</span>
<span class="sd">        &quot;&quot;&quot;</span>

        <span class="n">count_saved_ann</span> <span class="o">=</span> <span class="mi">0</span>
        <span class="c1"># initialize residuals (objective 