Text this: Minimization methods for non-differentiable functions