What does theis error mean?

Calling SeDuMi 1.3.4: 948 variables, 1 equality constraints


Status: Error
Optimal value (cvx_optval): NaN

Error using sparse
Index exceeds array bounds.

Error in pretransfo (line 444)
dblks = cumsum(full(sparse(1,istrt,1,1,sdpL)));

Error in sedumi (line 261)
[A,b,c,K,prep,origcoeff] = pretransfo(A,b,c,K,pars);

Error in cvx_run_solver (line 50)
[ varargout{1:nargout} ] = sfunc( inputs{:} );

Error in cvx_sedumi>solve (line 245)
[ xx, yy, info ] = cvx_run_solver( @sedumi, At, b, c, K, pars, ‘xx’, ‘yy’,
‘info’, settings, 5 );

Error in cvxprob/solve (line 435)
[ x, status, tprec, iters ] = shim.solve( At, b, c, cones, quiet,
prec, solv.settings, eargs{:} );

Error in cvx_end (line 88)
solve( prob );

Error in Collocated_MISO (line 183)
cvx_end

What s the output of cvx_version ?

Can you run any problem successfully in CVX? Have you tried cvx_solver sdpt3 ?

Try a fresh MATLAB session - maybe your current session got corrupted somehow. If that doesn’t eliminate the error, try removing all CVX directories from the MATLAB path, and reinstall CVX in a fresh MATLAB session. Make sure you install CVX 2.2

cvx version is CVX 2.2
Yes, I can run any problem.
I tried cvx_solver sdpt3 but this is the output doesn’t make sense:
Status: Unbounded
Optimal value (cvx_optval): -Inf

That output says that CVX/solver concluded the problem is unbounded. Try following the advice at https://yalmip.github.io/debuggingunbounded , which also applies to CVX.