R code to reproduce calculations and figures of the paper "Optimal call center forecasting and staffing" by Ding and Koole for the pdf of the paper see gerkoole.com/publications