Scheduling to minimize average completion time: off-line and on-line algorithms | Synapse