Consider the following problem:
$$\min \sum_{i=1}^n (Y_i - Z^{(i)})^2 \
\text{subjected to}~ \epsilon_k^{\top}(X_j-X_k) \leq Z^{(j)}-Z^{(k)} ~ \forall k,j = 1 \ldots n,\
\sum_{j=1}^d \sqrt{\sum_{i=1}^n \epsilon_{i,j}^2} \leq C. $$
where \epsilon_1, \ldots \epsilon_n, X_1 \ldots X_n \in \mathbb{R}^d and Z \in \mathbb{R}^n (and Z^{(i)} is the i^{th} component of Z) and Y_1, \ldots Y_n \in \mathbb{R}.
Note that we are given X_1, \ldots , X_n and Y_1, \ldots Y_n and the minimization is with respect to \epsilon_1, \ldots \epsilon_n and Z? Is this a SOCP program that could be cast in a format solvable in CVX ? Thanks a lot.