Optimization-based modeling in investment and data science