I didn't see where the article talks specifically about which thing has an opportunity cost. As far as I can tell, it just says opportunity cost is the relevant phenomenon and leaves it to the reader to figure out which things have a cost and how all the math works out on that.
Also, prioritization is not only minimizing cost, you’re probably also maximizing reward. So the calculation is more complicated anyways.