Inf2 Tutorial 4Sharon Wul March 19, 2009Sharon Wul Inf2 Tutorial 4Load BalancingInput: m identical machines; n jobs; job j has a process time tj Job j must run contiguously on one machine. A machine can process at most 1 job at a time.Def. Let a be a mapping function which assigns each job to onemachinea :f1;:::;ng!f1;:::;mg{!a({)Assumption. The number of jobs is larger than the number ofmachinesn>mSharon Wul Inf2 Tutorial 4Load BalancingDef. The load on machine i isXL = ti kk:a(k)=iDef. The Maximal load on any machine isXL = arg max L = arg max ti k1im 1imk:a(k)=iSharon Wul Inf2 Tutorial 4Load Balancing - Problem De nitionMinimize the total run time of all the jobs, In other words..Assign each job to a machine such that the Maximal load isminimized (why?)(Scary) Formulation used in the lecture,Xa = argminH(a) = argminf max tgka a 1imk:a(k)=iSharon Wul Inf2 Tutorial 4Xtkk:a(k)=iis the load on the i’th machine.Xmax tk1imk:a(k)=iis taking the maximum load over all machines (this is essentiallyL, the maximum load).A Word On Mathematical NotationXa = argminH(a) = argminf max tgka a 1imk:a(k)=iReading from right to left..Sharon Wul Inf2 Tutorial 4is the load on the i’th machine.Xmax tk1imk:a(k)=iis taking the maximum load over all machines (this is essentiallyL, the maximum load).A Word On Mathematical NotationXa = argminH(a) = argminf max tgka a 1imk:a(k)=iReading from right to left. ...
Voir