<div>That&#39;s exactly what I was looking for, thanks!</div>
<div> </div>
<div>Greg<br></div>
<div class="gmail_quote">On Wed, Sep 26, 2012 at 12:00 PM, <span dir="ltr">&lt;<a href="mailto:clp-request@list.coin-or.org" target="_blank">clp-request@list.coin-or.org</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Send Clp mailing list submissions to<br>        <a href="mailto:clp@list.coin-or.org">clp@list.coin-or.org</a><br>
<br>To subscribe or unsubscribe via the World Wide Web, visit<br>        <a href="http://list.coin-or.org/mailman/listinfo/clp" target="_blank">http://list.coin-or.org/mailman/listinfo/clp</a><br>or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:clp-request@list.coin-or.org">clp-request@list.coin-or.org</a><br><br>You can reach the person managing the list at<br>        <a href="mailto:clp-owner@list.coin-or.org">clp-owner@list.coin-or.org</a><br>
<br>When replying, please edit your Subject line so it is more specific<br>than &quot;Re: Contents of Clp digest...&quot;<br><br><br>Today&#39;s Topics:<br><br>   1. Re: specifying random number seed with CLP (John Forrest)<br>
<br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Wed, 26 Sep 2012 13:15:17 +0100<br>From: John Forrest &lt;<a href="mailto:john.forrest@fastercoin.com">john.forrest@fastercoin.com</a>&gt;<br>
To: <a href="mailto:clp@list.coin-or.org">clp@list.coin-or.org</a><br>Subject: Re: [Clp] specifying random number seed with CLP<br>Message-ID: &lt;<a href="mailto:5062F1D5.3000406@fastercoin.com">5062F1D5.3000406@fastercoin.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;; Format=&quot;flowed&quot;<br><br>Greg,<br><br>In Clp/trunk I have added randomSeed which allows you to set an initial<br>seed.  If set to 0 then uses time of day to generate a random seed.<br>
<br>If you want to use Clp/stable then it should be easy to patch if you<br>look at differences in 1883.  CbcOrClpParam.?pp have changed and I also<br>had to fix a benign &quot;bug&quot; which stopped changes being made (ClpModel.cpp)<br>
<br>I attach a file showing three runs.  Is that what you wanted?<br><br>John Forrest<br><br><br><br>On 24/09/12 22:12, Greg Gruber wrote:<br>&gt; Hello,<br>&gt; I am using the clp.exe command line tool to solve a model that I have<br>
&gt; coded with GLPK.  It is working fine, but I would like to make<br>&gt; successive runs using a random numbers to change some parameters.<br>&gt; With glpsol I can do the following:<br>&gt; glpsol --seed ? -m foo.mod -d foo.dat<br>
&gt; and a different random number seed will be used each time. When I<br>&gt; solve using clp, I do the following:<br>&gt; clp foo.mod%foo.dat -solve<br>&gt; But I get the same result each time, because it is using the same<br>
&gt; random number seed.<br>&gt; Is there a way to force a new seed?<br>&gt; Thanks,<br>&gt; Greg Gruber<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; Clp mailing list<br>&gt; <a href="mailto:Clp@list.coin-or.org">Clp@list.coin-or.org</a><br>
&gt; <a href="http://list.coin-or.org/mailman/listinfo/clp" target="_blank">http://list.coin-or.org/mailman/listinfo/clp</a><br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: &lt;<a href="http://list.coin-or.org/pipermail/clp/attachments/20120926/d473e1b1/attachment-0001.html" target="_blank">http://list.coin-or.org/pipermail/clp/attachments/20120926/d473e1b1/attachment-0001.html</a>&gt;<br>
-------------- next part --------------<br>A non-text attachment was scrubbed...<br>Name: random.log<br>Type: text/x-log<br>Size: 3219 bytes<br>Desc: not available<br>URL: &lt;<a href="http://list.coin-or.org/pipermail/clp/attachments/20120926/d473e1b1/attachment-0001.bin" target="_blank">http://list.coin-or.org/pipermail/clp/attachments/20120926/d473e1b1/attachment-0001.bin</a>&gt;<br>
<br>------------------------------<br><br>_______________________________________________<br>Clp mailing list<br><a href="mailto:Clp@list.coin-or.org">Clp@list.coin-or.org</a><br><a href="http://list.coin-or.org/mailman/listinfo/clp" target="_blank">http://list.coin-or.org/mailman/listinfo/clp</a><br>
<br><br>End of Clp Digest, Vol 91, Issue 7<br>**********************************<br></blockquote></div><br><br clear="all"><br>-- <br>
<div>------- free Von NotHaus! ----------</div>
<div> </div>
<div>&quot;Good intentions will always be pleaded for any assumption of power. The constitution was made to safeguard the people against the dangers of good intentions. There are men in all ages who mean to govern well, but they mean to govern. They promise to be good masters, but they mean to be masters.&quot; -- Daniel Webster.</div>
<br>