SMS versenden: Nonlinear and dynamic programming