[Clp] setting CLP's seed via command line

Markus Wagner markus.wagner at adelaide.edu.au
Wed Jun 29 00:27:42 EDT 2016


Dear colleagues,

Is it possible to set the seed through the command line? I'd like to 
investigate CLP's performance (I downloaded today's version from the 
SVN) using different seeds, however, I'd love to keep the code unchanged 
and use CLP as a black box. It seems to be possible through the API and 
through the interactive shell. What would be the command-line equivalent 
of the following?

     clp randomseedclp=333 /Users/wagner/Desktop/buildingenergy.mps
     clp randomseedclp 333 /Users/wagner/Desktop/buildingenergy.mps
     clp -randomseedclp 333 /Users/wagner/Desktop/buildingenergy.mps
     clp -randomseedclp=333 /Users/wagner/Desktop/buildingenergy.mps

Similarly, I'd love to be able to set the time limit via the command 
line. Sure, I could have a watchdog that kill the thread, but a command 
line setting I think is friendlier.

Thank you!

Best regards,
Markus


More information about the Clp mailing list