The problem is solved with sedumi by using sol = optimize(F,obj,sdpsettings('verbose',0,'solver','sedumi'),[Vetv]);
Vetv is a linear matrix variable. Apparently, the problem is solved and I can recover the solution by using value(Vetv).
However, when I use checkset there is an error message and I did not find the problem that is occurring.
I have four constraints (symmetric polynomial matrix variables) with dimension 2x2 and one constraint 3x3.
When I remove this last constraint the problem does not occur.
>> checkset(F)
Error using sdpvar/vertcat (line 31)
All rows in the bracketed expression must have the
same number of columns.
Error in lmi/check (line 79)
p=[p;pi];
Error in lmi/checkset (line 27)
check(F);