• Nie Znaleziono Wyników

Single-machine scheduling with release times, deadlines, setup times, and rejection

N/A
N/A
Protected

Academic year: 2021

Share "Single-machine scheduling with release times, deadlines, setup times, and rejection"

Copied!
12
0
0

Pełen tekst

(1)

Delft University of Technology

Single-machine scheduling with release times, deadlines, setup times, and rejection

de Weerdt, Mathijs; Baart, Robert ; He, Lei

DOI

10.1016/j.ejor.2020.09.042

Publication date

2021

Document Version

Final published version

Published in

European Journal of Operational Research

Citation (APA)

de Weerdt, M., Baart, R., & He, L. (2021). Single-machine scheduling with release times, deadlines, setup

times, and rejection. European Journal of Operational Research, 291(2), 629-639.

https://doi.org/10.1016/j.ejor.2020.09.042

Important note

To cite this publication, please use the final published version (if applicable).

Please check the document version above.

Copyright

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons. Takedown policy

Please contact us and provide details if you believe this document breaches copyrights. We will remove access to the work immediately and investigate your claim.

This work is downloaded from Delft University of Technology.

(2)

ContentslistsavailableatScienceDirect

European

Journal

of

Operational

Research

journalhomepage:www.elsevier.com/locate/ejor

Discrete

Optimization

Single-machine

scheduling

with

release

times,

deadlines,

setup

times,

and

rejection

Mathijs

de

Weerdt

a,1,∗

,

Robert

Baart

a,1

,

Lei

He

a,b,1

a Faculty of Electrical Engineering, Mathematics and Computer Science, Delft University of Technology, Van Mourik Broekmanweg 6, XE Delft 2628, the

Netherlands

b College of Systems Engineering, National University of Defense Technology Changsha 410073, China

a

r

t

i

c

l

e

i

n

f

o

Article history: Received 5 October 2019 Accepted 28 September 2020 Available online 3 October 2020

Keywords: Scheduling Order acceptance Dynamic programming Decision diagrams Fixed-parameter tractability

a

b

s

t

r

a

c

t

Single-machineschedulingwherejobshaveapenaltyforbeinglateorforbeingrejectedaltogetherisan important(sub)probleminmanufacturing,logistics,andsatellitescheduling.ItisknowntobeNP-hardin thestrongsense,andthereisnopolynomial-timealgorithmthatcanguaranteeaconstant-factor approx-imation(unlessP=NP).Weprovideanexactalgorithmthatisfixed-parametertractableintheslackand themaximumnumberoftimewindowsoverlappingatanypointintime,i.e.,thewidth.Thisalgorithm hasaruntimeexponentialintheseparameters,butquadraticinthenumberofjobs,evenwhenmodeling sequence-dependentsetuptimes.Wefurtherprovideafixed-parameterfully-polynomialtime approxima-tionscheme(FPTAS)withonlythiswidthasaparameter,havingaruntimeboundthatiscubic.Finally, weproposeaneighbourhoodheuristicsimilartotheBalas-Simonettineighbourhood.Allalgorithmsuse anefficientrepresentationofthestatespaceinspiredbydecisiondiagrams,wherepartialsolutionsthat areprovablydominatedareexcludedfromfurtherconsideration.Experimentalevidenceshowsthatthe exactmethodsignificantlyoutperformsthestate-of-the-artoninstanceswherethewidthissmallerthan onethirdofthenumberofjobsandfindsoptimalsolutionstopreviouslyunsolvedinstances.TheFPTAS iscompetitivetostate-of-the-artheuristicsonlywhenthewidthissignificantlysmaller,butthe neigh-bourhoodheuristicoutperformsmostotherheuristicsinruntimeorquality.

