tabindex="-1" role="main">
          <div class="page-inner">

            <section class="normal" id="section-">

<div>
This is an old version, <a href="https://mc-stan.org/docs/reference-manual/optimization.html">view current version</a>.
</div>
<div id="optimization-algorithms.chapter" class="section level1" number="17">
<h1><span class="header-section-number">17</span> Optimization</h1>
<p>Stan provides optimization algorithms which find modes of the density
specified by a Stan program. Such modes may b