How to solve optimization problem

The objective function has a product of the CVX variables N and x, which is against CVX’s rules. Moreover, it is neither convex nor concave. Therefore it can’t be reformulated for use in CVX.