Distributed Local Optimized Algorithms