Fast Population Game Dynamics for Dominant Sets and Other Quadratic Optimization Problems