used stochastic programming to develop the model that maximises the number of completed jobs in a given horizon; and to minimise the expexted reserved manpower and any shortages considered the analysis of delayed renewal procees and a delayed alternating renewal process with exponential times to failure from a bayesian viewpoint