Optimization models connect forecasts and constraints to portfolio decisions.