Thanks! That's actually what I meant.
I do think your second way is interesting, but I'm not sure it suits my purpose. This isn't a homework problem, but a sub-problem I needed to look at in order to get to a bigger problem. It helps framing it as a linear programming problem because now...