Sum-of-Max partition under a Knapsack constraint. (January 2023)