I made input data (s1,s2) by "rand" in MATLAB.
I added a bound on B as following:
>> F=[0<=beta(:),0<[1 beta';beta B],B<10,(trace(s2*B))==1];
answer:
ans =
yalmiptime: 0.1701
solvertime: 0.5499
info: 'Numerical problems (SDPT3-4)'
problem: 4
again, change the bound:
>> F=[0<=beta(:),[1 beta';beta B]>=0,B<1000,(trace(s2*B))==1];
ans =
yalmiptime: 0.1696
solvertime: 0.7034
info: 'Numerical problems (SDPT3-4)'
problem: 4
,, I added the bound as following:
>> F=[0<=beta(:)<1000,0<[1 beta';beta B]<10000,(trace(s2*B))==1];
ans =
yalmiptime: 0.1751
solvertime: 0.9639
info: 'Infeasible problem (SDPT3-4)'
problem: 1
>> F=[0<=beta(:)<1000,0<[1 beta';beta B]<100,(trace(s2*B))==1];
ans =
yalmiptime: 0.1629
solvertime: 0.2891
info: 'Infeasible problem (SDPT3-4)'
problem: 1
By adding new bound , still there is problem
I am confused.