Question

The input to the ThreeMachineMakespan is a set of n jobs each with a processing time (pi}-1 . A feasible solution assigns each job to one of three machines. The sum of the processing times of the jobs assigned to a machine is the time that machine is required to run. The makespan is the maximum time any of the three machines must run​.

Define a local search algorithm for ThreeMachineMakespan and run it on the instance {2, 2, 2, 4, 4, 6, 8, 10}

0 0
Add a comment Improve this question Transcribed image text
Answer #1

•Algorithm TaskSchedule_ThreeMachine(N):

•   Input: A set N jobs, each with a processing time

•   Output: A schedule of the N jobs on 3 machines with makespan(.maximum time any of the three machines must run)

• i ← 1 { 1st machine }

•   while N is not empty do

•      remove from N a job k with the smallest processing time

•      if ith machine is free then

•         schedule K on machine i

T[i]+=T[i]+Procesing_time[k] //To save processing time taken by ith machine

•      else

• i ← (i+1)mod3 and again check kth job on the machine i

Add a comment
Know the answer?
Add Answer to:
The input to the ThreeMachineMakespan is a set of n jobs each with a processing time...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1. Suppose you have four jobs that must be processed, with the following table giving their...

    1. Suppose you have four jobs that must be processed, with the following table giving their charac- teristics(all times in hours): Each job can be processed on any of three identical machines; to be Job 1 23 4 Processing time 21.524 | 2 | 0 | 0.5 | 1 Release time Processing time 5346 finished, a job must be processed for its entire processing time, but this processing time can be interrupted and even moved to a different machine if...

  • Question No.2: Table below provides the processing times in hours of seven jobs to be processed...

    Question No.2: Table below provides the processing times in hours of seven jobs to be processed on four machines in the order Mi-M2-M3-M4. Obtain the sequence that minimises the total processing time, calculate the minimum time taken to process these seven jobs on four machines, and calculate the minimum value of idle time for each of the machines Data on processing times in hours Job Machine MI 12 M2 MO 9 M4

  • 3. Consider the following seven-job problem. Each job must be processed by two ma chines A...

    3. Consider the following seven-job problem. Each job must be processed by two ma chines A and B, first on machine A and then machine B. The operation processing times at machine A and B are as follows: Job i 1 2 3 5 6 Processing time on machine A (a9 8 5 10 6 8 5 Processing time on machine B (b) 6 5 7912 11 4 a. Suppose jobs arrived in their natural order (i.e, job before job...

  • Jobs arrive at a single-CPU computer facility with interarrival times the are IID exponential ran...

    Jobs arrive at a single-CPU computer facility with interarrival times the are IID exponential random variables with mean 1 minute. Each job specifies upon arrival the maximum amount of processing time it requires, and the maximum times for successive jobs are IID exponential random variable with mean 1.1 minutes. However, if m is the specified maximum processing time for a particular job, the actual processing time is distributed uniformly between 0.55m and 1.05m. The CPU will never process a job...

  • You are given n jobs and m machines where each machine has a subset of machines...

    You are given n jobs and m machines where each machine has a subset of machines that they are able to be processed on. Using the Ford-Fulkerson algorithm, construct an algorithm that determines the smallest integer where no machine gets assigned more jobs than.

  • Suppose we have five jobs to be processed on a single machine. The processing times and...

    Suppose we have five jobs to be processed on a single machine. The processing times and the due dates of the jobs are shown below Job 2 3 4 Processing Time 2 6 5 4 Due Date 10 11 15 4 13 Find a schedule that minimizes the number of tardy jobs

  • Problem #1 Five jobs are to be processed through a single machine. The processing times and...

    Problem #1 Five jobs are to be processed through a single machine. The processing times and due dates are given here. Assume all released dates are zero. Job 1 2 3 4 5 Processing time 3 6 5 4 2 Due date 4 8 12 21 15 In each of the following cases determine the sequence in which she should perform and compute Mean Flow Time, Average Tardiness and the number of tardy jobs. A) Shortest Processing Time B) Early...

  • 2. Determine the processing sequence for the six jobs shown below using Johnson's Rule. (A) Calculate...

    2. Determine the processing sequence for the six jobs shown below using Johnson's Rule. (A) Calculate total throughput (makespan) time. (12 pts) (B) Can the makespan be reduced by splitting the latest job? If so, by how much? (8 pts) Working Working Center 1 Center 2 Job 6 8 c 10 900 Resolution 20p HD-Ready Gateway FPD1975W TFTLCD Monitor Theft Detemce 4 8 c 10 9 e 11 7 Gateway FPD TFT LC

  • Question 2: The times required to complete each 2. The times required to complete each of...

    Question 2: The times required to complete each 2. The times required to complete each of eight jobs in a two-machine flow shop are shown table that follows. Each job must follow the same sequence, beginning with machine A and moving to machine B. Job TIME (hours) Machine A Machine B OOOO a. Determine a sequence that will minimize makespan time. b. Find machine B's idle time. c. For the sequence determined in part a, how much would machine B's...

  • Question 1: Sequence the jobs shown below by using a Gantt chart. Assume that the move...

    Question 1: Sequence the jobs shown below by using a Gantt chart. Assume that the move time between machines is one hour. Sequence the jobs in priority order 1, 2, 3, 4. Job Work Center/Machine Hours                                  Due Date (days) 1 A/3, B/2, C/2 3 2 C/2, A/4 2 3 B/6, A/1, C/3 4 4 C/4, A/1, B/2 3 Using finite capacity scheduling, draw a Gantt chart for the schedule (Marks 0.5) What is the makespan? (Marks 0.5) How much machine...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT