Skip to content

number of parallel threads invoked by CPLEX parallel optimizer not working #904

@CBongiova

Description

@CBongiova

Dear all,

I have included callbacks in my JuMP function, which in return turns off parallel processing in CPLEX.
Having a look online, I found I can invoke the CplexSolver and set CPX_PARAM_THREADS=4. This parameter specifies how CPLEX should bind threads to cores on platforms where CPLEX supports binding threads to cores ( see https://www.ibm.com/support/knowledgecenter/en/SSSA5P_12.6.3/ilog.odms.cplex.help/CPLEX/Parameters/topics/Threads.html)

Nevertheless, when I then run my runfile I get the following message:

"Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x64f645ea -- jl_gc_pool_alloc at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gc.c:832
while loading C:\Users\bongiova\Desktop\Scripts_Julia\EDARP\run.jl, in expression starting on line 13"

where my expression starting on line 13 is just the following:

model.solveEDARP("C:/Users/bongiova/Desktop/Scripts_Julia/EDARP/mor2-16.txt",solver=CplexSolver(CPX_PARAM_CUTSFACTOR=1,CPX_PARAM_THREADS=4),valid=true)

(where solveEDARP(path; relax=false, solver=CplexSolver(), valid::Bool = true) is my function containing the optimization model in JuMP)

Does anyone have an idea about what is going on? Is this a Julia bug?

screenshot 48

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions