<p>In <a href="https://github.com/mlpack/mlpack/pull/373#discussion-diff-22437709">src/mlpack/tests/lrsdp_test.cpp</a>:</p>
<pre style='color:#555'>&gt; +  data::Load(&quot;sensing_b.csv&quot;, bmat, true, false);
&gt; +
&gt; +  arma::vec b = bmat;
&gt; +
&gt; +  const size_t m = Xorig.n_rows;
&gt; +  const size_t n = Xorig.n_cols;
&gt; +  const size_t p = b.n_elem;
&gt; +
&gt; +  assert(A.n_rows == p);
&gt; +  assert(A.n_cols == m * m);
&gt; +
&gt; +  float r = 0.5 + sqrt(0.25 + 2 * p);
&gt; +  if (ceil(r) &gt; m + n)
&gt; +    r = m + n;
&gt; +
&gt; +  std::srand(0x0FAE8543);
</pre>
<p>I've done the same sin here as in <a href="https://github.com/mlpack/mlpack/pull/372" class="issue-link" title="add a test case for max-cut">#372</a>. Let me update this with a deterministic starting point. </p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/mlpack/mlpack/pull/373/files#r22437709">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFJHYW_TFkPuWq9UWR7hoQnqtdWdyks5nePmrgaJpZM4DN9un.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/mlpack/mlpack/pull/373/files#r22437709"></link>
    <meta itemprop="name" content="View Pull Request"></meta>
  </div>
  <meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>