Assuming $x$ and $y$ are two vectors, I have an optimiztion problem with the following objective function
$$f(x,y)=\mbox{tr}((y-x)x^{\top})$$
Is it possible to convert the above to a norm-$2$, like $f(x,y)=\| \cdot \|_2^2$?
Assuming $x$ and $y$ are two vectors, I have an optimiztion problem with the following objective function
$$f(x,y)=\mbox{tr}((y-x)x^{\top})$$
Is it possible to convert the above to a norm-$2$, like $f(x,y)=\| \cdot \|_2^2$?
If $u,v$ are vectors then $\mathrm{trace}\left(uv^{\top}\right) = u\cdot v$, where $\cdot$ is the inner product.
So $$\mathrm{trace}\left((y-x)x^{\top}\right)=(y-x)\cdot x=y\cdot x - \|x\|^2$$