I cannot use log_det anymore with cvx and matlab version 2024a.
Even this fails:
cvx_clear
cvx_begin
variable X(n,n) semidefinite
maximize log_det(X)
%subject to
%trace(X*a) == 10;
%X = X’;
%X >= 0;
cvx_end
I get
ncorrect number or types of inputs or outputs for function vec.
Error in cvx/sparsify>replcols (line 142)
cvx___.readonly( ndxs ) = vec( cvx_readlevel( bN ) );
Error in cvx/sparsify (line 105)
[ x, forms, repls ] = replcols( x, tt, ‘none’, forms, repls, isobj );
Error in cvx_end (line 212)
x = sparsify( x, ‘objective’ );
Error in cvx/det_rootn (line 32)
cvx_end
Error in log_det (line 28)
cvx_optval = size(X,1)*log(det_rootn(X));
Error in maximize (line 14)
x = evalin( ‘caller’, sprintf( '%s ', varargin{:} ) );