 class="comment">% Analytic center</span>
cvx_begin
    variable <span class="string">x(n)</span>
    minimize <span class="string">-sum(log(b-A*x))</span>
    F*x == g
cvx_end

disp([<span class="string">'The analytic center of the set of linear inequalities and '</span> <span class="keyword">...</span>
      <span class="string">'equalities is: '</span>]);
disp(x);
</pre>
<a id="output"></a>
<pre class="codeoutput">
CVX Warning:
   Models involving "log" or other functions in the log, exp, and entropy
   