
        G == reshape( GG * [ 1 ; x ], n, n );
        C == reshape( CC * [ 1 ; x ], n, n );
        <span class="keyword">for</span> k = 1 : n,
            delay * G - C + sparse(k,k,delay,n,n) &gt;= 0;
        <span class="keyword">end</span>
        x &gt;= 0;
        x &lt;= wmax;
    cvx_end

    <span class="keyword">if</span> i &lt;= npts,
        areas(i) = cvx_optval;
    <span class="keyword">else</span>
        xareas(xi) = cvx_optval;
        sizes(:,xi) = x;

        <span class="comment">%</sp