[Clp] specifying random number seed with CLP

Greg Gruber greg.gruber at gmail.com
Mon Sep 24 17:12:09 EDT 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/clp/attachments/20120924/ffdb7841/attachment.html>


More information about the Clp mailing list