pha = linspace(1.01,4,N);

fprintf(1,<span class="string">'Solving for the optimal tradeoff curve...\n'</span>);
min_area = zeros(N,1);
<span class="keyword">for</span> n = 1:N
  <span class="comment">% GP variables</span>
  fprintf( <span class="string">'alpha = %.2f ... '</span>, alpha(n) );
  cvx_begin <span class="string">gp</span> <span class="string">quiet</span>
    variables <span class="string">wa</span> <span class="string">wb</span> <span class="string">wc</span> <span class="string">wd</span> <s