If-else constraints in CVX

Please read the FAQ; and the chapter in the documentation on the DCP ruleset; your model is not convex.