Error using CHOL

I am running a minimization problem on CVX and I get the following error:

Error using chol
Algorithm did not succeed.
Internal error in library CHOLMOD.

Error in checkdepconstr (line 101)
[L.R,indef,L.perm] = chol(AAt,'vector');

Error in sqlpmain (line 92)
[At,b,y,indeprows,par.depconstr,feasible,par.AAt] = ...

Error in sqlp (line 242)

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

Error in cvx_sdpt3>solve (line 362)
[ obj, xx, y, zz, info ] = cvx_run_solver( @sqlp, blk, Avec, Cvec, b, OPTIONS, 'obj', 'x', 'y', 'z', 'info', settings, 5 ); %#ok

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

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

I don’t understand the cause. Can anyone help?


Perhaps a bug or non-robustness in SDPT3 or CHOLMOD, which it calls.

I suggest trying a different solver, such as SeDuMi, or Mosek, if you have it.

i don’t know whether you might have a numerically bad model which spurred the error.

Thanks… it works with Mosek, but MATLAB crashed with SeDuMi. Still need to figure out if its because of the model.