I have installed SCS solver and combiled it. Then, I installed CVX 3.0b. The SCS solver now exists in the list of solvers.
I run this problem using SeDuMi and it gets solved
cvx_solver SeDuMi
N=10;
a=randn(N,1);
b=randn(N,1);
A=a*a’;
B=b*b’;
cvx_begin
variable X(N,N) complex semidefinite
maximize( log(trace(A*X))-trace(B*X) )
subject to
trace(X)==1
X == hermitian_semidefinite(N)
cvx_end
However, when I change the solver to SCS (cvx_solver SCS), I get the following error
Calling SCS 1.0: 424 variables, 103
equality constraints
------------------------------------------------------------ Status: Error Optimal value
(cvx_optval): NaN
Reference to non-existent field ‘prec’.
Error in cvx_scs>solve (line 144)
prec = params.prec;
Error in cvx_solve (line 405)
[ x, status, tprec, iters ] = shim.solve( At, b, c, cones, params );
Error in cvx_finish (line 57)
[ status, result, bound, iters, tol ] = cvx_solve;
Error in cvx_end (line 11)
evalin( ‘caller’, ‘cvx_finish’ );
Error in Untitled (line 15)
cvx_end
Please, Can anyone help ?