1 / 23

On Scheduling with Non -increasing Time Slot Cost to Minimize Total Weighted Completion Time

On Scheduling with Non -increasing Time Slot Cost to Minimize Total Weighted Completion Time. Yingchao ZHAO, Caritas Institute of Higher Education Xiangtong QI, HKUST Minming LI , City University of Hong Kong. History. Traditional scheduling objective minimizing makespan

kimball
Download Presentation

On Scheduling with Non -increasing Time Slot Cost to Minimize Total Weighted Completion Time

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. On Scheduling with Non-increasing Time Slot Cost to Minimize Total Weighted Completion Time Yingchao ZHAO, Caritas Institute of Higher Education Xiangtong QI, HKUST Minming LI, City University of Hong Kong

  2. History • Traditional scheduling objective • minimizing makespan • minimizing total completion time • minimizing total flowtime. • Wan and Qi (Naval Research Logistics) proposed the model that considers both traditional objective and time slot cost. • Kulkarni and Munagala (WAOA 2012)studied online algorithms to minimize the total weighted completion time plus time slot costs. • Leonardi et al. (MAPSP 2013) designed a PTAS for the offline version of the problem.

  3. Time slot cost • Increasing • Trivial • Execute the jobs as early as possible • Decreasing • Linear decreasing • Accelerative decreasing • Decelerativedecreasing • General decreasing • Objective • Minimize: total weighted completion time + time slot costs

  4. Linear Decreasing Time Slot Cost π(t) t

  5. Linear Decreasing Time Slot Cost • For each job i: • Processing time pi • Weight wi • The time slot cost π satisfies πk- πk+1=ε, ε>0 • We give a polynomial time algorithm to get the optimal schedule for this problem. • Given two jobs, which should be processed earlier? • Given a job, when should it be processed?

  6. If the time slot cost decreases as a linear function with respect to time k, then there exists an optimal schedule to the problem in which jobs are scheduled in WSPT (Weighted Shortest Processing Time) order.

  7. For a job with processing time p and weight w • If w/p>ε, process this job as early as possible • If w/p<ε, process this job as late as possible • If w/p=ε, the job has the same cost no matter when it is processed

  8. Optimal Scheduling for linear cost w/p>ε w/p=ε w/p<ε t t t 0 K K 0 0 K • Sort the jobs according to decreasing w/p. • Partition jobs into three sets: J1, J2, J3 • Process J1 and J2 from time zero, and process J3 as late as possible. Solved in polynomial time!

  9. Accelerative Decreasing Time Slot Cost π(t) t

  10. Accelerative Decreasing Time Slot Cost • The time slot cost π satisfies πk- πk+1> πk-1- πk, for 1<k<K • For each job • Processing time p • Weight w • Worst starting time k’, πk’+1 - πk’+p+1> w > πk’ - πk’+p Every job has a worst starting time • There is only one possible idle time interval in an optimal schedule.

  11. If a job starts before its worst starting time k’, then there is no idle time before it in the optimal schedule. • If a job starts after its worst starting time k’, then there is no idle time after it in the optimal schedule. • If a job starts at its worst starting time k’, then there is no idle time before and after it in the optimal schedule. K 0 k’

  12. Optimal Scheduling forAccelerative Decreasing Cost • In an optimal schedule, the jobs are partitioned into two parts. • The first part starts from time zero. • The second part ends at time K. • In each part, jobs are processed in WSPT order. 0 K How to partition jobs?

  13. Dynamic programming f(m,x,y) denotes the minimum cost for jobs 1 to m, where the first part ends at x, and the second part starts at y. 0 x y jobs in the same part are scheduled in WSPT order Where is job m? • Job m is in the last job of in the first part need to know f(m-1, x-pm, y) • Job m is in the last job of in the second part O(nP2) need to know f(m-1, x, y)

  14. Decelerative Decreasing Time Slot Cost π(t) t

  15. Decelerative Decreasing Time Slot Cost • The time slot cost π satisfies πk- πk+1<πk-1- πk, for 1<k<K • For each job • Processing time p • Weight w • Preferred starting time: k*, πk*+1 – πk*+p+1> w > πk* - πk*+p • Preferred processing interval: [k*, k*+p]

  16. k* k*+p K 0 • If a job starts before its preferred starting time k*, the earlier it is processed, the more cost it will have. • If a job starts after its preferred starting time k*, the later it is processed, the more cost it will have. • If a job starts at its preferred starting time k*, it will have the least possible cost.

  17. Job i Job j wi/pi > wj/pj If two jobs’ preferred processing intervals have no overlap, then the job with earlier preferred starting time has greater ratio of w/p than the other job. Job i Job j wi/pi > wj/pj If two jobs’ preferred processing intervals have overlap, but not completely contain each other, then the job with earlier preferred starting time has greater ratio of w/p than the other job.

  18. Optimal Scheduling forDecelerative Decreasing Cost Job i Job j • The jobs are scheduled in WSPT order in the optimal solution. • If two jobs are adjacent in WSPT order and their preferred processing intervals have overlap, then there exists no idle time slot between these two jobs in the optimal solution. (wi, pi) (wj, pj) Job i’ (wi +wj, pi+pj) Algorithm: sort by WSPT merge and replace assign to preferred intervals O(n2)

  19. General Decreasing Time Slot Cost π(t) t

  20. General Decreasing Time Slot Cost • Theorem 1. The problem with arbitrary non-increasing time slot cost is NP-hard in the strong sense. • 3-Partition Instance: • n=3q integers a1, a2, …, a3q • integer b with b/4<aj<b/2 • sum(aj)=q*b • Scheduling Instance: • n=3q jobs • processing time aj, weight ε*aj • K=q(b+1)

  21. Open Problems • Polynomial time algorithm for the accelerative decreasing case • More classes of decreasing cost • Other objectives besides total weighted completion time • Multiprocessor

  22. Reference • J. Kulkarni and K. Munagala, Algorithms for cost aware scheduling, in Proceedings of 10th International Workshop on Approximation and Online Algorithms (WAOA 2012), 201-214. • S. Leonardi, N. Megow, R. Rischke, L. Stougie, C. Swamy and J. Verschae, Scheduling with time-varying cost: deterministic and stochastic models, in 11th Workshop on Models and Algorithms for Planning and Scheduling Problems (MAPSP 2013). • G. Wan and X. Qi, Scheduling with variable time slot costs, Naval Research Logistics, 57 (2010) 159-171.

  23. Thank you very much!

More Related