class="toc-active">
    <h2 id="toc-title">On this page</h2>
   
  <ul>
  <li><a href="#optimization" id="toc-optimization" class="nav-link active" data-scroll-target="#optimization">Optimization</a>
  <ul class="collapse">
  <li><a href="#jacobian-adjustments" id="toc-jacobian-adjustments" class="nav-link" data-scroll-target="#jacobian-adjustments">Jacobian adjustments</a></li>
  <li><a href="#optimization-algorithms" id="toc-optimization-algorithms" class="nav-link" data-scroll-target="#optimization-algor