Here is my code:

cvx_begin

variable mat(2,2) complex semidefinite

maximize(log_det(mat))

subject to

trace(mat) <= 1;

cvx_end

which is definitely a convex problem with a solution. However what I get is always as follows:

## Successive approximation method to be employed.

SDPT3 will be called several times to refine the solution.

Original size: 49 variables, 11 equality constraints

1 exponentials add 7 variables, 4 equality constraints

## Cones | Errors |

Mov/Act | Centering Exp cone Poly cone | Status

--------±--------------------------------±--------

0/ 0 | 0.000e+00 0.000e+00 0.000e+00 | Unbounded

Status: Unbounded

Optimal value (cvx_optval): +Inf

PS:my cvx version is 3.0beta. I tried the code on other PC with 3.0beta but get a right solution !!

I don’t know where the problem is.