Search strategies, that is, strategies that describe how to explore search trees, have raised much interest for constraint satisfaction in recent years. In particular, limited discrepancy search and its variations have been shown to achieve significant imp
DecompositionforSearchStrategies 367
RLDS,initsbasicform,isnotcorrectforrandomizedbranchingfunctions.TheproblemarisesinfunctionRLDSRESTOREthatusesbranchingtoreturntoarightdisjunct.SincefunctionBRANCHisrandomized,itmaynotreturnthesamedisjunctsasthosewhichledtotheenqueuedcon guration,eveniftheconstraintstoreσisthesame.Asaconsequence,recomputationmayleadtoadifferentcon gurationandintroduceincompleteness.Theproblemcouldberemedied,assuggestedinVanHentenryck[1990]inthecontextofincrementalsearch,bystoringmoreinformationinsidecomputationpaths.Forinstance,RLDScouldstoreandrestorethestateofallrelevantrandomstreamstoen-surethatBRANCHreturnstheverysamedisjuncts.Thissolutionisnotentirelysatisfactory,however,sinceitrequirestoknowtheinternaldetailsofthesearchprocedureandhencereducesthegenericnatureoftheimplementation.
Therobustnessproblemisnotlimitedtorandomization.Italsoconcernsdy-namicbranchingfunctionsbasedonthestateoftheconstraintstorewheneverthesearchprocedureusesglobalcutsand/ornogoodinformation.Infact,theproblemisreadilyillustratedwhentryingtoimplementminimization,sincedepth- rstbranchandboundreliesonaverysimpleformofglobalcuts.Con-siderthe“natural”generalizationofRLDSSATIFYtominimizationwhichconsistsofreplacingtheTELLoperations,forexample,
TELL(σ,cl)
by
TELL(σ,cl∧f<f )
aswasthecaseinILDS.This“natural”generalizationisincorrect,sincef mayhavechangedbetweenthetimepowaspushedonthequeueandthetimeitwaspopped.Asaconsequence,functionBRANCHmayreturndifferentdis-junctssincetheconstraintstoremaynotbethesame.Forinstance,BRANCHmaychoosetoassignadifferentvariableorscheduleadifferentmachine.Onceagain,thesolutionconsistsofaddinginformationinsidethecomputationpathtoensurethecorrectnessoftherecomputationprocess.Inparticular,foracor-rectminimization,itissuf cienttousecomputationpathsconsistingofpairs(d,f),wheredrepresentsthebranchingdecisionandfrepresentsthevalueoff beforethedecision.ThisisinfactthesolutionadoptedinPerron[1999,page352].
Figure7depictstheimplementationofRLDSMIN.ThefunctionsRLDSMIN,RLDSMINIMIZE,andRLDSMINIMIZEQUEUEareessentiallysimilartoRLDSSATIFY,RLDSEXPLORE,andRLDSEXPLOREQUEUE.Observethatboththebranchingde-cisionandthecurrentvalueoff arepushedonthequeueandconcatenatedtocomputationpaths.Notsurprisingly,themainnoveltyisfunctionRLDSRE-STOREMINwhichusestheaugmentedcomputationpaths.ThecriticalissuesaretheTELLinstructions,whichrestorethesameconstraintontheobjectivefunction.ObservethattheimplementationofRLDSMINalsoillustratesthedif -cultyindealingwithglobalcutsandnogoods.Tobecorrect,anyimplementationofRLDSmuststoreandrestorethestateoftheglobalcutsandofthenogoodsinsidethecomputationpaths.Similarobservationsapplytoanytechniquethatmayaffectthestateoftheconstraintstoresuchassemanticbacktracking.
ACMTransactionsonComputationalLogic,Vol.5,No.2,April2004.