It's not opportunity cost, but rather the assumed rate of reinvestment that is relevant for making the decision.