I am solving an optimal power flow problem where I have to define my optimization variable
V which is the product of following
V = vv^H (H is Hermitian), v = [v_1,...,v_n]^T is the vector of voltage variables at each node.
Since I am formulating my problem in SDP form, I am defining V as sdpvar(n,n,'hermitian','complex') in order to keep my constraint as LMI constraint. Otherwise, if I define v first as sdpvar, then V will become a quadratic variable and problem no longer can be solved by Sedumi.
The problem is solver solves the problem but rank(V) is not 1 and it has to be 1 as by def V = vv^H is a rank-1 matrix. I have taken a very simple power system for which rank-1 one condition is already established in the published literature.
My question is that is it the right way to define a rank-1 matrix V variable??
And can anyone tell me why the sol matrix does not have rank=1?