I'm trying to solve a convex optimization problem, and so I've prepared a self-contained and simple demonstration of the problem I am running into here:
When I run the program, I get:
ValueError: Rank(A) < p or Rank([H(x); A; Df(x); G]) < n
In this problem, my optimization variable has dimension n = 8.
The matrix A has shape (p,n) = (6,8) and I've verified that it has the correct rank: p = 6.
Then I tried:
zz = np.vstack([ H, A, Df, G ]) # where these are taken from the code
np.linalg.matrix_rank(zz) # returns 8, as desired.
Assuming I've understood the error correctly, I don't understand why I'm getting the above error. This problem is known to be convex and it seems like my matrices have the proper ranks. Any suggestions are appreciated. Happy to chat off-list too.