Statistics for Resource constraints in an epidemic: a goal programming and mathematical modelling framework for optimal resource shifting in South Africa