© 2020TheAuthor(s).PublishedbyElsevierB.V. ThisisanopenaccessarticleundertheCCBYlicense(http://creativecommons.org/licenses/by/4.0/)

1. Introduction

Satellite observation scheduling (Bianchessi, Cordeau, Desrosiers, Laporte, & Raymond, 2007), order acceptance and scheduling in make-to-order systems (Oguz, Sibel Salman, & Bilgintürk Yalçın, 2010), and the orienteering problem with time windows (Gunawan, Lau, & Vansteenwegen, 2016; Labadie, Mansini, Melechovský,& Wolfler Calvo,2012) can all be seen as instances of a single-machine order acceptance and scheduling problem with sequence-dependent setup times (Slotnick, 2011). This probleminvolvesboth adecisionon includingan order/visit and finding a schedule/sequence that meets release time and (hard) deadline constraints, mayneed toaccount for setup/travel times that depend on the previous order in the sequence, and simultaneously minimizesthetotaltardiness. Intheremainder of

Corresponding author.

E-mail address: M.M.deWeerdt@tudelft.nl (M. de Weerdt).

1 This article is based on the Master’s thesis work of Baart (2018) . The authors

contributed equally to this work.

thispaper,werefertothisschedulingproblemwithreleasetimes, deadlines and rejection as the Order Acceptance and Schedul-ing (OAS) problem. OAS is at least as hard as single machine with release times and deadlines (without the “acceptance” and sequence-dependence elements), which is strongly NP-hard by a trivial reduction from 1

|

ri

|

Lmax (Brucker, 2007), even if instances are restricted to contain processing times of only two different non-unitlengths(Elffers&deWeerdt,2017).

1.1. Problemdefinition

In the order acceptance and scheduling problem the aim is to maximize the revenue of accepted jobs minus their tardiness penalty.First,however,weexpressthis(asaminimization) prob-lem in the commonly used three-field notation for scheduling problems(Pinedo,2012): 1

|

rj; sjk; reject; ¯dj

|

 j∈R wjTj−  j∈R

v

j.

In this notation, the 1 is for the single machine, rj means that every job j has a release time rj. The term sjk means that jobs https://doi.org/10.1016/j.ejor.2020.09.042

(3)

may have sequence-dependent setup times (which in ourmodel start after the releasetime) in addition to their processing time pj, and d¯j means that the completion time Cj of j should meet the followingconditionforj givena precedingcompletion ofjob i:max

{

rj,Ci

}

+si j+pj≤ Cj≤ ¯dj.Weuse0 todenotetheindexof a dummyfirstjobsuch thats0jisthesetup timeforjobjincase itisthefirstjob.Theterm“reject” islesscommon,butisusedfor example by Zhang,Lu, andYuan(2009) todenote that anyjob j can berejectedata “penalty

v

j”;thenotationRindicatesthe set ofrejectedjobs.Theotherelementinthe(minimization)objective functioninthethree-fieldnotationisthetotalweightedtardiness of allnon-rejectedjobs, i.e., j∈RwjTjwhere Tj=max

{

Cj− dj,0

}

withdj≤ ¯djbeingaduedate.

In this paper we use the positive interpretation of order ac-ceptance and scheduling (OAS), where we aim to maximize the revenue of accepted jobs j∈R

v

j minus their tardiness penalty 

j∈RwjTj.This problemisequivalent tothe minimization objec-tive except when analyzingthe approximation ratio.This can be seenforexamplewhenalmostall jobscanbescheduledontime: thevalue oftheoptimalsolutioninourformulationisthen close to j

v

j andthe performance ratio is the approximatevalue di-videdby thevalue oftheoptimalsolution(soavalue justbelow 1), while fortheminimization objectivethe value ofthe optimal solution is close to 0,and the performance ratio foran instance wouldbecomputedbytheapproximatedresultdividedbythe op-timalvalue,whichmaygivequitealargeratio(possiblyinfinite).

The results in this paper immediately also hold when the tardiness objective and/or the sequence-dependent setup times are left out. Without total tardiness, the problem can be de-scribed by 1

|

rj; sjk; reject; ¯dj

|

jR

v

j and is referred to as the Orienteering Problem with Time Windows (OPTW) (Gunawan et al., 2016; Labadie et al., 2012). Additionally removing the sequence-dependentsetuptimesoccursintheliteratureastheJob Interval Selection Problem (JISP)orthe ThroughputMaximisation Problem (Kolen,Lenstra,Papadimitriou,& Spieksma,2007),which isdescribedby1

|

rj; reject; ¯dj

|

jR

v

j.

As OPTWandJISP are specialcases,OAS isclearlyNP-hard. A minimal hard specialcasewithrejectionis1

|

reject; ¯dj

|

jR

v

j, to whichtheknapsackproblemcanbe straightforwardlyreduced. Findingamaximalpolynomiallysolvablecaseisnon-trivial,as re-jectionisnot consideredinthe complexityhierarchyfor schedul-ingproblemsbyBrucker(2007).Thereis,though,astrongrelation betweentheobjectiveofweightedtardinessandofrejectionwith revenue: define a “lateness” penalty function that is 0when the job finishesbefore the due date, linearlyincreases with lateness untilthejobrevenueisreachedandthenstaysconstantatthejob revenue.Asafurtherrestrictiontopj=p enablespolynomial algo-rithmsfortotaltardiness(i.e.,1

|

pj=p

|

jTjbyBaptiste(2000)), thisisagoodcandidateforapolynomialspecialcaseofOAS. Pro-viding the respective polynomial algorithm, however, wouldalso close a long-standing open problem for (regular) weighted total tardiness (Brucker, 2007), which is not the focus of the current contribution.

1.2. Example

AnexampleOASprobleminstanceconsistingof4jobsisshown inTable1.Inthisproblemthereisnotimejobs1and4bothcould start,sothereareatmost3jobswithoverlapping(start)time win-dows.Sincefurthermorethereisatimeatwhichexactly3jobscan start (e.g.,at3),wesay thewidthofthisproblemis3.The opti-malsequence is1→3→4,withcompletion timesat4,8and11, arejectionpenaltyof3,andatotaltardinessof0.However,ifthis problemisseenasthefirst4jobsofalargerproblem,thenthere aremultiplesequencesthatmaylaterleadtoanoptimalsolution, assomewithhighercostscompleteearlier,potentially allowinga

Table 1

Example OAS problem instance consisting of 4 jobs. The setup times are not shown in the table; they are s i j = 1 for all i , j except s 04 = s 41 = s 43 = 2 .

i ri pi di di vi

1 0 3 7 8 2

2 2 2 9 10 3

3 3 3 8 10 4

4 6 2 13 14 2

Fig. 1. The grey bars denote the availability windows of jobs in the example. The length of the grey bars represent the slack.

betterselectionofsubsequentjobs(withahighpenalty).Fig.1 il-lustratesthetimewindows(andthustheslack)ofthejobsinthe example.

1.3. Relatedwork

The aim of our research is to findalgorithms that give guar-anteed (near)-exact solutions without an exponential growth of the runtime in the size ofthe input, i.e., the numberof jobs n. SuchalgorithmsthussolveaninstanceofsizeninO

(

f

(

k1,k2,...

)

·

poly

(

n

))

time for some computable, typically super-polynomial function f(Downey &Fellows, 2013).In thisboundthe exponen-tialelementiscapturedbythisfunctionfofoneormore param-eters k1,k2,... ofthe problem instances. Algorithms with such a

property are calledfixed-parameter tractable (FPT). If the degree ofthis poly(n) function is small,this isa stronger property than polynomial-timesolvabilityforconstantk:analgorithmrunningin timeO(nk) canbe impracticalforlarge nevenforsmallvaluesof

k.

AvariantoftheJISP withoutreleasetimesandwithweighted completiontimeasobjective(insteadoftardiness)isFPTbytaking anytwoout ofthefollowingthreeasparameters:thenumberof distinctprocessingtimes,thenumberofdistinctpenalties,and/or the maximum number of jobs to be rejected (Mnich & Wiese, 2015). Ifonlythe numberofrejectedjobsisthefixed parameter, theproblembecomesW[1]-hard,whichprohibitstheexistenceof suchafixed-parameteralgorithmunlessFPT=W[1].

There are FPT results forscheduling problems without allow-ing rejection.Theseuse other parameters, such asthepartial or-derwidthoftheprecedencerelations(Fellows&McCartin, 2003), thenumberofmachines,thelooseness,andtheslackfora multi-machine scheduling problem (van Bevern, Niedermeier, & Suchý, 2017), orthenumberof differentduedates,ofdifferent process-ing times,ofdifferentweights, andoftime windows overlapping inanypointintime(w)(vanBevernetal.,2016).However,before theworkpresentedinthispaper,itwasunknownwhetherOASis FPT.

BesidesconsideringFPT,approximationalgorithmsmayprovide desiredguarantees.However,unlessP=NP,thereisno polynomial-time algorithm that guarantees a constant-factor approximation for OAS (Nobibon & Leus, 2011). A weaker negative result holds

(4)

for JISP: a polynomial-time 2-approximation exists, but there is no polynomial-time approximation scheme (PTAS), i.e., a family of algorithms with arbitrary precision where the approximation is at least 1



times the optimal value (Spieksma, 1999) (for maximization). Thisalsoforbidsthe existence ofa so-calledfully polynomial-time approximation scheme (FPTAS), where addition-allytheruntimeofthealgorithmispolynomialin 1

 aswellasin

theinputsize. 1.4. Contributions

In spiteofthesenegativeapproximabilityresultsfromthe lit-erature,weprovideanFPTASfortheOASproblem,which general-izes theproblems discussedabove:first,OAS is showntobe FPT in the parameters ofthe widthw (i.e.,the maximumnumber of overlapping time windows)andthe slack

σ

,which isdefined as maxj

{

d¯j− pj− rj

}

.Inparticular,we provideafixed-parameter al-gorithmwitharuntimeboundofO

(

n2· w2

σ

2w

)

.Themaintwo in-sights leadingtothisresultarethat adynamicprogramming for-mulationcanbegiveninwhichthestatespaceisnotexponential in n(but in wonly), andthat the state spacecan be further re-ducedw.l.o.g. by implementinga so-calleddominance rule.From the viewpointofrecent workon usingdecisiondiagramsfor op-timization(Bergman,Cire,VanHoeve,& Hooker,2016),this dom-inance rulecan be seenasa specialcaseofa state mergingthat iswithoutlossofinformation,andcanbeappliedacrossdifferent layers.

Second, using only w as a parameter, an FPTAS is presented with a runtime bound of O

(

n3·w22w

2

)

. To the best of our

knowl-edge,thisisafirstfixed-parameterFPTASforschedulingproblems: forevery



>0,theproblemcanbe

(

1−



)

-approximatedintime O

(

f

(

w

)

· poly

(

n,1



))

.

Thisparameterwlimitsthenumberofjobsthatareavailableat thesametime.Thiswidthissmallerthanthetotalnumberofjobs in manyreal-life situationswhere thelength oftime-windowsis smallerthantheproblemhorizon,forexampleinsatellite schedul-ing (where jobsare only available when the satellite is nearthe locationinitsorbit(He,deWeerdt,&Yorke-Smith,2019b)),or ve-hicle routing (where sometimes time slots fordelivery are given in minutes while theschedule is inhours (Qureshi,Taniguchi, & Yamada, 2009)).Formore generalinstances, weprovide a neigh-bourhoodheuristicenforcingsuchalimitedwidthartificially.

All three algorithms are evaluated against a recent success-ful exactbranch-and-pricemethod (Silva,Subramanian,& Pessoa, 2018) as well as state-of-the-art heuristics HSSGA (Chaurasia & Singh, 2017), ILS (Silvaet al., 2018) andTabu-Based Large Neigh-bourhood Search (He, de Weerdt,& Yorke-Smith, 2019a). The ex-actmethodfindsoptimalsolutionsforinstancesthathadnotbeen solved to optimality before,which alsocontributesto our under-standingofthequalityofheuristics.

2. Background

Apartfromthe literaturementioned intheintroduction,there are a number of related results on exact and approximate algo-rithms.Wealsodiscussstate-of-the-artheuristicsinthissection. 2.1. Exactapproachestosimilarproblems

Anapproachthatisclosetoourexactalgorithmisthatof find-ing themaximum(weighted) independentsetinaso-calledstrip graph (Halldórsson& Karlsson,2006). Such astrip graphcan en-code aJISP: eachpossible starttime ofa job isrepresented bya vertex and the vertices of each job form a clique. Vertices from jobswithoverlappingtimeintervals[tj,tj+pj

)

arealsoconnected.

Eachjob-start-timevertexcan beassignedaweight

v

j.The max-imum (weighted) independent set in this graph then represents the feasible schedule with the most(valuable) jobs. Finding this withdynamicprogrammingcan bedone inruntimelinearinthe number of vertices in this graph and exponential in the width. Thisspecificgraphencodingdoesnotencodesequence-dependent setuptimesandminimizingthetotalweightedtardiness.

Other exact approaches are based on mixed-integer program formulations. For example Silva et al. (2018) have shown that a branch & price method outperforms a time-indexed formulation (TIF). Li and Ventura (2020) have run benchmarks of size up to 30jobs toshow that adynamic programming-based solutionfor OAS,butwithoutreleasetimesalsooutperformsTIF.

Additionally removing the possibility of rejection from the problem, and minimizing the (weighted) number of tardy jobs, Hermelin,Karhi,Pinedo,andShabtay(2018)show thatthis prob-lemvariantisFPT foranytwooutofthreeparameters.These pa-rametersarethenumberofdifferentduedates, processingtimes, andweightsinthesetofinputjobs.

2.2. Decisiondiagrams

A recent efficient approach to solving sequencing problems uses arepresentation calleddecisiondiagrams (Cire& van Hoeve, 2013; Hooker, 2017). This representation has strong similarities to (bounded) search trees as well as to dynamic program-ming (Woeginger, 2003): as in search trees, the state space is representedbya graphwhereverticesrepresentstatesandedges represent decisions; similar to dynamic programming, whenever decisionsleadtostatesforwhichfurtherdecisionsareequivalent, these can be represented and considered only once.2 This leads

to a directed acyclic graph with two special vertices: a vertex without incoming edges, the root s, representing the complete problem, and a vertex without outgoing edges, the sink t, rep-resentingthe state whereno further decisions haveto be made. The paths in thisgraph fromthe rootto the sinkrepresent (all) feasiblesolutions.Whenweightsontheedgesrepresentcosts,the shortests− t path representsan optimalsolution. See the book byBergmanetal.(2016)foramorecompleteintroduction.

Alsoforsingle-machinescheduling(butwithoutallowing rejec-tion), thisapproach hasbeen quitesuccessful: fromrootto sink, each edgerepresentsthe nextjob tobe scheduled,resulting ina diagram with as manyso-called layers as the number ofjobs n, andatmostO(2n)statesinone layer(i.e.the width) intheexact representation.Cireand vanHoeve(2013) define a wayto parti-tionstatesina layerandmergethem accordinglyin orderto re-strict the size of the diagram to a certain width. They have in-tegratedthisapproach intoa constraintprogramming solver,and haveshown that this can be used to solve problems wherejobs have precedence constraints aswell. Hooker (2017) definesstate mergingheuristicsfornodesinthesamelayerbasedonfinishtime andshortestpathandcomparestheseexperimentally.

Fromtheviewpointofdecisiondiagrams,ourpapershows(1) howto extendthisapproach toincluderejectionofjobs, (2)that itisthenusefultomergenodesfromdifferentlayers,(3)thatthe size/widthofthe diagram thenisexponential onlyinparameters slackandthemaximumnumberwofoverlappingtime windows, andpolynomialotherwise,(4)thatthisthusimpliesexistenceofa fixed-parametertractablealgorithm,(5)thatsomestatesdominate othersandthe dominatedstatescan be removedwithout lossof optimality, and6) thereexistsa nodemergingoperator that con-structsarestricteddiagramofsizeexponentialonlyinwthatcan

