Arne
unread,Apr 29, 2013, 3:46:07 AM4/29/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to yal...@googlegroups.com
Hej
I've set up the following SDP (transpose_channel transposes 'vectorized' matrices)
if isreal(b)
y = sdpvar(prod(dims)^2,1,'full');
y = 1/2 * (y + transpose_channel(prod(dims))*y); % make y symmetric
else
y = sdpvar(prod(dims)^2,1,'full','complex');
y = 1/2 * (y + conj(transpose_channel(prod(dims))*y)); % make y Hermitian
end
F = [mat(A'*y) <= 0];
h = - b'*y;
diagnostics = solvesdp(F,h,ops)
Y = double(y);
X = dual(F);
everything works fine, as long as b is real. If b is complex then, the Y is returned properly while, X only contains NaN entries… I ran into the problem with all three solvers, SeDuMi, SDPT3 and SDPA. Do I have an error somewhere or is there an issue calling dual with complex SDP's?
Thanks in advance
cheers
Arne