Viewing a single comment thread. View all comments

Illustrious-Bar5621 t1_jbyxpbh wrote

Could just do something like

$ \argmax_{I \subset [n]: |I| = k } \sum_{i \in I} f(i) $ , where $ [n] = \{1,2,\ldots, n\} $.

10