Invia SMS: Advanced stochastic models, risk assessment, and portfolio optimization