Optimal Control And Reinforcement Learning For Formula One Lap Simulation