How can I solve this problem by cvx solver?