Algorithm 2From: Space mapping-based receding horizon control for stochastic interacting particle systems: dogs herding sheepOptimal control algorithm for the coarse problemBack to article page