学海网 文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > 1 Preface SAT COMPETITION 2007- SOLVER DESCRIPTION Scaling and Probabilistic Smoothing (SAP

1 Preface SAT COMPETITION 2007- SOLVER DESCRIPTION Scaling and Probabilistic Smoothing (SAP

The first part of this paper is essentially a reprint of the solver description from the 2005 competition, as the software submitted this year is identical to the 2005 software. We entered the SAPS variant implemented in the UBCSAT software package [7], th

SATCOMPETITION2007-

SOLVERDESCRIPTION

ScalingandProbabilisticSmoothing(SAPS)

DaveA.D.Tompkins,FrankHutter,andHolgerH.Hoos

ComputerScienceDepartmentUniversityofBritishColumbia{davet,hutter,hoos}@cs.ubc.ca

1Preface

The rstpartofthispaperisessentiallyareprintofthesolverdescriptionfromthe2005competi-tion,asthesoftwaresubmittedthisyearisidenti-caltothe2005software.WeenteredtheSAPSvariantimplementedintheUBCSATsoftwarepack-age[7],thesourcecodeforwhichisfreelyavailableatdoc.xuehai.net.

Theonlydifferenceto2005isthatwesubmittwoversionsofSAPS,onewiththeoriginaldefaultparameters[4],andonewithanewsetoftunedpa-rameters.Theseparametershavebeenfoundusinganautomaticapproachbasedonlocalsearchinpa-rameterspace[3].Section3givesabriefoverviewofthistuningapproachandshowsverypromisingperformanceoftheautomaticallytunedparameters.

procedureSAPS(F,α,ρ,wp,Psmooth,SAPSthresh)

input:

propositionalformulaF,scalingfactorα,

smoothingfactorρ,randomwalkprobabilitywp,smoothingprobabilityPsmooth,SAPSthresholdSAPSthreshoutput:

variableassignmentAfori:=1..|A|doa(i):=RandSelect({ ,⊥})forj:=1..|CLP|doclp(j):=1while(Fisunsatis edunderA)docurScore:=Eval(F,A,CLP)bestScore:=∞BestVars:=

foreachis.t.variableiappearsinanunsatis edclausedoscore:=Eval(F,Flip(A,i),CLP)ifscore<bestScorethen

bestScore:=scoreBestVars:={i}

elseifscore=bestScorethen

BestVars:=BestVars∪{i}endifendfor

if(bestScore curScore)<SAPSthreshthenk:=RandSelect(BestVars)A:=Flip(A,k)else

withprobabilitywpdo

k:=RandSelect({1..|A|})A:=Flip(A,k)otherwise

foreachjs.t.clausejisunsatis edunderAdoclp(j):=clp(j)×αendfor

withprobabilityPsmoothdoforj:=1..|CLP|do

clp(j):=clp(j)+(1 ρ)×endforendwithendwithendifendwhilereturn(A)

endprocedureSAPS

2SAPSandVariants

TheSAPSalgorithmisaDynamicLocalSearch(DLS)algorithmconceptuallycloselyrelatedtotheExponentiatedSub-Gradient(ESG)algorithmde-velopedbySchuurmans,SoutheyandHolte[5].WhenintroducingSAPS,ourmajorcontributionswereareductioninthealgorithmiccomplexityascomparedtotheESGalgorithmandanewperspec-tiveonhowthetwoalgorithmswerebehaving.TheSAPSalgorithmisdescribedindetailinourpa-per[4]andFigure1containsapseudo-coderepre-sentationthataccuratelyre ectshowtheSAPSal-gorithmhasbeenimplementedinpractice.

SimilartomostDLSalgorithms,SAPSassignsaclausepenaltyclptoeachclause,andthesearchevaluationfunctionofSAPSisthesumoftheclausepenaltiesofunsatis edclauses.Thecoresearchprocedureisagreedydescentwithoutsidewayssteps.Wheneveralocalminimumoccurs(nostepimprovementintheevaluationfunctiongreaterthanSAPSthreshispossible)arandomwalkstepoc-curswithprobabilitywp.Otherwise,ascalingstepoccurs,wherethepenaltiesforunsatis edclausesaremultipliedbythescalingfactorα(i.e.clp′:=

Figure1:TheSAPSalgorithm.Foreachclausejin

Fthereisaclausepenaltyclp(j)inCLP,andisthemeanofallclausepenalties.Eval(F,A,CLP)isthesumofallclp(j)whereclausejisunsatis edinFbyA.Inpractice,Eval(...)valuesarecachedandupdatedaftereach ip.Flip(A,i)returnsthevariableassignmentAwithvariablei ipped.

α·clp).Afterascalingstep,asmoothingstepoccurswithprobabilityPsmooth.Inasmoothing

第1页

TOP相关主题

  • probabilistic
  • preface
  • preface是什么意思
  • foreword preface
  • solver
  • contentresolver
  • excel solver
  • getcontentresolver

我要评论

相关文档

  • 算法导论习题解答中文版

    2004 Email Address texnician@163.com Preface :P...38 5 Probabilistic Analysis and Randomized ... 7 Quicksort 7.1 Description of quicksort ...

  • 算法导论习题解答中文版

    2004 Email Address texnician@163.com Preface :P...38 5 Probabilistic Analysis and Randomized ... 7 Quicksort 7.1 Description of quicksort ...

站点地图 | 文档上传 | 侵权投诉 | 手机版
新浪认证  诚信网站  绿色网站  可信网站   非经营性网站备案
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.xuehai.net All Rights Reserved.  email
返回顶部