Many real-world analytics problems involve two significant challenges: prediction and optimization. Because of the typically complex nature each challenge, standard paradigm is predict-then-optimize. By large, machine learning tools are intended to minimize error do not account for how predictions will be used in downstream optimization problem. In contrast, we propose a new very general framew...