SAT variable profiling.

This commit is contained in:
Alan Mishchenko 2013-05-18 12:35:29 -07:00
parent 5766472bb6
commit c83e1d906a
1 changed files with 4 additions and 0 deletions

View File

@ -304,6 +304,10 @@ Saig_Bmc_t * Saig_BmcManStart( Aig_Man_t * pAig, int nFramesMax, int nNodesMax,
// create SAT solver
p->nSatVars = 1;
p->pSat = sat_solver_new();
p->pSat->nLearntStart = 10000;//p->pPars->nLearnedStart;
p->pSat->nLearntDelta = 5000;//p->pPars->nLearnedDelta;
p->pSat->nLearntRatio = 75;//p->pPars->nLearnedPerce;
p->pSat->nLearntMax = p->pSat->nLearntStart;
sat_solver_setnvars( p->pSat, 2000 );
Lit = toLit( p->nSatVars );
sat_solver_addclause( p->pSat, &Lit, &Lit + 1 );