Convex programming

You are multiplying CVX variables, and not in an approved convex fashion (convex quadratic form).

You haven’t; shown what you intend to do with y1 and y2, so forum readers can’t say for sure whether your desired optimization problem, whatever that is, is convex and can be formulated consistent with CVX’s rules. But at this point, until shown evidence to the contrary, I’ll assume not.