Dual SDP Problem from Its Primal

3 visualizaciones (últimos 30 días)
Gözde Üstün
Gözde Üstün el 21 de Mayo de 2020
Hey!
I am computing a probability distribution from some measurements and I used primal sdp method for that; but now I need to convert it to its dual. How can I do that with cvx?
My function for primal is that:
cvx_begin
variable sigma_e(d^2,d^2,d) hermitian semidefinite
dual variables Z{d,d,m,m}
S=cvx(0);
in=1;
for e=1:d
S=S+trace(sigma_e(:,:,e)*kron(A(:,:,in,e),eye(d)));
end
S=real(S);
minimize (-S)
subject to
for i=1:d
for j=1:d
for x=1:m
for y=1:m
trace(squeeze(sum(sigma_e(:,:,:),3))*kron(A(:,:,x,i),B(:,:,y,j)))==P_exp(i,j,x,y) : Z{i,j,x,y};
end
end
end
end
cvx_end

Respuestas (0)

Categorías

Más información sobre Programming en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by