Optimization, Movement, and Formations