How to solve an error in optimization problem with CVX ?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Dear all,
I am trying to solve the following minimization problem with CVX (matlab) and I encountered an error. I am giving the optimization problem with my matlab code and the error I got as well for any body who can help.

Please accept my deepest thanks for your time and valuable help.
My Matlab Code:
B=randn(m,M);
Delta=C.^(1/2); % already hermitian
cvx_begin sdp
variable W(m,m) hermitian
variable Q(M,M) hermitian toeplitz
minimize( trace(W)+ trace(B*Q*B'))
subject to
Q >= 0;
[ eye(m)+B*Q*B' Delta ; Delta' W ] == semidefinite(2*m);
cvx_end
Matlab Error:
Array indices must be positive integers or logical values.
Error in cvx_extract (line 552)
Pd(Pr) = false;
Error in cvx_solve (line 26)
[ At, cones, sgn, Q, P, exps, dualized ] = cvx_extract( shim.config, shim.name );
Error in cvx_finish
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Traveling Salesman (TSP) en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!