Distributed optimal equilibrium selection for traffic flow over networks