[Scip] multi-threading disabled for cplex?

Benjamin Müller benjamin.mueller at zib.de
Fri Aug 7 09:12:19 CEST 2015


Hi Noseong,

I guess you have misunderstood the code:

    case SCIP_LPPAR_THREADS:
#if (CPX_VERSION == 1100 || (CPX_VERSION == 1220 && (CPX_SUBVERSION == 0 
|| CPX_SUBVERSION == 2)))
       /* Due to CPLEX bug, we always set the thread count to 1. In 
order to fulfill an assert in lp.c, we have to
        * store the value set by SCIP and return it later instead of the 
real thread count */
       lpi->pseudonthreads = ival;
       ival = 1;
#else
       ival = MIN(ival, CPX_INT_MAX);
#endif
       setIntParam(lpi, CPX_PARAM_THREADS, ival);


The multi-threading feature is disabled for (CPX_VERSION == 1100 || 
(CPX_VERSION == 1220 && (CPX_SUBVERSION == 0 || CPX_SUBVERSION == 2))).


Best,

Benny

On 08/06/2015 09:20 PM, Noseong Park wrote:
> Hi All,
> I have seen that multithreading is enabled for cplex only if 
> (CPX_VERSION == 1100 || (CPX_VERSION == 1220 && (CPX_SUBVERSION == 0 
> || CPX_SUBVERSION == 2))). Is it a bad idea to enable it manually for 
> cplex 12.6 whose CPX_VERSION value is 12060000?
>
> By the way, CPX_VERSION = 1100 or 1220 sounds like a very old version 
> of cplex. Is 1100 (or 1220) a typo?
>
> Best,
> Noseong
>
>
>     *Noseong Park*
>
> /Ph.D. Student
> //Department of //Computer Science -////University of Maryland
> //Laboratory for Computational Cultural Dynamics/
>
> /http://www.cs.umd.edu/~npark <http://www.cs.umd.edu/%7Enpark>//
> /
>
>
>
>
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> http://listserv.zib.de/mailman/listinfo/scip

-- 
______________________________
Benjamin Müller
Zuse Institute Berlin
Takustr. 7, 14195 Berlin
benjamin.mueller at zib.de
+49 30 841 85-195

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20150807/e5c32d40/attachment.html>


More information about the Scip mailing list