Skip to content

dearzhaorui/symbolic-conflict-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Simple Pseudo-Boolean Solver With Symbolic Conflict Analysis Procedure

This repository constains all sources used in the paper "Symbolic Conflict Analysis in Pseudo-Boolean Optimization".

This PB solver with symbolic conflict analysis procedure will keep a symbolic representation for the degree of every constraint. When an objective function is strengthened in maximization problems, the solver allows to (1) strengthen the rerused learned constraints drived from the objective function between problems, thus further pruning the search space traversal, (2) automatically extract upper bounds from them to estimate how far the solver is from reaching an optimal solution.

It works with a counter-based unit propagation procedure by default in all our experiments, but it can coexist with a watched-based propagation.

Experimental results show that this symbolic procedure is indeed effective with important runtime improvements in problems where several solutions are found, and the overhead is negligible.

The experiments have been done in a cluster with 10 nodes of type Dell PowerEdge R240 with Intel Xeon E-2124. Every solver on a node is set to have 4 cores and 15GB of memory available. The time limit is 3600 seconds.

Dependencies

Build and Run

To check the usage, go to one of solver directories:

$ make -j
$ ./pbsat -help

Original solver:

$ cd original-solver
$ make -j
$ ./pbsat benchmark.opb    // default flags: -bt0 1 -wperc 0

Symbolic solver:

$ cd symbolic-solver
$ make -j
$ ./pbsat benchmark.opb   // default flags: -bt0 1 -wperc 0 -symb 1

Debug

Compile with the flag d=1 in any solver directory:

$ make -j d=1

About

A simple Pseudo-boolean solver with a novel symbolic conflict analysis procedure to strengthen reused lemmas between problems and estimate how far the solver is from finding an optimal solution.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors