Text this: Distributed optimization with population dynamics