Optimization of Routing Algorithms in Survivable Optical Networks