Algorithms for DWDM Optical Networks Optimization