I've got these messages when optimizing a problem:
Error using lyap (line 69)
The solution of this Sylvester equation does not exist or is not unique.
Error in symfixedrankYYfactory/projection (line 44)
Omega = lyap(SS, -AS);
Error in symfixedrankYYfactory>@(Y1,Y2,d)projection(Y2,d) (line 96)
M.transp = @(Y1, Y2, d) projection(Y2, d);
Error in productmanifold/transp (line 217)
v.(elems{i}) = elements.(elems{i}).transp(x1.(elems{i}), ...
Error in conjugategradient (line 274)
oldgrad = problem.M.transp(x, newx, grad);
My manifold is
elements = struct();
elements.p = symfixedrankYYfactory(5, 2);
elements.alpha = sympositivedefinitefactory(1);
manifold = productmanifold(elements);
I have several runs, each of which is initialized with a different random seed.
Other runs are OK other than this particular seed. So I think my algorithm is fine.
Any ideas about what was going on? Thank you.