Forecast and Cost Minimization