<div dir="ltr">Hi Ryan,<div><br></div><div>I&#39;ve got the  SA done. It currently can only handle unbounded search space, but otherwise it should work. Where should I check if the search space has hard boundary?</div><div>
<br></div><div>My code used element-wise arma::min(), which only available in Armadillo after version 3.930. Let me know if that&#39;s not acceptable. It is straightforward to loop through all elements manually.</div><div>
<br></div><div>Attached is my patch, which is generated by running</div><div>svn diff &gt; sa.diff</div><div>I&#39;m not sure this is the correct way of doing this. Let me know if there&#39;s more I have to do.</div></div>
<div class="gmail_extra"><br clear="all"><div>Zhihao Lou<br></div>
<br><br><div class="gmail_quote">On Tue, Mar 25, 2014 at 7:18 AM, Ryan Curtin <span dir="ltr">&lt;<a href="mailto:gth671b@mail.gatech.edu" target="_blank">gth671b@mail.gatech.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On Mon, Mar 24, 2014 at 11:56:35PM -0500, Zhihao Lou wrote:<br>
&gt; Hi Ryan,<br>
&gt;<br>
</div><div class="">&gt; Thanks for the help. I&#39;m starting working on the SA optimizer now.<br>
&gt;<br>
&gt; What&#39;s the project&#39;s preferred random number generator for uniform [0,1]<br>
&gt; scalar? Or should I use arma::randu&lt;vec&gt;(1) ? Or my favorite random<br>
&gt; generator?<br>
<br>
</div>You can find some useful utilities in mlpack::math:<br>
<a href="http://www.mlpack.org/doxygen.php?doc=namespacemlpack_1_1math.html" target="_blank">http://www.mlpack.org/doxygen.php?doc=namespacemlpack_1_1math.html</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Ryan Curtin    | &quot;Bye-bye, goofy woman.  I enjoyed repeatedly<br>
<a href="mailto:ryan@ratml.org">ryan@ratml.org</a> | throwing you to the ground.&quot; - Ben Jabituya<br>
</font></span></blockquote></div><br></div>