Cycles optimization: the equivalent annuity and the NPV approaches