Computationally Driven Algorithms For Distributed Control Of Complex Systems