LOQO was used to compute this optimal trajectory. Two different models were created, the first using midpoint discretization and the second using trapezoidal discretization:
To read a description of the physical derivation of the model, click here.
Here's another optimal trajectory to the same problem.
Here are some more optimal trajectories arising from different greens (and perhaps different coefficients of friction).