Portfolio Optimization in the Context of Cointelated Pairs: Stochastic Differential Equation vs. Machine Learning Approach