<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'>> + data::Load("sensing_b.csv", bmat, true, false);
> +
> + arma::vec b = bmat;
> +
> + const size_t m = Xorig.n_rows;
> + const size_t n = Xorig.n_cols;
> + const size_t p = b.n_elem;
> +
> + assert(A.n_rows == p);
> + assert(A.n_cols == m * m);
> +
> + float r = 0.5 + sqrt(0.25 + 2 * p);
> + if (ceil(r) > m + n)
> + r = m + n;
> +
> + 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;">—<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>