An Investigation Into Predict-and-Optimize Machine Learning