Which of the following minimizes the idle time of an n-jobs and 2 mac...
Johnson's Algorithm Minimizes Idle Time in 2-Machine Problem
Johnson's algorithm is an efficient way to minimize the idle time of an n-jobs and 2 machine problem. The algorithm is used to schedule jobs on two machines, such that the idle time on both machines is minimized. It is a greedy algorithm that works by selecting the job with the smallest processing time on either machine.
Steps of Johnson's Algorithm:
1. Transform the n-jobs and 2 machine problem into a modified 3-machine problem by adding a dummy machine with processing time 0 for each job.
2. Determine the processing time of each job on machine 1 and machine 2.
3. List the jobs in order of increasing processing time on machine 1.
4. List the jobs in order of decreasing processing time on machine 2.
5. Merge the two lists by selecting the job with the smallest processing time on either machine.
6. Assign the jobs to the machines based on the order of the merged list.
7. Compute the idle time on both machines.
8. Repeat steps 5-7 until all jobs have been assigned.
Why Johnson's Algorithm Minimizes Idle Time:
Johnson's algorithm minimizes idle time because it prioritizes jobs that have the shortest processing time on either machine. By selecting jobs in this way, the algorithm minimizes the time that either machine is idle, which in turn reduces the overall idle time for the system. This approach is more effective than other scheduling rules such as SPT, EDD, or critical ratio rule, which do not take into account the processing time on both machines.
Which of the following minimizes the idle time of an n-jobs and 2 mac...
Spt - min inventory cost
edd- minimum tardiness
critical ratio - % of completion of project
Johnson's alogo- optimum job sequence and minimum make spam reducing ideal time