Optimal strategies for adaptive cruise control