subject

We have n activities. Each activity requires ti time to complete and has deadline di . We would like to schedule the activities to minimize the maximum delay in completing any activity; that is, we would like to assign starting times si to all activities so that max1 <= i <= n{âi} is minimized, where âi = fi â di is the delay for activity i and fi = si + ti is the finishing time for activity i. Note that we can only perform one activity at a given time (if activity i starts at time si , the next scheduled activity has to start at time fi).
For example, if t =< 10, 5, 6, 2 > and d =< 11, 6, 12, 20 >, then the optimal solution is to schedule the activities in the order < 2, 1, 3, 4 > to obtain starting/finishing times s/f =< 5/15, 0/5, 15/21, 21/23 > and achieve a maximum delay of 9 (for the third activity).
(A) State and prove the greedy choice property for this problem.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 05:10
Suppose we have a byte addressable computer that has a 32-byte cache with 8 bytes per block. the memory address is 8 bits long. the system accesses memory addresses (in hex) in this exact order: 6e, b9, 17, e0, 4e, 4f, 50, 91, a8, ab, ad, 93, and 94. (a) assuming the cache is direct mapped, what memory addresses will be in cache block 2 after the last address has been accessed? (b) assuming the cache is direct mapped, what is the hit ratio for the entire memory reference sequence given, assuming the cache is initially empty? (c) assuming the cache is 2-way set associative with a lru replacement policy, what is the hit ratio?
Answers: 3
question
Computers and Technology, 25.06.2019 04:30
If you have watched pretty little liars(pll)what are the names of the main characters? all of them and the boyfriends and girlfriends too.
Answers: 2
question
Computers and Technology, 25.06.2019 05:00
Brad wants to buy flowers for his friend with 33 dollars.the daisies are 1 dollar each and the roses are 2 dollars each he buy 3 more daisies than roses how much did the roses cost
Answers: 2
question
Computers and Technology, 25.06.2019 08:30
While using pert (program evaluation review technique) and cpm (critical path method) techniques, activities that are not on the critical path are more inflexible than those activities on the critical path. select one: true false
Answers: 1
You know the right answer?
We have n activities. Each activity requires ti time to complete and has deadline di . We would like...
Questions
question
Mathematics, 03.04.2020 00:21
question
English, 03.04.2020 00:21
question
Mathematics, 03.04.2020 00:21
question
Mathematics, 03.04.2020 00:21
Questions on the website: 13722363