@@ -75,23 +75,23 @@ cdef wrap_detector_callback_result(Detector detector, PARTIALDEC_DETECTION_DATA*
75
75
result[0 ] = result_dict.get(" result" , < SCIP_RESULT> result[0 ])
76
76
77
77
78
- cdef SCIP_RETCODE PyDetectorFree (SCIP* scip, GCG_DETECTOR* detector) with gil:
78
+ cdef SCIP_RETCODE PyDetectorFree (SCIP* scip, GCG_DETECTOR* detector) noexcept with gil:
79
79
py_detector = get_py_detector(detector)
80
80
py_detector.freeDetector()
81
81
Py_DECREF(py_detector)
82
82
return SCIP_OKAY
83
83
84
- cdef SCIP_RETCODE PyDetectorInit (SCIP* scip, GCG_DETECTOR* detector) with gil:
84
+ cdef SCIP_RETCODE PyDetectorInit (SCIP* scip, GCG_DETECTOR* detector) noexcept with gil:
85
85
py_detector = get_py_detector(detector)
86
86
py_detector.initDetector()
87
87
return SCIP_OKAY
88
88
89
- cdef SCIP_RETCODE PyDetectorExit (SCIP* scip, GCG_DETECTOR* detector) with gil:
89
+ cdef SCIP_RETCODE PyDetectorExit (SCIP* scip, GCG_DETECTOR* detector) noexcept with gil:
90
90
py_detector = get_py_detector(detector)
91
91
py_detector.exitDetector()
92
92
return SCIP_OKAY
93
93
94
- cdef SCIP_RETCODE PyDetectorPropagatePartialdec (SCIP* scip, GCG_DETECTOR* detector, PARTIALDEC_DETECTION_DATA* partialdecdetectiondata, SCIP_RESULT* result) with gil:
94
+ cdef SCIP_RETCODE PyDetectorPropagatePartialdec (SCIP* scip, GCG_DETECTOR* detector, PARTIALDEC_DETECTION_DATA* partialdecdetectiondata, SCIP_RESULT* result) noexcept with gil:
95
95
cdef SCIP_CLOCK* clock = start_new_clock(scip)
96
96
97
97
py_detector = get_py_detector(detector)
@@ -104,7 +104,7 @@ cdef SCIP_RETCODE PyDetectorPropagatePartialdec (SCIP* scip, GCG_DETECTOR* detec
104
104
105
105
return SCIP_OKAY
106
106
107
- cdef SCIP_RETCODE PyDetectorFinishPartialdec (SCIP* scip, GCG_DETECTOR* detector, PARTIALDEC_DETECTION_DATA* partialdecdetectiondata, SCIP_RESULT* result) with gil:
107
+ cdef SCIP_RETCODE PyDetectorFinishPartialdec (SCIP* scip, GCG_DETECTOR* detector, PARTIALDEC_DETECTION_DATA* partialdecdetectiondata, SCIP_RESULT* result) noexcept with gil:
108
108
cdef SCIP_CLOCK* clock = start_new_clock(scip)
109
109
110
110
py_detector = get_py_detector(detector)
@@ -117,7 +117,7 @@ cdef SCIP_RETCODE PyDetectorFinishPartialdec (SCIP* scip, GCG_DETECTOR* detector
117
117
118
118
return SCIP_OKAY
119
119
120
- cdef SCIP_RETCODE PyDetectorPostprocessPartialdec (SCIP* scip, GCG_DETECTOR* detector, PARTIALDEC_DETECTION_DATA* partialdecdetectiondata, SCIP_RESULT* result) with gil:
120
+ cdef SCIP_RETCODE PyDetectorPostprocessPartialdec (SCIP* scip, GCG_DETECTOR* detector, PARTIALDEC_DETECTION_DATA* partialdecdetectiondata, SCIP_RESULT* result) noexcept with gil:
121
121
cdef SCIP_CLOCK* clock = start_new_clock(scip)
122
122
123
123
py_detector = get_py_detector(detector)
@@ -130,19 +130,19 @@ cdef SCIP_RETCODE PyDetectorPostprocessPartialdec (SCIP* scip, GCG_DETECTOR* det
130
130
131
131
return SCIP_OKAY
132
132
133
- cdef SCIP_RETCODE PyDetectorSetParamAggressive (SCIP* scip, GCG_DETECTOR* detector, SCIP_RESULT* result) with gil:
133
+ cdef SCIP_RETCODE PyDetectorSetParamAggressive (SCIP* scip, GCG_DETECTOR* detector, SCIP_RESULT* result) noexcept with gil:
134
134
py_detector = get_py_detector(detector)
135
135
result_dict = py_detector.setParamAggressive() or {}
136
136
result[0 ] = result_dict.get(" result" , < SCIP_RESULT> result[0 ])
137
137
return SCIP_OKAY
138
138
139
- cdef SCIP_RETCODE PyDetectorSetParamDefault (SCIP* scip, GCG_DETECTOR* detector, SCIP_RESULT* result) with gil:
139
+ cdef SCIP_RETCODE PyDetectorSetParamDefault (SCIP* scip, GCG_DETECTOR* detector, SCIP_RESULT* result) noexcept with gil:
140
140
py_detector = get_py_detector(detector)
141
141
result_dict = py_detector.setParamDefault() or {}
142
142
result[0 ] = result_dict.get(" result" , < SCIP_RESULT> result[0 ])
143
143
return SCIP_OKAY
144
144
145
- cdef SCIP_RETCODE PyDetectorSetParamFast (SCIP* scip, GCG_DETECTOR* detector, SCIP_RESULT* result) with gil:
145
+ cdef SCIP_RETCODE PyDetectorSetParamFast (SCIP* scip, GCG_DETECTOR* detector, SCIP_RESULT* result) noexcept with gil:
146
146
py_detector = get_py_detector(detector)
147
147
result_dict = py_detector.setParamFast() or {}
148
148
result[0 ] = result_dict.get(" result" , < SCIP_RESULT> result[0 ])
0 commit comments