An optimal decision making approach for the management of radiotherapy patients