This project is comprised of 2 parts:
- Race simulation CLI program - written in Go to takes in a given race strategy (velocity at each point in the track) and uses physics constants of Sunrider to calculate energy consumed and time elapsed for a lap of the specified strategy.
- Optimization solver - written in Python using mystic to run thousands of iterations of the CLI simulation, utilizing gradient descent to find the optimal race strategy for a given track layout and target energy consumption.