>top_vertex</span> <span class="o">=</span> <span class="n">top_vertices</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span>

            <span class="c1"># Get  min and max function values</span>
            <span class="n">Lmin</span> <span class="o">=</span>  <span class="nb">min</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">f</span><span class="o">.</span><span class="n">values</span><span class="p">())</span>
            <s