Disciplined convex programming error:{concave} == {constant}

Nonlinear equality constraints are not allowed. See Why isn't CVX accepting my model? READ THIS FIRST! .

Perhaps you need to re-read Boyd’s book.