Estimating a cost associated with each operation, amount of time, target cost