Invia SMS: Optimal strategies generated for the mathematical model of source distribution using a dynamic programming method algorithm