A numerical solution approach for non-smooth optimal control problems based on the Pontryagin maximum principle | Synapse