2 Although in general finding out which states are equivalent could be NP-

(5)

Table 2

Runtime (in seconds, showing the four most significant digits) of exact methods on instances by Cesaret et al. (2012) with 50 and 100 jobs and τ= 0 . 9 . The best average runtime is highlighted in bold. A ‘-’ indicates that the runtime limit of 3600 seconds is met. If not all 10 instances were within the time limit, the number of successful instances used to compute the average is given in parentheses.

Exact method (EM) EM without domination B&P

n R σ w Min Avg Max Min Avg Max Avg

50 0.1 89 10.1 0.45 0.7245 1.22 2.239 3.838 6.459 304.6 0.3 141.6 11 0.448 1.568 2.36 3.047 11.76 17.76 15.70 0.5 190.8 12.8 1.991 9.282 47.32 16.97 61.92 197.6 76.10 0.7 251.9 14.5 3.571 27.61 112.1 38.08 272.2 1334 54.00 0.9 325.6 15.5 4.996 280.9 1522 30.59 653.8 (8) - 238.0 100 0.1 166.4 18.9 123.6 313.0 833 868.1 1966 (9) - - 0.3 275.6 18.7 158.7 919.8 2783 1336 2100 (3) - - 0.5 392.5 20.6 694.5 1373 (5) - - - - -

guaranteeanarbitrarybound



ontheoptimalityofthesolutionin runtimepolynomial (exceptforw)inthe inputand



,i.e.,a fully polynomial-timeapproximationschemeinparameterw.

2.3. Approximationalgorithmsforsimilarproblems

For OAS without sequence-dependent setup times, deadlines, and witha makespan objectiveinstead of tardiness, Zhanget al. (2009)provideadynamicprogramwithruntimeO

(

nj

v

j

)

.They usetheresultthat1

|

rj

|

Cmax canbesolved byconsideringjobs or-dered on earliest release date (Lawler, 1973). This leads to a 2-approximationinO(n2)andaFPTASinO

(

n3



)

.

ForJISP(or, astheycall it,the1-machinethroughput maximi-sation problem),Berman and DasGupta (2000) provide an FPTAS providing a 2

1−-approximation inO

(

n2

)

, along resultsfor

multi-plemachines. 2.4. Heuristics

Exact approaches to the OAS (and variants) are notorious for beingfeasible onlyforsmallproblemsizes. Forexample,forOAS where asubset of jobsisrequired tobe scheduled,Nobibon and Leus(2011)showthatastate-of-the-arttime-indexedformulation isunable tosolveone-thirdofasetofinstancesofsizen=40to optimalityinundertwohours.Theiradvancedtwo-phase branch-and-boundapproachreachesthislimitfor1outof18instancesof sizen=50.Morerecently,Silvaetal.(2018)showthatforn=100 almost no instance issolved to optimality within a time limit of onehour(forfourdifferentapproaches).

In situations wherelarger problemsneed tobe solved, or de-cisions needto be takenwithin secondsratherthan hours, inex-act approachesare used. We discusshere the three most recent successful heuristicsforOAS. First, inthe hybridsteady-state ge-netic algorithm (HSSGA) by Chaurasia and Singh (2017) in each generation only the worst member of thepopulation is replaced by asingleoffspring.Thisoffspringisproducedusingmulti-point crossoverthat maintainsasubsetofjobsandtheirrelative order-ing, and subsequently inserts other jobs greedily, also consider-ing the setup times.Additionally,a local search procedure swap-ping jobsfurther aimsto improvethiscandidatesolution.HSSGA produces solutions to a set of benchmark problem instances of n=100that arebetween1and12%ofanupperbound,inon av-erageabout12seconds.Theseresultsaresignificantlybetterthan TabuSearch (Cesaret,O˘guz,&Salman,2012) andtheArtificialBee Colonyalgorithm(Lin&Ying,2017),andmarginallybetterthanan evolutionaryalgorithmproposedinthesamepaper(EA/G-LS).

Second, based on a series of papers using iterated local search for scheduling with sequence-dependent setup times by SubramanianandFarias(2017),amulti-startalgorithmisproposed specificallyforOAS,whichisdenotedbyILS(Silvaetal.,2018).ILS also significantly outperforms Tabu Search (Cesaret et al., 2012),

producing better solutions in 60% of the instances compared to failingto doso inonly 7.6%.The bestsolutions found by ILS are also better than those found by DRGA, GA, HH,and LOS, as re-portedbySilvaetal.(2018),usingresultsfromNguyen(2016).

Finally, He et al. (2019a) report that a hybrid method of TabuSearchandAdaptiveLargeNeighborhoodSearch,denotedby ALNS/TPF,outperformsILSaswell asa simplerhybridbyLiu, La-porte,Chen,andHe(2017)onthesamesetofinstances.

3. AnexactdynamicprogrammingmethodforOAS

Inthissection anexactmethodforOASisproposed. Through-out we assume without loss of generality that the deadline d¯j for each job j is set such that including the job right before thisdeadline,sowithcompletiontime d¯j andthus tardinessTj=

¯

dj− dj, does not have higher total costs than excluding it, i.e.,

wj· Tj

v

j. The exact algorithm is basedon the following recur-siveformulation ofthemaximumvalue ofasolution OPT(i,X,ti) forthesubproblemthatremainsafterihasbeenscheduled(asthe lastjob)atstarttimeti,andwhereXcontainsalljobsjthatcould have been scheduled at (or later than)Ci+si j, buthave already beenscheduled.ThesejobsXareexcludedfromthesetofalljobs F(i,ti)thatcanbefeasiblyscheduledimmediatelyafteri.Thevalue ofschedulingajobkF(i,ti)nextisthesumofitsrevenue

v

k mi-nus the (possibly 0) contribution to the weighted tardiness, and theeffectofthisdecisionontheremainderoftheschedule:

OPT

(

i,X,ti

)

= max kF(i,ti)\X

{

v

k− wk· Tk+OPT

(

k,Xk,tk

)

}

(1) where tk=max

{

Ci,rk

}

+sik X=X

{

k

}

Xk=X

\



jX

||

