Constrained distributed optimization: A population dynamics approach. (July 2016)