<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>glues on Wonderings of a SAT geek</title>
    <link>https://www.msoos.org/tags/glues/</link>
    <description>Recent content in glues on Wonderings of a SAT geek</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <lastBuildDate>Sun, 09 Aug 2015 10:25:47 +0000</lastBuildDate>
    <atom:link href="https://www.msoos.org/tags/glues/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Machine Learning and SAT</title>
      <link>https://www.msoos.org/2015/08/machine-learning-and-sat/</link>
      <pubDate>Sun, 09 Aug 2015 10:25:47 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2755</guid> 
      <description>&lt;p&gt;I have lately been digging myself into a deep hole with machine learning. While doing that it occurred to me that the SAT community has essentially been trying to imitate some of ML in a somewhat poor way. Let me explain.&lt;/p&gt;
&lt;h3 id=&#34;cryptominisat-and-clause-cleaning-strategy-selection&#34;&gt;CryptoMiniSat and clause cleaning strategy selection&lt;/h3&gt;
&lt;p&gt;When CryptoMiniSat won the &lt;a href=&#34;http://baldur.iti.uka.de/sat-race-2010/results.html&#34;&gt;SAT Race of 2010&lt;/a&gt;, it was in large part because I realized that glucose at the time was &lt;a href=&#34;http://www.cril.univ-artois.fr/SAT09/results/globalbybench.php?idev=29&amp;amp;idcat=62&#34;&gt;essentially unable&lt;/a&gt; to solve cryptographic problems. I devised a system where I could &lt;a href=&#34;https://github.com/msoos/cryptominisat/blob/cryptominisat-2.9.7/cmsat/RestartTypeChooser.cpp&#34;&gt;detect which problems were cryptographic&lt;/a&gt;. It checked the activity stability of variables and if they were more stable than a threshold, it was decided that the problem was cryptographic. Cryptographic problems were then solved using a geometric restart strategy with clause activities for learnt database cleaning. Without this hack, it would have been impossible to win the competition.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>A note on learnt clauses</title>
      <link>https://www.msoos.org/2013/12/a-note-on-learnt-clauses/</link>
      <pubDate>Fri, 06 Dec 2013 17:29:24 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2172</guid> 
      <description>&lt;p&gt;Learnt clauses are clauses derived while searching for a solution with a &lt;a href=&#34;https://en.wikipedia.org/wiki/Boolean_satisfiability_problem&#34;&gt;SAT solver&lt;/a&gt; in a &lt;a href=&#34;https://en.wikipedia.org/wiki/Conjunctive_normal_form&#34;&gt;CNF&lt;/a&gt;. They are at the heart of every modern so-called &amp;ldquo;CDCL&amp;rdquo; or &amp;ldquo;&lt;a href=&#34;https://en.wikipedia.org/wiki/Conflict_Driven_Clause_Learning&#34;&gt;Conflict-Driven Clause-Learning&lt;/a&gt;&amp;rdquo; SAT solver. SAT solver writers make a very important difference between learnt and original clauses. In this blog post I&amp;rsquo;ll talk a little bit about this distinction, why it is important to make it, and why we might want to relax that distinction in the future.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Clause glues are a mystery to me</title>
      <link>https://www.msoos.org/2013/07/clause-glues-are-a-mystery-to-me/</link>
      <pubDate>Mon, 08 Jul 2013 16:48:41 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=988</guid> 
      <description>&lt;p&gt;&lt;em&gt;Note: the work below has been done in collaboration with &lt;a href=&#34;http://folk.uio.no/vegardno/&#34;&gt;Vegard Nossum&lt;/a&gt;, but the wording and some of the (mis-)conculsions are mine. If you are interested, check out his &lt;a href=&#34;https://www.duo.uio.no/handle/10852/34912&#34;&gt;master thesis&lt;/a&gt;, it&amp;rsquo;s quite incredible&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Anyone who has ever tried to &lt;em&gt;really&lt;/em&gt; understand clause &lt;a href=&#34;http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.150.1911&amp;amp;rep=rep1&amp;amp;type=pdf&#34;&gt;glues&lt;/a&gt; in SAT solvers have probably wondered what they really mean. Their definition is simple: the number of variables in the final conflict clause that come from different decision levels. An explanation of these terms can be found &lt;a href=&#34;https://www.msoos.org/understanding-implication-graphs&#34;&gt;here&lt;/a&gt;. On the surface, this sounds very simple and clean: the number of different decision levels should somehow be connected to the number of variables that need to be set before the learnt clause activates itself, i.e. it causes a propagation or a conflict. Unfortunately, this is just the surface, because if you try to draw 2-3 implication graphs, you will see that in fact the gap between the number of variables needed to be set (let&amp;rsquo;s call this &amp;lsquo;activation number&amp;rsquo;) and the glue can be virtually &lt;em&gt;anything&lt;/em&gt;, making the glue a potentially bad indicator of the activation number.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Extended resolution is working!</title>
      <link>https://www.msoos.org/2010/12/extended-resolution-is-working/</link>
      <pubDate>Tue, 28 Dec 2010 22:13:08 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=577</guid> 
      <description>&lt;p&gt;The subtitle of this post should really say: &lt;em&gt;and I was wrong, again&lt;/em&gt;. First, let me explain what I have been wrong about &amp;ndash; wrong assumptions are always the most instructive.&lt;/p&gt;
&lt;p&gt;I have been convinced for the past year that it&amp;rsquo;s best to have two type of restart and corresponding learnt clause usefulness strategies: the glue-based restart&amp;amp;garbage collection of &lt;a href=&#34;http://www.lri.fr/~simon/glucose/downloads/glucose-compet-report.pdf&#34;&gt;Glucose&lt;/a&gt; and a variation of the geometric restart and activity-based garbage collection of &lt;a href=&#34;http://minisat.se&#34;&gt;MiniSat&lt;/a&gt;. The glue-based variation was observed to be very good for industrial instances with many variables, many of which can be fixed easily, and the MiniSat-type variation was observed to be good for cryptography-type instances with typically low number of variables, almost none of which can be fixed. However, I had the chance to talk to &lt;a href=&#34;http://fmv.jku.at/biere/&#34;&gt;Armin Biere&lt;/a&gt; a couple of weeks ago, and while talking with him, I have realised that maybe one of Lingeling&amp;rsquo;s advantages was its very interesting single restart strategy, based on agility (&lt;a href=&#34;http://fmv.jku.at/biere/talks/Biere-SAT08-talk.pdf&#34;&gt;presentation&lt;/a&gt;, &lt;a href=&#34;http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.161.8085&amp;amp;rep=rep1&amp;amp;type=pdf&#34;&gt;PDF&lt;/a&gt;) which seemed to let it use glue-based garbage collection all the time, succeeding to solve both types of instances. So, inspired by the &lt;a href=&#34;http://events.ccc.de/congress/2010/wiki/Welcome&#34;&gt;CCC&lt;/a&gt; crowd, in only 10 minutes I have implemented a simple version of this restart strategy into CryptoMiniSat, and voilá, it seems to work on both type of instances, using only glues!&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
