Large-Scale Modeling and Optimization of Routing, Modulation and Spectrum Assignment Problems in Optical Networks