[Cbc] Programmatic version of -threads
acw at ascent.com
acw at ascent.com
Fri Sep 21 11:52:52 EDT 2012
Oooh, sneaky! I like it. Thank you, Stefan; you are a gentleman and a
scholar.
From:
Stefan Vigerske <stefan at math.hu-berlin.de>
To:
acw at ascent.com
Cc:
"cbc at list.coin-or.org" <cbc at list.coin-or.org>
Date:
09/21/2012 09:12 AM
Subject:
Re: [Cbc] Programmatic version of -threads
Hi,
If you call Cbc via the CbcMain0/CbcMain1 interface, then just pass the
commandline arguments ("-threads" "1024") in the args array.
Stefan
On 09/21/2012 12:29 AM, acw at ascent.com wrote:
> I want to launch a Cbc solve under program control, but to enable
> multithreading. How do I do programmatically, what I would ordinarily
do
> from the Cbc command line with the option -threads?
>
> (If nobody knows the answer quickly I will learn it by reading the
> command-line-parsing code, and I'll post the answer here.)
>
>
>
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cbc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20120921/b098f924/attachment.html>
More information about the Cbc
mailing list