I would like to minimize the following quantity:
$Q = \left\lVert{X - C}\right\rVert^2_F + a\left\lVert{X - I}\right\rVert^2_F$
Where $X\in\mathbb R^{n\times n}$ is unknown, $C\in\mathbb R^{n\times n}$ is a known positive semi-definite and symmetric matrix, $I$ is the identity matrix, $a\in\mathbb R^+$ and $\left\lVert\cdot\right\rVert_F$ is the Frobenius norm. There is also some constraint on $X$, but for simplicity let's assume that it is only needed to be positive semi-definite. If I could somehow complete the squares on $Q$ then I could you use this answer to solve my problem.
Any help would be much appreciated. Thanks in advance.
The objective function is equal to $(a+1)\left\|X-\frac{C+aI}{a+1}\right\|_F^2+\text{constant}$. Hence the unique global minimiser is $X=\frac{C+aI}{a+1}$. As $C\succeq0$ and $a\ge0$, $X$ is positive semidefinite.