[Cbc] Programmatic version of -threads

Stefan Vigerske stefan at math.hu-berlin.de
Fri Sep 21 09:12:07 EDT 2012


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
>



More information about the Cbc mailing list