How to solve an optimization problem with non-convex constraint

FAQ: Why doesn’t CVX accept my problem? [READ THIS FIRST]