I am interested in writing the following equality constraint
$$\|(x+2y, x-y)\|_2 = 0$$
in the Disciplined Convex Programming (DCP) form. I don't know how to convert the operator == to satisfy DCP form which presents at above website. I have tested and got that
affine_func == affine_funcis satisfiedaffine_func == contantis satisfiedcontant == affine_funcis satisfiedconstant == constantis satisfied
but when i use convex or concave function then the expression can not be satisfied. Can anyone please help me?