Estimation and Optimization of Composite Outcomes