>> x = sdpvar(1);solvesdp(x>=0,[],sdpsettings('solver','sedumi'))
SeDuMi had unexplained problems, maybe due to linear dependence?
YALMIP tweaks the problem (adds 1e6 magnitude bounds on all variables) and restarts...
SeDuMi 1.3 by AdvOL, 2005-2008 and Jos F. Sturm, 1998-2003.
Alg = 2: xz-corrector, theta = 0.250, beta = 0.500
eqs m = 1, order n = 4, dim = 4, blocks = 1
nnz(A) = 3 + 0, nnz(ADA) = 1, nnz(L) = 1
it : b*y gap delta rate t/tP* t/tD* feas cg cg prec
0 : 2.25E+06 0.000
1 : 0.00E+00 4.28E+05 0.000 0.1900 0.9000 0.9000 1.00 1 0 1.7E+00
2 : 0.00E+00 2.06E+03 0.000 0.0048 0.9990 0.9990 1.16 1 1 8.7E-01
3 : 0.00E+00 5.52E-04 0.000 0.0000 1.0000 1.0000 1.00 1 1
iter seconds digits c*x b*y
3 0.0 Inf 0.0000000000e+00 0.0000000000e+00
|Ax-b| = 0.0e+00, [Ay-c]_+ = 0.0E+00, |x|= 0.0e+00, |y|= 4.6e+05
Detailed timing (sec)
Pre IPM Post
4.999E-03 2.200E-02 1.100E-02
Max-norms: ||b||=0, ||c|| = 1000000,
Cholesky |add|=0, |skip| = 0, ||L.L|| = 1.
ans =
yalmiptime: 0.1580
solvertime: 0.0410
info: 'Successfully solved (SeDuMi-1.3)'
problem: 0