[Matthew Doty #16](https://forum.azimuthproject.org/discussion/comment/17811/#Comment_17811)

> For a simple model like this, you use linear programming.

Or maybe constraint programming? Lots of limits like that, I only mentioned one as an example. But categories would seem to fit in somewhere...