How can I constraint phase of a signal?

Phase constraints are not convex.