pletion such that A is positive semidefinite and</span>
<span class="comment">% it has a maximum determinant out of all possible completions.</span>
<span class="comment">% This problem can be formulated as a log det (and det_rootn) problem.</span>
<span class="comment">%</span>
<span class="comment">% This is a numerical instance of the specified book exercise.</span>

<span class="comment">% problem size</span>
n = 4;

<span class="comment">% create and solve the problem</span>
cvx_begin <span class="stri