Your problem reminds me of the following definition of CVX’s ownsum_largest(x,k)function; this is a convex function that computes the sum of the largestkelements ofx. A simple way to express this function in terms of an optimization model is $$\begin{array}{ll}\text{ma...