LeapsAndBounds: A Method for Approximately Optimal Algorithm Configuration