Joint optimization of failure management costs, electricity costs, and operator revenue in optical core networks