My SAT Competition 2014 entry

[wpdm_file id=2] In case you want to download my SAT competition 2014 zipfile, you can do it now. You can port the changes that you added to CryptoMiniSatv4 – it should work out of the box. Nothing really important changed except some timeout fixes, bug fixes, threading, and fixing DRAT. Unfortunately the SAT Competition'14 setup doesn’t have Boost’s program options, so I had to create a main_simple.cpp that compiles without Boost. It only supports options “–drat=1”, “–threads=N”, “–verbosity=N” and reading plain CNF files (not gzipped). This means you will have to edit SolverConf.cpp in case your changeset involves command line options. The command line options and their corresponding class variables are easy to look up in main.cpp, so changing SolverConf.cpp appropriately should not be difficult. ...

April 29, 2014 · 1 min · msoos

Multi-threading

Just a short note: this Easter holiday I got a bit bored and did a mini-threading system for CryptoMiniSatv4. It will now be able to compete in the multi-threading track after quite a number of years of absence. Last time I did this, CryptoMiniSat won the UNSAT multi-threaded track, which was a bit funny because all I shared were unitary and binary clauses. For the simplicity and the fun, I’m doing the same this time around. Let’s hope all the super-complicated and extra-theoretica l stuff will get won over. ...

April 22, 2014 · 2 min · msoos

Why it's hard to eliminate variables

Let’s examine why it’s hard to eliminate variables. I remember the code I looked at in SatElite that did it: it was crazy clean code and looked like it was pretty easy to perform. In this post I’ll examine how that simple code became more than a 1'000 lines of code today. What needs to be done, at first sight At first sight, variable elimination is easy. We just: Build occurrence lists Pick a variable to eliminate Resolve every clause having the positive literal of the variable with negative ones. Add newly resolved clauses into the system Remove original clauses. Goto 2. These are all pretty simple steps at first sight, and one can imagine that implementing them is maybe 50-100 lines of code, no more. So, let’s examine them one-by-one to see how they get complicated. ...

April 16, 2014 · 9 min · msoos