Hi everyone,
I hope this message finds you well. I am currently trying to run the D-optimal example provided on the cvx website at the following link: http://web.cvxr.com/cvx/examples/cvxbook/Ch07_statistical_estim/expdesign.m
However, I am encountering an issue when running the code, and I could use some assistance in resolving it. The error message I am receiving is as follows:
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 cvx_boyd (line 30)
maximize ( log_det( V*diag(lambda)*V' ) ).
I would be extremely grateful if someone could kindly guide me on how to fix this issue and successfully run the code. Your support and expertise are highly valued.
Thank you very much in advance for your help!