d¯j− pj<Ck+sk j



Tk=max

{

Ck− dk,0

}

F

(

i,ti

)

=



j

||

Ci+si j≤ ¯dj− pj



(2) WhenF

(

i,ti

)

\

X=∅thenOPT

(

i,X,ti

)

=0.Asbefore,weuseCkto denotethecompletiontimeofjobk,i.e.,tk+pk.Theoptimalcosts arethengivenbyOPT(0,,0).

The mostimportantidea ofthis dynamicprogram isencoded intheuseofthesetX,whichwecallthe(to be)excludedjobs.In agivenstate (i,X,ti), thesetX representsjobsthathave already beenscheduledandcanthus not beselectednext. Topreventan exponentialstatespacewithallsuchpossiblesubsetsofjobs,this setiskeptsmallerbyrestrictingittojobsforwhichthetime win-dowsallowschedulingthemintheremainingsubproblem.Thisis formallyexpressedinthedefinitionofXkwherejobsareremoved forwhichthelatestpossiblestarttimeisbeforethetimeatwhich the first job in the remaining subproblem can start. This signifi-cantlyreducestheruntimebound.

(6)

TheformulationinEq.(1)onlyconsidersfeasiblesequences of jobs, becauseatevery recursivestep: (i)only jobsareconsidered (inF(· , · ))thatcanbecompletedbeforetheirdeadline,(ii)the se-lectedjobkisscheduledatatimetkthatisguaranteedtobeafter its releasetime as well asafter the completion time of the pre-vious job,and thesequence-dependent setup time isconsidered, and(iii)nojobisconsideredtwice,becauseanyselectedjobis in-cludedinXuntilitslateststarttime.Furthermore,thevalue result-ing fromthisequationisoptimal,becausei)allpossiblenext fea-siblejobsareconsidered, andii)thescheduletimetkofthenext job kistheearliesttime itcanbescheduled(afterjobi) andthis isneverworsethanwaiting,bothbecauseofthetardinesscostsas wellasallowingformorejobswhencompletingearlier.

Theorem1. Adynamicprogrammingimplementationoftherecursive function specified in Eqs. (1) and (2) is a fixed-parameter tractable algorithm with parameters w and

σ

, and has a runtime bound of O

(

n2· w2

σ

2w

)

.3

Proof. Letwt bethenumberofjobsjthatincludetintheir avail-abilityinterval,i.e.,witht∈[rj,d¯j− pj]andletw=maxtwt,then

|

Xk

|

≤ wforallkbydefinition.Furthermore,let

σ

jbetheslackof job j,i.e., thenumberofallowed differentstartingtimesfor inte-gerdomains:

σ

j=d¯j− pj− rjandlet

σ

=maxj

σ

j.Thestatespace thenisO

(

n·

σ

2w

)

,as(i)therearenpossiblejobsi,(ii)foreachjob

σ

possiblestartingtimesti,4and(iii)foreachofthese(i,ti)pairs, there are atmost w jobsthat could be scheduled after i, which givesatotalof2w possiblesubsetsofjobsX.

Toarriveatanefficientruntime,intheimplementationwe pre-processedthetimewindowsofjobstofindperiodsinwhichthey are relevantandused apriorityqueuetogooverall statesin or-der of the start time of the last job. Further, we see that k can take at mostO(n) possible valuesineach step andittakes O

(

w

)

worktocomputetherespectivesetofjobs.Furtherittakesatmost log of thenumber ofstates to update the priorityqueue, which is O

(

logn+log

σ

+w

)

, thus O

(

w

)

in all cases except when w is verysmall(lessthano(logn)oro(log

σ

)).TheruntimethusisO

(

n2· w2

σ

2w

)

,whichisindeedFPTwithwand

σ

asparameters. 

Moreover,thisdynamicprogrammingalgorithmisFPTwithjust w as a parameter if the slack is less than the number of jobs; if release times and deadlines are given in unary it is pseudo-polynomialFPT.

4. Multi-valueddecisiondiagramsandstatedominance

The state space forthe FPT algorithm can be reducedby tak-ingtheperspectiveofadecisiondiagram:werepresenteachstate, i.e., eachcombinationofarguments(i,X,ti) thatoccursasa con-sequence ofEq.(1)by avertex, andeachkF(i,ti)ࢨXasan edge with (nonnegative) weight

v

k− wk· Tk. We define the value of a state

v

(

i,X,ti

)

tobethelengthofthelongestpathPfromtheroot node to(i,X,ti).Inthisdiagramwecanindicatesome statesthat arenotessentialforfindingtheoptimalsolution.

Definition 1. State s1=

(

i1,X1,t1

)

dominates state s2=

(

i2,X2,t2

)

if i1=i2, t1≤ t2,

v

(

s1

)

v

(

s2

)

, and X1⊆ X2∪



jX1

||

d¯j− pj≥ Ci2+si2j



.

Proposition1. Ifastates2 isdominatedbyanotherstates1,thenif thereisanoptimalsolutionhavings2 asasub-problem,thereisalso anoptimalsolutioncontainings1.

3 Unless w is o ( logn ) or o ( log σ).

4 Although this may be significantly less, since (1) σ is an upper bound of pos-

sible starting times over all jobs, or (2) when r i is larger than completion times of

preceding jobs – since then the optimal starting time would be r i .

The proof ofProposition 1 is straightforward asstate s1 puts

fewerrestrictionsthans2onsubsequentsequences,soanysolution

startingfroms2canalsobestartedfroms1.Sinces1hasatleastas

highavalueass2,thelatterisnotrequiredforanoptimalsolution.

Forany fixed job j and (to be) excluded jobs X, we thus can ignorestates(j,X,t) withboth alaterstart timeandlower accu-mulatedvaluethananyotherstate.Thisisaspecialcaseofastate mergingoperatorwherealldominatedstatesaremergedwiththe dominatingstate,andwheretheinvolvedstatesarenotnecessarily partofthesamelayer.

In this paper we refer to the exact algorithm that uses this dominanceruleastheExactMethod(EM).

5. ApproximatesolutionsforOAS

Theruntimeoftheexactmethodisboundedbyafunctionthat hastheslack

σ

asafactoranddependsexponentiallyonthewidth w.Inthissectionweshowhowtheexactformulationcanbeused intwo differentapproximation methods: the factorsigma canbe removedtoobtainaFPTAS,andthewidthcanbebounded,leading toaheuristic withanefficientruntimebutwithoutguaranteeon thevalue.

5.1. AnFPTASforOAS

Theeffectoftheslackontheruntimeisremovedbyan approx-imatestate mergingoperatorthatmergesstateswithfinishtimes tandvaluesthatarecloseenough(forfixedjandX).

Definition2. ForagivenjobjandexcludedjobsX,thetime-value Pareto frontP(j,X) is theset ofstates(j, X,t) that are not domi-nated(asdefinedinDefinition1).

Theideaofthe



-approximatestatemergingistopartitioneach setP(j,X)intoatmost n

 subsetswithsimilartime andvalue,and

remove allstates within eachsubset except fortheone withthe lowestvalue(andthussmallestpossibletime).

Definition 3. For a given job j and excluded jobs X, the



-approximate Pareto front P(j, X) is a set of states defined as follows. Let

v

min=minsP(j,X)

v

(

s

)

,

v

max=maxsP(j,X)

v

(

s

)

,



=

v

max−

v

min,and

δ

= n .ThensortstatesinP(j,X) ontheirvalue, andmake



δ



=

n



sets ofstatessuch that stateswithin a set

differatmost

δ

invalue.Foreachsubsetofthepartition, ‘merge’ allstatesintothestatewiththesmallestpossibletimet(andthus thelowestvalue),andremoveallothers.

Theorem 2. The maximum value solution when considering only states in the



-approximate Pareto front is at least 1−



timesthe optimalsolution,andtheruntimeisboundedbyO

(

n3·w22w

2

)

.

Proof. Each solution, represented by a path through the state space(ordecisiondiagram),intersectswithatmostnParetofronts P(j,X). Becauseofthe



-approximationofsucha front,this inter-sectioninvolvesastatewithanearliercompletiontime,whichhas at leastas many subsequent paths as anyother vertexwith the samejandX.Further,thisstatehasatmost (vmax−vmin)

n lessvalue thanthestateusedintheoptimalsolution.Giventhatastatewith a value

v

max can be extended trivially to a full solution (by not

addinganymorejobs),thevalueoftheoptimalsolutionOPT∗is al-waysatleast

v

max.Consequently,thetotallossforallnsuch

inter-sectionson apath together isboundedabove by



(

OPT

v

min

)

,

whichislessthan



OPT∗,because

v

