I'm quite new to SDP programming, hence I might not have been able to use the right search terms to find a solution.
I try to reformulate an SDP problem to the original form. However a side constraint gives me some headache. Given the problem, where $X$ is a blockmatrix, which can be written like: $$X = \begin{bmatrix}A_1 & B_1^T&0&0 \\ B_1& C &0&0 \\ 0 &0& A_2 & B_2^T \\ 0&0&B_2 & C\end{bmatrix}$$ with $A_1,B_1,A_2,B_2,C$ all being matrices. The SDP problem can be formulated as follows:
$$\underset{X}{\text{min }} \langle W, X \rangle, \\ X\succeq 0$$ and $W$ is a constant matrix However I am wondering, how I can enforce, that the two $C$ matrices in $X$ are the same after solving? For the problem it is important, that it is formulated like a standard SDP problem.