Invia SMS: Novel Optimization Methods for Temporal and Predictive Clustering