n><span class="p">,</span> <span class="n">T</span> <span class="o">=</span> <span class="n">resid_sq</span><span class="o">.</span><span class="n">shape</span>

            <span class="c1"># Create the linear solver with the GLOP backend.</span>
            <span class="n">solver</span> <span class="o">=</span> <span class="n">pywraplp</span><span class="o">.</span><span class="n">Solver</span><span class="o">.</span><span class="n">CreateSolver</span><span class="p">(</span><span class="s2">&quot;GLOP&qu