<?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>sampling on Wonderings of a SAT geek</title>
    <link>https://www.msoos.org/tags/sampling/</link>
    <description>Recent content in sampling on Wonderings of a SAT geek</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <lastBuildDate>Sun, 18 Feb 2024 20:46:58 +0000</lastBuildDate>
    <atom:link href="https://www.msoos.org/tags/sampling/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Our tools for solving, counting and sampling</title>
      <link>https://www.msoos.org/2024/02/our-tools-for-solving-counting-and-sampling/</link>
      <pubDate>Sun, 18 Feb 2024 20:46:58 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3520</guid> 
      <description>&lt;p&gt;This post is just a bit of a recap of what we have developed over the years as part of our toolset of SAT solvers, counters, and samplers. Many of these tools depend on each other, and have taken greatly from other tools, papers, and ideas. These dependencies are too long to list here, but the list is long, probably starting somewhere around the &lt;a href=&#34;https://en.wikipedia.org/wiki/Thales_of_Miletus#Mathematics&#34;&gt;Greek period&lt;/a&gt;, and goes all the way to recent work such as &lt;a href=&#34;https://github.com/Laakeri/sharpsat-td&#34;&gt;SharpSAT-td&lt;/a&gt; or &lt;a href=&#34;http://www.cril.univ-artois.fr/KC/bpe2.html&#34;&gt;B+E&lt;/a&gt;. My personal work stretches back to the beginning of &lt;a href=&#34;https://github.com/msoos/cryptominisat&#34;&gt;CryptoMiniSat&lt;/a&gt; in 2009, and the last addition to our list is &lt;a href=&#34;https://github.com/meelgroup/pepin&#34;&gt;Pepin&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Checking Uniform-Like Samplers</title>
      <link>https://www.msoos.org/2022/06/checking-uniform-like-samplers/</link>
      <pubDate>Thu, 23 Jun 2022 09:53:56 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3410</guid> 
      <description>&lt;p&gt;Uniform sampling is pretty simple: there are a set of solutions to a set of equations, and I want you to give me N solutions uniformly at random. Say, I have a set of equations that only has the solutions x=1&amp;hellip;6, and I ask you to give me solutions uniformly at random. In this case, if the system is not cheating, it should give me solutions exactly like a random dice would give: 1..6, each with the same probability of 1/6. Now, if you give me nothing but 1&amp;rsquo;s I&amp;rsquo;d be slightly confused, and eventually would think you may be trying to cheat.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CMSGen, a Fast Uniform-Like Sampler</title>
      <link>https://www.msoos.org/2021/09/cmsgen-a-fast-uniform-like-sampler/</link>
      <pubDate>Sat, 18 Sep 2021 09:03:22 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=3379</guid> 
      <description>&lt;p&gt;Uniform sampling is a problem where you are given a solution space and you have to present solutions uniformly, at random. In some cases, this is quite simple, say, for the lotto. Just pick 5 random numbers from a box and we are done! For the lotto the solution space is very easy to generate. However, when there are constraints on the solution space, it starts to get tricky.&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s say that I have a function I want to test, but the input to the function has some real-world constraints like e.g. the 1st parameter must be larger than the second, the 2nd parameter must be divisible by the 3rd etc. If I want to test that this function operates correctly, one way to do it is to generate 100 uniformly random inputs that don&amp;rsquo;t violate any of the constraints, run the function, and see if all is OK. For this, I need a fast way of generating uniform samples given the constraints on the solution space.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
