Portfolio Optimization for Cointelated Pairs: SDEs vs. Machine Learning