min isnon-negative.Therefore

theoutcomeoftheapproximationisatleast

(

1−



)

· OPT∗. Regardingtheruntime,duetothe



-approximation,thenumber ofstateswiththesamejobandexcluded-jobsstateisnowlimited toO

(

n

)

,whereas thisisO(

σ

) intheexactalgorithm.Thisgivesa

(7)

bound on the number ofstates of O

(

n2·2w

)

. Calculating the next states remains at a cost ofnw asbefore, butmaintaining the



-approximationinvolvesanextraO

(

n



)

insertionprocedureforeach

newvertex.Theresultingalgorithmthereforehasaruntimebound ofO

(

n3·w222w

)

. 

Consequently, the proposed algorithm including the



-approximationoftheParetofrontisanFPTAS.

5.2. Neighborhoodheuristic

Theideaspresentedintheprevioussectioncanalsobeusedfor problemswithalargerwidthwbyintroducinganartificial neigh-borhood of size wˆ≤ w, similarto the Balas-Simonetti neighbour-hood used fortraveling salesman problems(Balas, 1999; Balas& Simonetti,2001;Gutin&Punnen,2006),butnowadaptedtoOAS, using theEM.The ideais todefine an artificialorderofthe jobs andonlyallowsolutionswheresubsequentjobsareclosetoeach otherinthisorder.

For OAS we define an approximate algorithm, which we call “Balas”,asfollows:we orderonlateststart timed¯j− pj,and en-surethat anytwosubsequentlyscheduled jobsi andj arewithin distance wˆ inthisorder, i.e.,

|

i− j

|

≤ ˆw.We consequentlymodify the dynamicprogram presented earlieras follows:(1) instead of considering all jobskF(i,ti)ࢨXthat can be started, we consider only the jobsinthe respective setthat come atmostwˆ before i when ordered by latest start time or at most wˆ after i. (2) The set Xk from Eq.(2) can be limited to jobs withindices differing at most wˆ from k. The runtime of this Balas heuristic is there-foreO

(

nwˆ3·

σ

4wˆ

)

.Thisalgorithmprovidesasolutionwithoutany

approximationguarantee.Itsperformance isevaluatedinthenext section.

6. Experimentalevaluation

The contributions of this paper are mainly theoretical, con-tributing tounderstandingthe structureofthe OASproblem, and inparticulartheroleofthewidthandtheslack.However,for solv-ingsuchproblemsinpractice,itisveryrelevanttoknowwhether theseideasbythemselvesaresufficienttooutperformthe state-of-the-art, developed overthepast decade(sinceOguz etal., 2010), and if so, for which problem instances – with which properties (amongwhich,ofcourse,thewidth,givenitsexponentialinfluence ontheboundontheruntime).Thisadditionalknowledgesupports theselectionofanalgorithmforspecificusecases.

Inthissectionwethereforepresentexperimentalevidence an-swering the following questions regarding the algorithmic ideas presentedinthispaper:

1. Is the effect of the dominance rule on runtime significant enough?

2. Doestheexactmethod(EM)outperformthestate-of-the-artin exact methods, andifso, forwhich probleminstance proper-ties?

3. Do the approximate solutions (FPTAS and Balas) outperform state-of-the-artheuristics,andifso,forwhichprobleminstance properties?

Regarding these problem properties we expect (1) that in-stanceswheresomejobswithashortprocessingtimehaveahigh revenue,andsomewithalongprocessingtimehavealowrevenue are easierfor the algorithms than when revenue and processing time arecorrelated,and(2)thatthewidthsignificantlyinfluences theruntime.Toverifythesehypotheses,weincludetwomore spe-cificexperimentstoanswerthefollowingquestions.

4. Howdoesthe performance of thenew algorithms depend on thewidthoftheprobleminstances,alsocomparedtoother al-gorithms?

5. Howdoesthe performance of thenew algorithms depend on thecorrelation ofrevenue andprocessingtime,also compared tootheralgorithms?

Questions1–3areansweredusingthestandardbenchmarkset forOAS fromCesaret etal.(2012);forquestions4and5wehave generatedtwonewbenchmarkinstances:onewherethewidthis varied acrosstheinstances,andone wherethecorrelationis var-ied.

6.1. Benchmarkprobleminstances

First,the standard OAS benchmark, usedin severalpapers af-ter itsfirst appearance(2012) containsinstances withsizesof10 to100jobs,randomlygeneratedusingafixedprocedureusingtwo parameters:atardinessfactor

τ

andaduedaterangeR(basedon an earlier model for scheduling problems (Beasley, 1990; 2018)). Processing times pj are drawn uniformly from a fixed range (of [0,20]), release times rj from the interval [0,

τ



jpj], sequence-dependent setup times sij from[1,10], and job revenues

v

