Hi everyone.

I am trying to implement a rather simple SDP coming from quantum information.

In the code below the matrices R and linconst come from other computations and will in general change. As a matter of fact for many instances of the problem CVX gives correct results (I can provide examples if needed).

Note that the matrix R is complex valued.

Unfortunately, in many other instances CVX gives a completely wrong result, for example with the data in this file.

A minimal version of the code to reproduce the problem is the following, I provide the YALMIP version as well, which gives me the correct result.

I know that the YALMIP result is correct also from other external considerations.

I have tried with other solvers: both sedumi and spdt3 give the same result.

```
% CVX
cvx_solver mosek
cvx_begin sdp
variable V(2,2) symmetric
variable X(8,2)
minimize trace(V)
subject to
[ V , X'*R' ; R*X , eye(6)] >= 0
linconst*X==eye(2)
cvx_end
cvxRes=cvx_optval;
% Yalmip
V=sdpvar(2,2);
X=sdpvar(8,2,'full');
Constraints = [[ V , X'*R' ; R*X , eye(6)] >= 0,linconst*X==eye(2)];
Objective = trace(V);
options = sdpsettings('verbose',1,'solver','mosek');
s ol = optimize(Constraints,Objective,options);
YalmipRes=value(Objective);
cvxRes-YalmipRes %this should be close to zero instead it about 91!
```

Output of cvx_version:

```
---------------------------------------------------------------------------
CVX: Software for Disciplined Convex Programming (c)2014 CVX Research
Version 2.1, Build 1123 (cff5298) Sun Dec 17 18:58:10 2017
---------------------------------------------------------------------------
Installation info:
Path: /home/francesco/Downloads/cvx-a64/cvx
MATLAB version: 9.5 (R2018b)
OS: Linux amd64 version 4.18.0-16-generic
Java version: 1.8.0_152
Verfying CVX directory contents:
No missing files.
Preferences:
Path: /home/francesco/.matlab/cvx_prefs.mat
License host:
Username: francesco
Host ID: 989096e19379 (eno1)
Installed license:
Also in file: /home/francesco/Documents/MATLAB/cvx_license.dat
Organization: The University of Warwick
Contact: ----
License type: academic
Named user: francesco
Host ID: 989096e19379
Expiration: 2019-10-31 (226 days remaining)
Status: verified
---------------------------------------------------------------------------
```

Is it safe to say this is a bug? Should I file a report?

Thanks.