value(X)
1.00000 -0.36515
-0.36515 0.13333
check(constraints)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| ID| Constraint| Primal residual| Dual residual|
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| #1| Matrix inequality| 3.0366e-09| 2.5016e-08|
| #2| Equality constraint| -1.6716e-10| -517.1615|
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| A primal-dual optimal solution would show non-negative residuals.|
| In practice, many solvers converge to slightly infeasible |
| solutions, which may cause some residuals to be negative. |
| It is up to the user to judge the importance and impact of |
| slightly negative residuals (i.e. infeasibilities) |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sol =
scalar structure containing the fields:
yalmipversion = 20190425
yalmiptime = 0.18730
solvertime = 0.24087
info = Successfully solved (SeDuMi-1.3)
problem = 0