A Boolean least-squares can be formulated as follows
\begin{array}{ll} \text{minimize} & \operatorname{tr}(A^TAX) - 2b^TAx + b^Tb\\ \text{subject to} & X = xx^T\\ & X_{ii} = 1\end{array}
which can be further formulated as
$$\begin{align*} &\operatorname{trace}(A^TAX) - 2b^TAx + b^Tb\\ =&\operatorname{trace}\left[(x^TA^T-b^T)(Ax - b)\right]\\ =&\operatorname{trace}\left[\pmatrix{x^T&1}\pmatrix{A^T\\ -b^T}\pmatrix{A&-b}\pmatrix{x\\ 1}\right]\\ =&\operatorname{trace}\left[\pmatrix{A^T\\ -b^T}\pmatrix{A&-b}\pmatrix{x\\ 1}\pmatrix{x^T&1}\right]\\ =&\operatorname{trace}\left[ \underbrace{\pmatrix{A^TA&-A^Tb\\ -b^TA&b^Tb}}_B \underbrace{\pmatrix{X&x\\ x^T&1}}_Y\right]. \end{align*}$$
and we require the $Y \succeq 0$ (I just omit other constraints here for simplicity). So, is the expression of $X\succeq xx^T$ equvilant to the expression of $Y\succeq0$? As I saw this equivalence in Professor Boyd's convex optimization PPT, but I don't how to prove it.
Reference
- Convex Optimization [PDF].