Processing math: 100%
Google
 
Web unafbapune.blogspot.com

Sunday, December 09, 2012

 

Exchange Argument

Job i has a length ti and a deadline di. The goal is to assign a starting time si to each job such that each job is delayed as little as possible. A job i is delayed if the finishing time fi>di. The lateness of the job i is max(0,fidi). Show that the schedule has the least maximum lateness when i,j[si<sjdi<dj].





== Attempt ==

Suppose otherwise i.e. given an optimal schedule with the least maximum lateness among all jobs, suppose there exists in this schedule job i and j with si<sj and dj<di, and one of the two jobs has the maximum lateness in the schedule.

Case 1: suppose the earlier job i has the maximum lateness in the schedule

Since dj<di, the lateness of the next job j must be greater than that of job i. A contradiction i.e. case 1 is not possible.

Case 2: suppose job j has the maximum lateness in the schedule

This means:
  tidi<ti+S+tjdj
where S is the total delay in processing all the intervening jobs between i and j, if any. If we swap the two jobs, we will now have sj<si and the lateness of job j will be decreased by ti+S, whereas the lateness of job i will be increased by S+tj, i.e.
  tidi+(S+tj)
Comparing this to the maximum lateness before the swap:
  ti+S+tjdj
since dj<di, the resultant increased lateness of job i must be less than the original maximum. Therefore the new schedule has a least maximum lateness no greater than the original.


Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?