;
    subject to
        abs( x ) &lt;= w + v;
        w &lt;= 1; v &gt;= 0;
cvx_end
</pre></div>
</div>
<p>This version of <tt class="docutils literal"><span class="pre">huber</span></tt> will in effect create <tt class="docutils literal"><span class="pre">sx</span></tt> &#8220;instances&#8221; of
the problem in parallel; and when used in a CVX specification, will
be handled correctly.</p>
<p>The second issue is that if the input to <tt class="docutils literal"><span class="pre">huber</span></tt> is numeri