Modeling and Optimal Centralized Control of a Large-Size Robotic Population