Text this: A Variational Approach to the Fuel Optimal Control Problem for UAV Formations