j from [1,20]. Foreach due datedj, the interval fromwhich it is drawn is relatedto R, anddefinedby [1

τ

1

2R,1−

τ

+12R

(



jpj+

maxisi j+rj

)

. Any job with an infeasible combination of release time and due date is removed. This leads to problem instances suchasillustratedinFig.2.

Analyzing the width of the instances in this artificially gen-erated benchmark set, we see that for

τ

≤ 0.7, each instance has some time points which are included in the feasible time win-dow of at least half of the jobs, i.e., w1

2n. The methods

pro-posedin thispaper havea runtime(and memory use) exponen-tialin w,andindeed donot evencomplete inlessthan an hour for theseinstances. Here we therefore presentresults only for a subset with a widthup to about 25–30% ofall jobs:for

τ

=0.9 the instances have a width of 10–16 for n=50, and of 18–26 forn=100.

Second,thewidth-basedbenchmarksetwasgeneratedforR= 0.1 and widthw from3 to 19. Here we chose a wider rangeof time values,scalingby

α

=210=1024.Toexplore onlytheeffect

of width, the slack

σ

is drawn uniformly from a fixed range of [2406,2714].Processingtimespjaredrawnuniformlyfromafixed rangeof[1,2

α

],andsequence-dependent setuptimessij from[1, 10

α

/n].Jobrevenues

v

jaresetequaltopjtocreatemore challeng-inginstances(i.e.,fewerobviouslydominatedjobs).Releasetimes rj are set asearly aspossible, considering the jobs in the order they are generated,withoutexceeding the constant width. Dead-linesthenfollowbecausedj=

σ

j

(

rj+pj

)

,andduedatesdjare settodj− Rpi.Further,penaltyweightsaresuchthatthevalue be-comeszerowhenCj=dj.Aconsequenceoffixingtheslackisthat instanceswithalargewidthhavejobswithlongprocessingtimes andthuscanincludefewerjobsintheoptimalsolution.Foreach width,5suchinstancesarecreated,eachcontainingn=100jobs.

Third, the correlation benchmark set was generated using a parameter (c), which definesthe desiredcorrelation between job revenue and processing time. The procedure is similar to the one for the width-based benchmark (for a width of 7). Here

α

=240, and the slack

σ

j depends on R and is drawn from



5

2

α

(

1− R

)

+

α

,52

α

(

1+R

)

α

.Thesetuptimessijaredrawn uni-formly from the fixed range [1,

α

(

1− c

)

] and job revenue

v

j from the real range



cpj+

(

1− c

)

α

,cpj+

(

1− c

)

α

(8)

bench-Fig. 2. Example problem instances of OAS for n = 50 , τ= 0 . 9 , and R = 1 , 3, 5, 7, and 9.

mark data as well as the implementation of the methods intro-ducedinthisarticlearepubliclyavailable.5

6.2. Exactmethodsandtheeffectofthedominancerule

Thestate-of-the-artexactmethodwecomparetoisthe branch-and-price(B&P)approachbySilvaetal.(2018).Intheirrecent pa-per, thismethod is shown to outperform a number ofother ex-act methods.Sincetheirmethodisnotpubliclyavailablewe have

5https://doi.org/10.5281/zenodo.4048462 .

included theruntime results they reportedfor themachine they used,anInteli7-2600with3.40gigahertzand16gigabyteofRAM withatimelimit of3600seconds.6 Themachineusedinour

ex-periment is a comparable Intel Core i5-3470 3.20 gigahertzCPU with8gigabytememory.7 Runtimeresults(using asinglethread)

canbefoundinTable2.Foreachcombinationofparameters(each row)10differentinstancesweregenerated.Thesmallest(Min)and

6 The authors were so kind to inform us of the precise model over email. 7 According to https://www.cpubenchmark.net/singleThread.html the CPU we

(9)

largest (Max) runtimes (in seconds) are reported,as well asthe average over all 10 runs (Avg). When not all 10 runs are com-pleted within the time limit, the number of completed runs is given within parentheses. For n=100 with R=0.7 and R=0.9 both methods neededmorethan 1hourof computationtime,so thoseresultsareleftoutofthistable.

FromtheseresultsweobservethatalmostforallinstancesEM is faster than B&P, sometimes significantly so (e.g., for n=100 optimal solutions were found for some instances in less than 3 minutes where B&P always hit the time limit of one hour). This answers the second question regarding EM outperforming the state-of-the-art positively. We also see that the dominance rule reducestheruntimesignificantly(answeringthefirstquestion),so weenableitinallfurtherexperiments.

6.3. Heuristicmethods

Toanswerthethirdquestion,regardingtheperformanceofthe approximation algorithm FPTAS and the Balas heuristic, we give runtime and approximation (gap to optimal) results for FPTAS, Balas, aswell asfora numberof state-of-the-artheuristic meth-ods on these same benchmark instances. For the Balas heuristic weincluderesultsfortwodifferentvaluesforwˆ:5and12.To rep-resentthestate-of-the-artweincludethemostrecentlypublished heuristics:HSSGAbyChaurasiaandSingh(2017),ILSbySilvaetal. (2018),andALNS/TPFbyHe etal.(2019a). Onlyforthelatterwe hadaccesstotheoriginalsourcecode.Theimplementationofthe other two algorithms wasdone by oneof ourstudents,basedon the description in the respective publications. Results for HSSGA wereveryclosetothoseintheoriginalpaper.However,theresults ofILS were notconsistent withtheoriginallyreportedresults,so weindicatetheresultspresentedherebyILS∗.

Because for theseheuristicsruntime andquality on thesame instance may differ slightly fromone run to the next, each pre-sented resultis theaverage oftenrunson thesameinstance,so the averagesinthetable arebasedon100 runs. Table3presents these runtimes,showingthat the presented FPTASis competitive onlyforinstanceswithasmallwidth.

The quality of the results can be derived from Table 4. In the literature usually thegaps toan upperbound were reported, and these gaps were typically about 5 to 20% for these in-stances (Cesaret et al., 2012). Here, however, thanks to theexact methodpresentedinthispaper,wecannowforthefirsttime re-portthegaptotheoptimalsolution.Surprisinglythegapsto opti-mality arerathersmalloverall (around1%),proving that state-of-the-artheuristicmethodsdoreallywellandtheupperboundused inthepastisquiteloose.

Regarding theFPTASpresentedinthispaper,althoughithasa theoreticalguaranteeonthequality,itsgapsarelargerthanthose from HSSGA and ALNS/TPF, and its runtime in many cases sig-nificantly so.Comparingruntimes tothose ofthe exactmethods, we seethat, ascanbe expected,the heuristicmethods aremuch faster(butofcoursetheexact methodsprovidetheoptimal solu-tion). However, there are actually a few instances where the ex-actmethod(EM)isfasterthananyofthestate-of-the-artheuristic methods (for n=50withR=0.1 orR=0.3, seeTable 2).In the caseoftheFPTASthismayseemevenmoresurprising,sincethese methods are quite similar. However, the FPTAS has some over-head for identifying the



-approximate Pareto-dominated states. Also thejob revenuesandprocessing timesare not correlated in these instances, somany ofthe nodes that are merged inFPTAS aredominatedanyway.

The performanceofthe Balasheuristic ismuchmore interest-ing:Balas(5) (sowithwˆ=5) hasagap ofabout5–10%,which is better than ILS∗, butnotasgood asALNS/TPFandHSSGA,which

haveagapbelow1%.However,itappearstobethefastestheuris- Tab

le 3 Ru n ti m e (in seconds) of appr o x imat e me thods on ins tances by Cesar e t et al. (20 1 2) with 50 and 10 0 jobs, and τ = 0 . 9 . Fo r slac k σ and width w of these ins tances and runtimes of the e x act me thods, please re fe r to Ta b le 2 . The be st a v er ag e runtime is highlight e d in bold. FPT AS (  = 0 . 1 ) FPT AS (  = 0 . 05 ) Balas (5) Balas (1 2) HSSG A IL S ∗ ALNS/TPF n R Min Av g Max Min Av g Max Min Av g Max Min Av g Max Min Av g Max Min Av g Max Min Av g Max 50 0.1 0.618 0.956 1.59 0.71 1.09 1.91 0.2 0.269 0.421 0.319 0.476 0.909 3.74 3.89 4.01 2.8 3.18 3.76 2.77 2.96 3.07 0.3 0.652 1.87 2.67 0.71 2.15 3.29 0.11 0.302 0.438 0.287 1.05 1.64 3.86 3.96 4.04 3.11 3.42 3.87 2.9 3.18 3.43 0.5 2.36 9.04 32.8 2.71 11 45.5 0.227 0.591 2.37 1.13 5.91 36.9 3.75 3.97 4.18 3.88 4.47 5.1 3.25 3.55 3.93 0.7 4.34 30 115 4.73 33 121 0.316 0.814 1.96 2.09 7.5 24.8 3.81 3.93 4.05 4.18 5.26 6.1 3.42 3.93 4.33 0.9 5.25 269 1280 6.2 325 1660 0.3 1.2 3.73 2.39 29.3 103 3.87 4.04 4.35 5.48 6.13 7.03 3.93 4.5 5.43 100 0.1 154 358 960 179 453 1180 7.69 10.1 12.3 65.4 134 276 27.9 30.5 32.5 30.5 35.8 37.7 13.2 14 14.6 0.3 196 1230 - 244 1130 3590 1.18 4.72 9.47 13.3 104 225 25.5 28.8 31.5 37.1 41.4 44.1 13.8 14.7 16.5 0.5 886 1690 - 1040 2000 - 1.86 5.39 12.3 39.1 200 642 23.8 28.4 35.1 42.7 49.3 53.5 14.5 16.5 17.8

(10)

Ta b le 4 Gap to the op timal solution (%) of appr o x imat e me thods on ins tances by Cesar e t et al. (20 1 2) with 50 and 10 0 jobs, and τ = 0 . 9 . These op timal solutions we re no t kno w n be fo re , and ar e her e pr o v ide d by EM. The be st a v er ag e ga p is highlight e d in bold. FPT AS (  = 0 . 1 ) FPT AS (  = 0 . 05 ) Balas (5) Balas (1 2) HSSG A IL S ∗ ALNS/TPF n R Min Av g Max Min Av g Max Min Av g Max Min Av g Max Min Av g Max Min Av g Max Min Av g Max 50 0.1 0.4158 2.397 4.208 0.404 1.12 1.95 0 0.847 2.22 0 0 0 0 0.0921 0.4 12.6 14.6 18.4 0 0.268 0.356 0.3 0.9009 2.643 6.054 0.45 1.23 2.19 0.48 3 6.52 0 0.109 1.09 0 0.198 0.853 11.9 14.7 21.2 0 0.432 0.765 0.5 0.9218 2.392 3.606 0.234 1.29 3.04 0.603 5.76 9.37 0 0.561 1.49 0 0.132 0.537 8.31 11.8 15.4 0 0.477 0.615 0.7 1.803 2.877 4.303 0.549 1.22 1.85 2.05 6.3 10.7 0.0793 1.19 2.99 0.0205 0.22 0.577 8.98 12 13.9 0 0.0886 0.429 0.9 0.3471 2.439 4.099 0.902 1.33 2.11 3.33 6.28 12.3 0 1.33 3.5 0 0.191 0.334 6.7 10.2 15.6 0 0.214 0.704 100 0.1 0.627 1.816 3.272 0.322 0.916 1.8 1.65 2.5 3.45 0 0.153 0.401 1.28 1.51 1.89 18.6 20.6 22.2 0.0501 0.198 0.627 0.3 1.417 1.94 - 0.526 0.804 1.31 4.98 6.73 9.47 0.31 1.49 2.25 0.465 0.957 1.44 14.8 17.6 20.2 0.269 0.174 0.86 0.5 0.8812 1.608 - 0.728 0.961 - 4.97 6.73 9.99 0.794 2.12 3.77 0.693 1.02 1.35 14.5 16.8 21.8 0 0.293 0.891

ticoverall,withruntimesbelow5 secondsevenfor100 jobs.For n=50andR=0.1or0.3,Balas(12)isbothfasterthanthestateof theart,andprovidesthesmallestgap.Forlargerproblems,thegap iscomparabletothebestperformingheuristic,butitscomputation timeincreasesupto10timesthatoftheothers.

6.4. Dependenceonwidth

To study the effect of the width on the runtime (the fourth question),andfindoutmorepreciselyunderwhichconditionsthe newalgorithms outperformthe stateof theart, weused the(for the methodsin thispaper) extremely challengingset ofproblem instanceswithacorrelationof1.0andscaledvalues(with

α

),and increasingwidth

(

3,5,...,19

)

asdescribedabove.Forthesameset ofparameters,5instancesaregeneratedrandomly.Atimelimitof 1800secondsisused.Theresultsofheuristicmethodsarethe av-erageof10runs.TheresultsareshowninFig.3.

ForthisbenchmarksetallmethodsexceptILSandBalas(5)are within 1%of optimal. Consideringtheruntime,the newheuristic methodsFPTASandBalas(5)outperformallstate oftheart meth-ods for instances witha width of 7 or less, which is very rele-vantforexample insatellite scheduling:the maximumwidthfor instances of size n=100 in the AEOSS “Area” benchmark set is 7 andinthe “Worldwide” set is4 (Heet al., 2019b). We further observe that Balas(5) is thefastest heuristicsoverall, even under extremeconditions(highwidth,highcorrelation,large

α

).

ALNSseemstobetheall-roundbestperformingheuristic, strik-ingagoodbalancebetweenhighqualitysolutionsandlow compu-tationtimeacrossallwidths.Ifmoretimeisavailable(2minutes), thenEMisthebestchoice.Ifontheotherhand,averyquick re-sponseisrequired,Balas(5)isthebestalternative.

6.5. Correlationbetweenrevenueandprocessingtime

Thefinalexperiment(seeFigure4)confirmsthehypothesisthat a highcorrelation betweenjob revenuesandprocessing timesin an instance increases the difficulty (runtime) for the algorithms presentedinthispaper,withthehighvalueschosenhere(

α

=240)

inparticular.Weobservethatthesolutionqualityseemsnottobe significantly affected by the correlation except for ILS and Balas, which give better results forinstances witha higher correlation. Theruntimeofallnewlyproposedmethodsareincreasingwithc, whilealltheothersseemtobeindependent.Thiscanbeexplained bythe exactdominancerule beinglesseffectivewithahigh cor-relation.Still,runtimesforscheduling100jobsarewellwithinan acceptable6secondsforalltheseinstancesandcomparabletothe stateoftheart,evenforthehighestcorrelation.

7. Conclusionsandfuturework

Themaximumnumberofjobswithoverlappingtime windows (thewidthw)isaparameterthathasshowntobeinstrumentalin designing an exact algorithm for single-machine schedulingwith releasetimes,deadlinesandrejection(alsoknownasorder accep-tanceandscheduling,OAS).Theresultingoptimalalgorithmhasa runtimequadratic inthe numberofjobs n,linear inthe slack

σ

(i.e.,the maximumtime any taskcan be delayedgivenits dead-line), andexponential only inthe widthw. Thisshowsthat OAS is fixed-parameter tractable in w and

σ

. Requiring only w as a parameter, we can build onthe same insightsto arrive atan al-gorithmthat approximatestheoptimumwithin aguaranteed fac-torof1−



andhas aruntimebound ofO

(

n3·w22w

2

)

, i.e.,a

fixed-parameterFPTAS. Basedon thesameprinciples, aneighbourhood heuristiccanmuchmoreefficientlyfindverygoodsolutionsby fix-inganartificial,butconstantwidth.Allthreealgorithmsusea so-calleddominance ruletoreducethestate spacewhenone partial

(11)

Fig. 3. Average solution value (left) and CPU time (right) versus width for the different algorithms on n = 100 with α= 1024 . The solution quality is normalized by the best value found for each instance. The error bars represent the 1st and 3rd quartiles.

Fig. 4. Solution value (left) and CPU time (right) versus the correlation between the processing time and the revenue for the different algorithms on the covariance changing dataset with n = 100 , w = 7 , α= 2 40 . The error bars represent the 1st and 3rd quartiles.

solutioncannotleadtoabettersolutionthananotherpartial solu-tion. Thisissimilar tothe conceptofstate merging inrecent lit-erature on optimizationusing decisiondiagrams (Bergman etal., 2016), andcan alsobe seen asa generalization ofdynamic pro-gramming.

The threenewalgorithms havebeenexperimentally evaluated onastandardbenchmarkset,aswellasoncustom-madeinstances toevaluatetheirperformancedependingonthewidth.Fora num-berofbenchmarkinstancesofsizen=100anoptimalsolutionhas beenfoundforthefirsttime.Whenthewidthisreasonablysmall (less than 15 forn=50 andlessthan 21 for n=100), the exact algorithm outperforms the state of the art. When benchmarked against recentlypublished state-of-the-artheuristics, the approx-imation algorithm is onlycompetitive for a smaller width(11 or less), but the Balasheuristic outperforms state-of-the-art heuris-ticsunderawiderangeofconditions,dependingonthechoicefor theparameter.

With these concrete results this paper additionally provides evidence that recent insights in decision diagrams and fixed-parameter analysiscan bemerged andgeneralized.First,the pre-sentedexactalgorithmusesamulti-valueddecisiondiagram (simi-lartoforexampleHooker,2017),butdoesnotimposethestructure oflayers:paths canhave differentlengths,andmerges canoccur betweenstates atdifferentdistancesfromthe rootnode. Second,

thewidth ofthe decisiondiagram isbounded by a parameterof theinput,thusmakingtheresultingexactmethodfixed-parameter tractable.Third,theapproximationalgorithmdefinesastate merg-ing operationthat providesa guaranteeon theperformance. And finally,suchideascanbe effectivelyusedasaheuristic.An inter-esting avenue for furtherresearch isto find out for whichother problems such a generalization ofstate merging in multi-valued decisiondiagramsandtheanalysisusingparametersprovides bet-ter insights and faster exact algorithms, or approximations with performanceguarantees.

Conversely, recent results on decision diagrams and their use as relaxations and restrictions in a branch-and-bound search (Bergman et al., 2016) indicate a promising direction to tacklelargerinstancesofOAS,buildinguponthemodeland domi-nancerulepresentedhere.

Considering the approximation algorithm, admittedly, the ex-perimentalresults indicate some directions forimprovement.For example,thecurrentdesignofthealgorithmleadstoanerrorthat isclose to



,even ifthe totalnumberof statesisnot that large. Mergingcould be done dependingonthe(estimated)state space instead.Second, oncea solution hasbeenfound, thedecision di-agramcould be usedto improveupon it byconsidering whether usingthe merged



-dominatedstates alsoleadsto a feasible so-lution,but ofhigher quality.An alternative approachworthwhile

(12)

of investigating is to use the heuristic inside a local search ap-proach(Hintsch &Irnich, 2018) such that itefficientlyfinds a lo-cally optimalsolution, and provide a bound for theoverall opti-misationproblem.Furtherexploitingtheseinsightsmayleadtoan algorithmthatcandealwithevenlargerprobleminstancesofOAS. Finally, it is worth considering whether the presented fixed-parameter resultscanbeextended toother problemclasses,such as schedulingon parallel anduniformmachines, asdecision dia-gramshavebeenrecentlysuccessfullyappliedtothismoregeneral problemaswell (vandenBogaerdt&deWeerdt,2018;2019).

Acknowledgements

We thankArthur Guijt for the implementationof HSSGA and ILS∗, Pim vandenBogaerdt for proofreadingour draft, Alin Don-dera for running some extra experiments, and the CSC for their scholarship(201703170269)allowingLeiHetovisitDelft.

References

Baart, R. (2018). Algorithms for a bounded-width order acceptance and scheduling problem with sequence-dependent setup time using decision diagrams . Delft Uni- versity of Technology Master’s thesis .

Balas, E. (1999). New classes of efficiently solvable generalized traveling salesman problems. Annals of Operations Research, 86 , 529–558 .

Balas, E. , & Simonetti, N. (2001). Linear time dynamic-programming algorithms for new classes of restricted TSPs: A computational study. INFORMS Journal on Com- puting, 13 , 56–75 .

Baptiste, P. (20 0 0). Scheduling equal-length jobs on identical parallel machines. Dis- crete Applied Mathematics, 103 , 21–32 .

Beasley, J. E. (1990). OR-library: distributing test problems by electronic mail. Journal of the Operational Research Society, 41 , 1069–1072 .

Beasley, J. E. (2018). Weighted tardiness (OR library). http://people.brunel.ac.uk/

mastjjb/jeb/orlib/wtinfo.html , originally described in Beasley (1990) [Online

accessed 26-Feb-2018].

Bergman, D. , Cire, A. A. , Van Hoeve, W.-J. , & Hooker, J. (2016). Decision diagrams for optimization . Springer .

Berman, P. , & DasGupta, B. (20 0 0). Multi-phase algorithms for throughput max- imization for real-time scheduling. Journal of Combinatorial Optimization, 4 , 307–323 .

van Bevern, R. , Bredereck, R. , Bulteau, L. , Komusiewicz, C. , Talmon, N. , & Woegin- ger, G. J. (2016). Precedence-constrained scheduling problems parameterized by partial order width. In Proceedings of the international conference on discrete op- timization and operations research (pp. 105–120) .

van Bevern, R. , Niedermeier, R. , & Suchý, O. (2017). A parameterized complexity view on non-preemptively scheduling interval-constrained jobs - few machines, small looseness, and small slack. Journal of Scheduling, 20 , 255–265 .

Bianchessi, N. , Cordeau, J.-F. , Desrosiers, J. , Laporte, G. , & Raymond, V. (2007). A heuristic for the multi-satellite, multi-orbit and multi-user management of earth observation satellites. European Journal of Operational Research, 177 , 750–762 .

van den Bogaerdt, P. , & de Weerdt, M. (2018). Multi-machine scheduling lower bounds using decision diagrams. Operations Research Letters, 46 , 616–621 . van den Bogaerdt, P. , & de Weerdt, M. (2019). Lower bounds for uniform machine

scheduling using decision diagrams. In Integration of constraint programming, ar- tificial intelligence, and operations research (pp. 565–580). Cham: Springer Inter- national Publishing .

Brucker, P. (2007). Scheduling algorithms . Springer Verlag .

Cesaret, B. , O ˘guz, C. , & Salman, F. S. (2012). A tabu search algorithm for order ac- ceptance and scheduling. Computers Operations Research, 39 , 1197–1205 . Chaurasia, S. N. , & Singh, A. (2017). Hybrid evolutionary approaches for the single

machine order acceptance and scheduling problem. Applied Soft Computing, 52 , 725–747 .

Cire, A. A. , & van Hoeve, W. J. (2013). Multivalued decision diagrams for sequencing problems. Operations Research, 61 , 1411–1428 .

Downey, R. , & Fellows, M. (2013). Fundamentals of parameterized complexity . Springer .

Elffers, J. , & de Weerdt, M. (2017). Scheduling with two non-unit task lengths is NP-complete. Technical Report 1412.3095 . ArXiv.

Fellows, M. R. , & McCartin, C. (2003). On the parametric complexity of schedules to minimize tardy tasks. Theoretical Computer Science, 298 , 317–324 .

Gunawan, A. , Lau, H. C. , & Vansteenwegen, P. (2016). Orienteering problem - a sur- vey of recent variants, solution approaches and applications. European Journal of Operational Research, 255 , 315–332 .

Gutin, G. , & Punnen, A. P. (2006). The traveling salesman problem and its variations . Springer Science Business Media .

Halldórsson, M. M. , & Karlsson, R. K. (2006). Strip graphs - recognition and schedul- ing. In Graph-theoretical concepts in computer science (pp. 137–146). Berlin, Hei- delberg: Springer Berlin Heidelberg .

He, L. , de Weerdt, M. , & Yorke-Smith, N. (2019b). Time/sequence-dependent scheduling: The design and evaluation of a general purpose tabu-based adap- tive large neighbourhood search algorithm. Journal of Intelligent Manufacturing . He, L. , de Weerdt, M. , & Yorke-Smith, N. (2019a). Tabu-based large neighbourhood

search for time/sequence-dependent scheduling problems with time windows. In Proceedings of the 29th international conference on automated planning and scheduling .

Hermelin, D. , Karhi, S. , Pinedo, M. , & Shabtay, D. (2018). New algorithms for mini- mizing the weighted number of tardy jobs on a single machine. Annals of Oper- ations Research , 1–17 .

Hintsch, T. , & Irnich, S. (2018). Large multiple neighborhood search for the clustered vehicle-routing problem. European Journal of Operational Research, 270 , 118–131 . Hooker, J. N. (2017). Job sequencing bounds from decision diagrams. In Proceedings of the international conference on principles and practice of constraint program- ming (pp. 565–578) .

Kinable, J. , Cire, A. A. , & van Hoeve, W. J. (2017). Hybrid optimization methods for time-dependent sequencing problems. European Journal of Operational Research, 259 , 887–897 .

Kolen, A. W. , Lenstra, J. K. , Papadimitriou, C. H. , & Spieksma, F. C. (2007). Interval scheduling: A survey. Naval Research Logistics, 54 , 530–543 .

Labadie, N. , Mansini, R. , Melechovský, J. , & Wolfler Calvo, R. (2012). The team orien- teering problem with time windows: An LP-based granular variable neighbor- hood search. European Journal of Operational Research, 220 , 15–27 .

Lawler, E. L. (1973). Optimal sequencing of a single machine subject to precedence constraints. Management Science, 19 , 544–546 .

Li, X. , & Ventura, J. A. (2020). Exact algorithms for a joint order acceptance and scheduling problem. International Journal of Production Economics, 223 , 107516 . Lin, S. W. , & Ying, K. C. (2017). Increasing the total net revenue for single machine

order acceptance and scheduling problems using an artificial bee colony algo- rithm. Journal of the Operational Research Society, 64 , 293–311 .

Liu, X. , Laporte, G. , Chen, Y. , & He, R. (2017). An adaptive large neighborhood search metaheuristic for agile satellite scheduling with time-dependent transition time. Computers & operations research, 86 , 41–53 .

Mnich, M. , & Wiese, A. (2015). Scheduling and fixed-parameter tractability. Mathe- matical programming, 154 , 533–562 .

Nguyen, S. (2016). A learning and optimizing system for order acceptance and scheduling. The International Journal of Advanced Manufacturing Technology, 86 , 2021–2036 .

Nobibon, F. T. , & Leus, R. (2011). Exact algorithms for a generalization of the order acceptance and scheduling problem in a single-machine environment. Comput- ers & Operations Research, 38 , 367–378 .

Oguz, C. , Sibel Salman, F. , & Bilgintürk Yalçın, Z. (2010). Order acceptance and scheduling decisions in make-to-order systems. International Journal of Produc- tion Economics, 125 , 200–211 .

Pinedo, M. (2012). Scheduling: theory, algorithms, and systems . Springer Science & Business Media .

Qureshi, A. G. , Taniguchi, E. , & Yamada, T. (2009). An exact solution approach for vehicle routing and scheduling problems with soft time windows. Transportation Research Part E, 45 , 960–977 .

Silva, Y. L. T. V. , Subramanian, A. , & Pessoa, A. A. (2018). Exact and heuristic al- gorithms for order acceptance and scheduling with sequence-dependent setup times. Computers & operations research, 90 , 142–160 .

Slotnick, S. A. (2011). Order acceptance and scheduling - a taxonomy and review. European Journal of Operational Research, 212 , 1–11 .

Spieksma, F. C. R. (1999). On the approximability of an interval scheduling problem. Journal of Scheduling, 2 , 215–227 .

Subramanian, A. , & Farias, K. (2017). Efficient local search limitation strategy for single machine total weighted tardiness scheduling with sequence-dependent setup times. Computers & Operations Research, 79 , 190–206 .

Woeginger, G. J. (2003). Exact algorithms for NP-hard problems: A survey. Lecture Notes in Computer Science, 2570 , 185–208 .

Zhang, L. , Lu, L. , & Yuan, J. (2009). Single machine scheduling with release dates and rejection. European Journal of Operational Research, 198 , 975–978 .

Cytaty

Powiązane dokumenty

Abstract—A parallel EAX-based algorithm for minimizing the number of routes in the vehicle routing problem with time windows is presented.. The main contribution is a novel

A parallel algorithm for minimizing the number of routes in the vehicle routing problem with time windows (VRPTW) is presented.. The algorithm components cooperate periodically

Keywords-parallel memetic algorithm, parallel processes co- operation schemes, genetic and local search algorithms, vehicle routing problem with time windows..

An arriving customer that finds the server busy, displaces with probability θ the customer that is currently being served to the first place in the queue and starts immediately

co od pół w ieku w Giedym inów grodzie, W znieśliście Ołtarz, prawdzie, ludzkości, sw obodzie, Co w różnych zm ianach losu, gorliw i i stali, Dla szczęścia

(0.5, 1], when the network throughput is large, the output’s CAP length is grad- ually increased. It can be seen from Fig. 4 that in the preset dedicated slot sequence 1...

For that purpose, we are developing the meta-languages SDF3 for syntax definition, NaBL for name binding, TS for type analysis, and DynSem for dynamic semantics to support the

Current insights not only show that the FabLab course enables students to use the FabLab machines and materials, but also that it empowers students to accelerate their ideation