OPTIMIZATION METHODS FOR OPTICAL LONG-HAUL AND ACCESS NETWORKS