The invention relates to an improved rod pushing and pulling machine suited for use in underground pipe bursting and replacement with a rod string wherein each rod has at least one radially enlarged upset thereon. A scheduler estimates the remaining time of execution of each job, compares with a migrationfreezing cost, and determines a job to be movedfrozen. The images may be pre-processed to remove background portions of the images and then converted into signals for input into the neural network form.