Disciplined convex programming error: Invalid constraint: {convex} <= {convex}

If the variable in question can not be handled only in squared form, then the problem is non-convex, and CVX will not accept it. Please re-read Why isn't CVX accepting my model? READ THIS FIRST! .