Question: Average Completion Time Recall the problem as stated below. Given a set S = { a 1 , a 2 , cdots, a n }

Average Completion Time
Recall the problem as stated below.
Given
a set S={a1,a2,cdots,an} of tasks, where task ai requires pi units of processing time to complete.
A computer that can only handle one task at a time
Let ci be the completion time of task ai, i.e., the time at which task ai competes
Goal:
minimize the average completion time =c1+c2+dots+cnn
Example:
S={a1,a2} with p1=3,p2=5
Scheduling: a1,a2c1=3,c2=8c=5.5
Scheduling: a2,a1c1=8,c2=5c=6.5
Now consider the following example:
S={a1,a2,a3,a4} with the process time as {9,3,5,2}.
What is the minimal average completion time?
Question 4
Average Completion Time (Cont.)
Now if our goal is to Minimize Average Waiting Time for the same problem, what will be the minimal average waiting time?
(Fill in the answer in the form of x.)
Given
a set S={a1,a2,dots,an} of tasks, where task ai requires pi units of processing time to complete.
A computer that can only handle one task at a time
Let wi be the waiting time of task ai, i.e., the time at which task ai starts working.
Goal:
minimize the average waiting time w=w1+w2+dots+wnn
Example:
S={a1,a2} with p1=3,p2=5
Scheduling: a1,a2w1=0,w2=3w=1.5
Scheduling: a2,a1w1=5,w2=0w=2.5
 Average Completion Time Recall the problem as stated below. Given a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!