The purpose of global optimization is to find the minimum average cost for all the users with respect to multiple ONUs. The next algorithm is to optimize the ONUs placement globally by means of combinatorial-optimization technique namely Simulated Annealing (SA) algorithm.