The required linear program is
There are inequality constraints and one equality constraint, all independent of .
The feasible set is the capped simplex, a nonempty compact set. A linear function attains its maximum at an extreme point; the previous part identifies these as the indicators of -element subsets. At such a vector, the objective is the sum of the selected coordinates. Maximizing selects the largest coordinates, including when some are negative or tied. Equivalently, is the support function called the sum of the largest components.
Take and , so
is the capped simplex. A linear objective over this convex polytope attains its maximum at a zero-one extreme point. Choosing the coordinates at which is largest gives
Equivalently, an exchange of weight from a smaller component to a larger one never decreases the objective. Thus the sum of the largest components is the support function .
Part c now gives
By the projection onto a box-constrained hyperplane, has
Consequently the proximal operator is evaluated by solving this one-dimensional equation for , then substituting the resulting projection.
For a real symmetric matrix with eigenvalues , the sum of its largest eigenvalues is the support function of the fantope:
Here is the Loewner order. In an orthonormal eigenbasis for , the objective depends only on the diagonal entries of , which lie in the capped simplex. Thus the identity reduces to the sum of the largest components of the eigenvalues.
For , linear programming duality gives
where is the positive part of a real-valued function. To see equality directly, order the coordinates and choose for , or for . The threshold expression then equals the sum of the largest components. Introducing the variables turns this convex piecewise-linear objective into a linear program.