File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,8 +64,6 @@ cdef extern from "scip/config.h":
6464 """
6565 bint WITH_DEBUG_SOLUTION
6666
67- cdef bint with_debug_solution = WITH_DEBUG_SOLUTION
68-
6967# Mapping the SCIP_RESULT enum to a python class
7068# This is required to return SCIP_RESULT in the python code
7169# In __init__.py this is imported as SCIP_RESULT to keep the
@@ -7508,15 +7506,15 @@ cdef class Model:
75087506 a debug solution during the solution process of SCIP. It must be explicitly
75097507 enabled for the SCIP data structure.
75107508 """
7511- if not with_debug_solution :
7509+ if not WITH_DEBUG_SOLUTION :
75127510 raise RuntimeError (" SCIP must be built with `DEBUGSOL=true` to enable the debug solution mechanism." )
75137511 SCIPenableDebugSol(self ._scip)
75147512
75157513 def disableDebugSol (self ):
75167514 """
75177515 Disables the debug solution mechanism.
75187516 """
7519- if not with_debug_solution :
7517+ if not WITH_DEBUG_SOLUTION :
75207518 raise RuntimeError (" SCIP must be built with `DEBUGSOL=true` to disable the debug solution mechanism." )
75217519 SCIPdisableDebugSol(self ._scip)
75227520
You can’t perform that action at this time.
0 commit comments