title: Defining Set Packing using MathProg
body: <p>For someone with zero experience, this can be very confusing.</p>
  
  <p>How do I define the Set Packing problem as seen in <a href="https://en.wikipedia.org/wiki/Set_packing" rel="nofollow">the wikipedia article</a> as a MathProg program, to be later ran in the GLPK tool?</p>
  
  <p>Intution alone would lead me into something like this:</p>
  
  <pre><code>var x
  
  maximize SetPacking :
   sum {s in Subsets} x
  s.t.         ??              //x is an integer 0 or 1
  s.t.         ??              //amount of x &lt;=1
  end;
  </code></pre>
  
  <p>But its logic is obviously wrong and I can't even finish it.</p>