The Optimization Problems in Wdm Optical Networks