> – <ul class="simple">
<li><p>If <cite>X.shape[1] != self.input_dim</cite></p></li>
<li><p>If <cite>X.shape[0] != y.shape[0]</cite></p></li>
<li><p>If optimization fails (problem infeasible/solver error)</p></li>
<li><p>If <cite>control_name</cite> indices exceed feature dimensions</p></li>
</ul>
</p>
</dd>
</dl>
<dl>
<dt>Example:</dt><dd><div class="doctest highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="n">model</span> <span clas