[Clp] Clp Digest, Vol 91, Issue 7

Greg Gruber greg.gruber at gmail.com
Fri Sep 28 11:19:31 EDT 2012


That's exactly what I was looking for, thanks!

Greg
On Wed, Sep 26, 2012 at 12:00 PM, <clp-request at list.coin-or.org> wrote:

> Send Clp mailing list submissions to
>         clp at list.coin-or.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://list.coin-or.org/mailman/listinfo/clp
> or, via email, send a message with subject or body 'help' to
>         clp-request at list.coin-or.org
>
> You can reach the person managing the list at
>         clp-owner at list.coin-or.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Clp digest..."
>
>
> Today's Topics:
>
>    1. Re: specifying random number seed with CLP (John Forrest)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 26 Sep 2012 13:15:17 +0100
> From: John Forrest <john.forrest at fastercoin.com>
> To: clp at list.coin-or.org
> Subject: Re: [Clp] specifying random number seed with CLP
> Message-ID: <5062F1D5.3000406 at fastercoin.com>
> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
>
> Greg,
>
> In Clp/trunk I have added randomSeed which allows you to set an initial
> seed.  If set to 0 then uses time of day to generate a random seed.
>
> If you want to use Clp/stable then it should be easy to patch if you
> look at differences in 1883.  CbcOrClpParam.?pp have changed and I also
> had to fix a benign "bug" which stopped changes being made (ClpModel.cpp)
>
> I attach a file showing three runs.  Is that what you wanted?
>
> John Forrest
>
>
>
> On 24/09/12 22:12, Greg Gruber wrote:
> > Hello,
> > I am using the clp.exe command line tool to solve a model that I have
> > coded with GLPK.  It is working fine, but I would like to make
> > successive runs using a random numbers to change some parameters.
> > With glpsol I can do the following:
> > glpsol --seed ? -m foo.mod -d foo.dat
> > and a different random number seed will be used each time. When I
> > solve using clp, I do the following:
> > clp foo.mod%foo.dat -solve
> > But I get the same result each time, because it is using the same
> > random number seed.
> > Is there a way to force a new seed?
> > Thanks,
> > Greg Gruber
> >
> >
> > _______________________________________________
> > Clp mailing list
> > Clp at list.coin-or.org
> > http://list.coin-or.org/mailman/listinfo/clp
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://list.coin-or.org/pipermail/clp/attachments/20120926/d473e1b1/attachment-0001.html
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: random.log
> Type: text/x-log
> Size: 3219 bytes
> Desc: not available
> URL: <
> http://list.coin-or.org/pipermail/clp/attachments/20120926/d473e1b1/attachment-0001.bin
> >
>
> ------------------------------
>
> _______________________________________________
> Clp mailing list
> Clp at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/clp
>
>
> End of Clp Digest, Vol 91, Issue 7
> **********************************
>



-- 
------- free Von NotHaus! ----------

"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." -- Daniel Webster.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/clp/attachments/20120928/1d27737b/attachment.html>


More information about the Clp mailing list