This feels like it would be a well researched (or solved) problem, but I can't find the right words to search for it.
Suppose there is a collection of shared resources, and a collection of possible processes. Each process consumes fixed quantities of each resource and provides a fixed benefit. Each process can be applied zero or more times (but no fractional amounts), and resources can be left unused.
How can a distribution which maximises the total benefit be found? Brute-forcing each possible allocation will always find an answer, but is there a more optimal way?
An attempt to formalise the question:
$$ \text{Given resources } R \in \mathbb{R}_{\ge0}^n \\ \text{and process requirements } P \in \mathbb{R}_{\ge0}^{m,n} \\ \text{and process outputs } O \in \mathbb{R}_{\ge0}^m \\ \text{find } N \in \mathbb{Z}_{\ge0}^m \\ \text{such that no resource is over-spent: } \sum_{i=0}^m{N_i P_{i,j}} \le R_j \ \forall \ j \\ \text{and } N \cdot O \text{ is maximised} $$