Set num threads errors
pattonw opened this issue · comments
William Patton commented
set_num_threads seems to core dump with Scip every time.
Minimal recreation:
import pylp
solver = pylp.create_linear_solver(pylp.Preference.Scip)
solver.set_num_threads(1)
I sometimes also see issues using set_num_threads with the Gurobi backend, however haven't managed to recreate this one yet.
File "/groups/mousebrainmicro/home/pattonw/anaconda3/envs/mouselight/lib/python3.6/site-packages/funlib/match/graph_to_tree_matcher.py", line 91, in solve
solver.set_num_threads(1)
RuntimeError: Gurobi error in /groups/funke/home/funkej/.miniconda3/envs/pylp/conda-bld/pylp_1553874602236/work/solvers/GurobiBackend.cpp:326