Optimisation of the patient mix for hospital admission planning