The objective and last constraint are both non-convex. The solution you mention is indeed correct, but is outside of CVX’s scope.
The objective and last constraint are both non-convex. The solution you mention is indeed correct, but is outside of CVX’s scope.