Error being shown at cvx_end

(Sai Vihari Chaturvedula) #1

Error Shown on Screen :

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 );

Error in cvx_opt_alg (line 102)

This error comes up once in 2-3 times I run the simulation(the other times it gives me expected result) and I can’t figure out where I am going wrong. Also, in general, it is expected that CVX will print status and other stuff if not kept in quiet mode. But, for me, surprisingly, it doesn’t print anything. Is that I am using Matlab 2018b version ??

(Mark L. Stone) #2

You haven’t provided reproducible problems. Please show the full results of cvx_version

Perhaps this is a bug. if you are using CVX 3.0beta, please switch to CVX 2.1, as 3.0beta is know to have many bugs.