Hi,
have you known the reason behind this issue? I have a similar problem.
In particular, I have an optimization problem with a constraint which includes the log determinant of a matrix A, A is a linear combination of the PSD matrices and optimization scalar variables, as -log_det (A)<t, (t is a constant). Matlab always shows the same error as follows. I don’t understand the reason, because I have checked that there is not problem with matrix dimension. And for example, as a test, when I change log_det (A) to trace (A), there is not any error.
Error using *
Incorrect dimensions for matrix multiplication. Check that the number of columns in the first matrix matches the number of rows in the
second matrix. To perform elementwise multiplication, use ‘.*’.
Error in cvxprob/eliminate (line 137)
P = P * cvx_invert_structure( xR );
Error in cvxprob/solve (line 18)
[ At, cones, sgn, Q, P, dualized ] = eliminate( prob, true, shim.dualize );
Error in cvx_end (line 88)
solve( prob );