McNaughton’s algorithm:jobs has to be scheduled on processors to minimize schedule length