Page - 27 - in Algorithms for Scheduling Problems
Image of the Page - 27 -
Text of the Page - 27 -
Algorithms 2018,11, 66
Algorithm1
Input: Segments [pLi ,p U
i ] for the jobs JiāJ . ThepermutationĻk=(Jk1, Jk2, . . . , Jkn).
Output: TheoptimalityboxOB(Ļk,T) for thepermutationĻkāS.
Step1:FOR i=1 tonDOset pĢLi = p L
i , pĢ U
i = p U
i ENDFOR
set tL= pĢL1, tU= pĢ U
n
Step2:FOR i=2 tonDO
IF pĢLi < tLTHENset pĢ L
i = tLELSEset tL= pĢ L
i ENDFOR
Step3:FOR i=nā1 to1STEPā1DO
IF pĢUi > tU THENset pĢ U
i = tU ELSEset tU= pĢ U
i ENDFOR
Step4:Set pĢU0 = pĢ L
1, pĢ L
n+1= pĢ U
n .
Step5:FOR i=1 tonDOset dĢāki =max {
pĢkLi , pĢ U
kiā1 }
, dĢ+ki =min {
pĢUki , pĢkLi+1 }
ENDFOR
Step6:SetOB(Ļk,T)=ĆdĢāi ā¤dĢ+i [ dĢāki , dĢ +
ki ]
STOP.
3.3. TheLargestRelativePerimeterof theOptimalityBox
If the permutation Ļk ā S has the non-empty optimality boxOB(Ļk,T) = ā
, then one can
calculate the lengthof therelativeperimeterof thisboxas follows:
PerOB(Ļk,T)= ā
JkiāJ(Ļk) uākiā lāki
pUkiāpLki , (2)
whereJ(Ļk)denotes thesetofall jobs JiāJ havingoptimalitysegments [lāki,uāki]withthepositive
lengths, lāki<u ā
ki , in thepermutationĻk. It is clear that the inequality lāki<u ā
ki mayholdonly if the
inequalitypLki< p U
ki holds. Theorem3givesthesufļ¬cientandnecessaryconditionforthesmallestvalue
ofPerOB(Ļk,T), i.e., the equalitiesJ(Ļk) =ā
andPerOB(Ļk,T) = 0hold for eachpermutation
Ļk ā S. Anecessaryandsufļ¬cient condition for the largestvalueofPerOB(Ļk,T) = n is given in
Theorem4. Thesufļ¬ciencyproofofTheorem4isbasedonProcedure2.
Theorem4. For theproblem1|pLi ⤠pi⤠pUi |āCi, there exists apermutationĻkāS, forwhich the equality
PerOB(Ļk,T)=nholds, if andonly if for eachblockBrāB, either |Br|= |Bār |=1orBr=Bār āŖB+r with
|Br|=2.
Proof. Sufļ¬ciency. Let the equalities |Br|= |Bār |= 1hold for eachblockBr ā B. Therefore, both
equalities Br = Bār and |B|= nhold. Due toTheorem2 andLemma3, all jobsmust be ordered
with the increasingof the left boundsof the coresof theirblocks ineachpermutationĻk ā S such
thatOB(Ļk,T) =ā
. Each job Jki āJ in thepermutationĻk = (Jk1, Jk2, . . . , Jkn)has theoptimality
segments [lāki,u ā
ki ]withthemaximalpossible length
uākiā lāki = pUkiāpLki. (3)
Hence, thedesiredequalities
PerOB(Ļk,T)= ā
JkiāJ(Ļk) pUkiāpLki
pUkiāpLki =n (4)
hold, if theequalities |Br|= |Bār |=1holdforeachblockBrāB.
Let thereexistablockBrāB suchthat theequalitiesBr=Bār āŖB+r and |Br|=2hold. It is clear
that theequalities |Bār |= |B+r |=1holdaswell, and job Jki fromthesetBār (fromthesetB+r ) in the
permutationĻkhas theoptimality segments [lāki,u ā
ki ]with themaximalpossible lengthdetermined
27
back to the
book Algorithms for Scheduling Problems"
Algorithms for Scheduling Problems
- Title
- Algorithms for Scheduling Problems
- Authors
- Frank Werner
- Larysa Burtseva
- Yuri Sotskov
- Editor
- MDPI
- Location
- Basel
- Date
- 2018
- Language
- English
- License
- CC BY 4.0
- ISBN
- 978-3-03897-120-7
- Size
- 17.0 x 24.4 cm
- Pages
- 212
- Keywords
- Scheduling Problems in Logistics, Transport, Timetabling, Sports, Healthcare, Engineering, Energy Management
- Categories
- Informatik
- Technik