MATHEMATICAL DECOMPOSITION TECHNIQUES FOR RESOURCE ALLOCATION IN OPTICAL AND 5G NETWORKS