1
$\begingroup$

i have a convex optimization problem to find $M$ as a $n\times n$ matrix and $x,y,z,s$ are data vectors and all are $n\times 1$:

$$\min_M f(M,x,y,s,z) $$ $$s.t: x^TMy+z^TMz-s^TMs <0$$ $$M>0$$

The problem is that the above constraint is not feasible at all for some data samples, and those instances of data should be assumed as outlayers and not to be considered in the optimization problem.

Then i will face another problem which is checking the feasibility of the constraint for each data sample batch {x,y,z,s} to see regardless of the objective function $f(.)$ the quadratic constraint can ever be negative or not.

So is there any way to find out that sort of outlayers in a simple way?

$\endgroup$
2
  • $\begingroup$ Does "M > 0" mean each entry is positive, or that it's a positive-definite matrix, (i.e., all eigenvalues are positive reals)? $\endgroup$ – John Hughes Sep 29 '16 at 14:10
  • $\begingroup$ Actually $M$ is originally as $M=L^TL$ and i'm interested in $L$ at the end. so i think $M$ should be p.s.d ideally. However i'm still interested to see how to find the feasibility of the constraint even assuming $M>0$ as just positive entries. $\endgroup$ – Bob Sep 29 '16 at 14:19
0
$\begingroup$

The constraint is feasible if $\frac{1}{2}(yx^T+xy^T) + zz^T - ss^T$ is negative semidefinite.

You are interested in $\inf_M\{ x^TMy + z^TMz - s^T M s : M > 0 \} < 0$. This is optimizing a linear function over the cone of positive definite matrices. There is much software out there that can solve this problem for you (sedumi, sdpa, sdpt3 just to name a few), but since this problem is unconstrained, the solution is trivial. Rewrite the objective to $tr((yx^T + zz^T - ss^T)M)$. Now if the matrix $\frac{1}{2}(yx^T+xy^T) + zz^T - ss^T$ is positive semidefinite, the $\inf$ is $0$, otherwise it's $-\infty$.

$\endgroup$
10
  • $\begingroup$ i calculated the $yx^T + zz^T - ss^T$ , but the resulting matrix has complex eigen-values, so i calculated the eigenvalues of its Hermitian matrix. Then for infeasible examples there was some positive and some negative eigen-values, although the value of negative ones sometimes were around 0.04 of positive ones. And for infeasible cases the eigenvalues of the Hermitian were all positive with few nearly zero ones. So is it reliable to use this result to distinguish between the infeas/feasable cases? $\endgroup$ – Bob Sep 29 '16 at 19:26
  • $\begingroup$ Thanks for pointing this out, I have updated my answer. $\endgroup$ – LinAlg Sep 29 '16 at 19:34
  • $\begingroup$ yes now the result is perfectly matching. I really liked this mathematical way of handling the problem. By the way is there any linear algebra documentation so i can read to understand the reason behind this relationship between the inf and the above matrix? $\endgroup$ – Bob Sep 29 '16 at 19:52
  • $\begingroup$ I used that $x^TMy = tr(x^TMy) + tr(yx^TM)$. The final step follows from the fact that the cone of positive semidefinite matrices is self-dual. $\endgroup$ – LinAlg Sep 29 '16 at 20:38
  • $\begingroup$ Unfortunately the 2nd part is not so clear to me, could you please explain a bit more or link a reference about it? $\endgroup$ – Bob Sep 29 '16 at 21:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.