@@ -169,7 +169,6 @@ cdef SCIP_RETCODE PyConsFree (SCIP* scip, SCIP_CONSHDLR* conshdlr) noexcept with
169169
170170cdef SCIP_RETCODE PyConsInit (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS** conss, int nconss) noexcept with gil:
171171 PyConshdlr = getPyConshdlr(conshdlr)
172- cdef int i
173172 cdef constraints = []
174173 for i in range (nconss):
175174 constraints.append(getPyCons(conss[i]))
@@ -179,7 +178,6 @@ cdef SCIP_RETCODE PyConsInit (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS** c
179178cdef SCIP_RETCODE PyConsExit (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS** conss, int nconss) noexcept with gil:
180179 PyConshdlr = getPyConshdlr(conshdlr)
181180 cdef constraints = []
182- cdef int i
183181 for i in range (nconss):
184182 constraints.append(getPyCons(conss[i]))
185183 PyConshdlr.consexit(constraints)
@@ -188,7 +186,6 @@ cdef SCIP_RETCODE PyConsExit (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS** c
188186cdef SCIP_RETCODE PyConsInitpre (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS** conss, int nconss) noexcept with gil:
189187 PyConshdlr = getPyConshdlr(conshdlr)
190188 cdef constraints = []
191- cdef int i
192189 for i in range (nconss):
193190 constraints.append(getPyCons(conss[i]))
194191 PyConshdlr.consinitpre(constraints)
@@ -197,7 +194,6 @@ cdef SCIP_RETCODE PyConsInitpre (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS*
197194cdef SCIP_RETCODE PyConsExitpre (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS** conss, int nconss) noexcept with gil:
198195 PyConshdlr = getPyConshdlr(conshdlr)
199196 cdef constraints = []
200- cdef int i
201197 for i in range (nconss):
202198 constraints.append(getPyCons(conss[i]))
203199 PyConshdlr.consexitpre(constraints)
@@ -206,7 +202,6 @@ cdef SCIP_RETCODE PyConsExitpre (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS*
206202cdef SCIP_RETCODE PyConsInitsol (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS** conss, int nconss) noexcept with gil:
207203 PyConshdlr = getPyConshdlr(conshdlr)
208204 cdef constraints = []
209- cdef int i
210205 for i in range (nconss):
211206 constraints.append(getPyCons(conss[i]))
212207 PyConshdlr.consinitsol(constraints)
@@ -215,7 +210,6 @@ cdef SCIP_RETCODE PyConsInitsol (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS*
215210cdef SCIP_RETCODE PyConsExitsol (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS** conss, int nconss, SCIP_Bool restart) noexcept with gil:
216211 PyConshdlr = getPyConshdlr(conshdlr)
217212 cdef constraints = []
218- cdef int i
219213 for i in range (nconss):
220214 constraints.append(getPyCons(conss[i]))
221215 PyConshdlr.consexitsol(constraints, restart)
@@ -252,7 +246,6 @@ cdef SCIP_RETCODE PyConsTrans (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS* s
252246cdef SCIP_RETCODE PyConsInitlp (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS** conss, int nconss, SCIP_Bool* infeasible) noexcept with gil:
253247 PyConshdlr = getPyConshdlr(conshdlr)
254248 cdef constraints = []
255- cdef int i
256249 for i in range (nconss):
257250 constraints.append(getPyCons(conss[i]))
258251 result_dict = PyConshdlr.consinitlp(constraints)
@@ -262,7 +255,6 @@ cdef SCIP_RETCODE PyConsInitlp (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS**
262255cdef SCIP_RETCODE PyConsSepalp (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS** conss, int nconss, int nusefulconss, SCIP_RESULT* result) noexcept with gil:
263256 PyConshdlr = getPyConshdlr(conshdlr)
264257 cdef constraints = []
265- cdef int i
266258 for i in range (nconss):
267259 constraints.append(getPyCons(conss[i]))
268260 result_dict = PyConshdlr.conssepalp(constraints, nusefulconss)
@@ -273,7 +265,6 @@ cdef SCIP_RETCODE PyConsSepasol (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS*
273265 SCIP_SOL* sol, SCIP_RESULT* result) noexcept with gil:
274266 PyConshdlr = getPyConshdlr(conshdlr)
275267 cdef constraints = []
276- cdef int i
277268 for i in range (nconss):
278269 constraints.append(getPyCons(conss[i]))
279270 solution = Solution.create(scip, sol)
@@ -285,7 +276,6 @@ cdef SCIP_RETCODE PyConsEnfolp (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS**
285276 SCIP_Bool solinfeasible, SCIP_RESULT* result) noexcept with gil:
286277 PyConshdlr = getPyConshdlr(conshdlr)
287278 cdef constraints = []
288- cdef int i
289279 for i in range (nconss):
290280 constraints.append(getPyCons(conss[i]))
291281 result_dict = PyConshdlr.consenfolp(constraints, nusefulconss, solinfeasible)
@@ -295,7 +285,6 @@ cdef SCIP_RETCODE PyConsEnfolp (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS**
295285cdef SCIP_RETCODE PyConsEnforelax (SCIP* scip, SCIP_SOL* sol, SCIP_CONSHDLR* conshdlr, SCIP_CONS** conss, int nconss, int nusefulconss, SCIP_Bool solinfeasible, SCIP_RESULT* result) noexcept with gil:
296286 PyConshdlr = getPyConshdlr(conshdlr)
297287 cdef constraints = []
298- cdef int i
299288 for i in range (nconss):
300289 constraints.append(getPyCons(conss[i]))
301290 solution = Solution.create(scip, sol)
@@ -307,7 +296,6 @@ cdef SCIP_RETCODE PyConsEnfops (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS**
307296 SCIP_Bool solinfeasible, SCIP_Bool objinfeasible, SCIP_RESULT* result) noexcept with gil:
308297 PyConshdlr = getPyConshdlr(conshdlr)
309298 cdef constraints = []
310- cdef int i
311299 for i in range (nconss):
312300 constraints.append(getPyCons(conss[i]))
313301 result_dict = PyConshdlr.consenfops(constraints, nusefulconss, solinfeasible, objinfeasible)
@@ -318,7 +306,6 @@ cdef SCIP_RETCODE PyConsCheck (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS**
318306 SCIP_Bool checklprows, SCIP_Bool printreason, SCIP_Bool completely, SCIP_RESULT* result) noexcept with gil:
319307 PyConshdlr = getPyConshdlr(conshdlr)
320308 cdef constraints = []
321- cdef int i
322309 for i in range (nconss):
323310 constraints.append(getPyCons(conss[i]))
324311 solution = Solution.create(scip, sol)
@@ -330,7 +317,6 @@ cdef SCIP_RETCODE PyConsProp (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS** c
330317 SCIP_PROPTIMING proptiming, SCIP_RESULT* result) noexcept with gil:
331318 PyConshdlr = getPyConshdlr(conshdlr)
332319 cdef constraints = []
333- cdef int i
334320 for i in range (nconss):
335321 constraints.append(getPyCons(conss[i]))
336322 result_dict = PyConshdlr.consprop(constraints, nusefulconss, nmarkedconss, proptiming)
@@ -344,7 +330,6 @@ cdef SCIP_RETCODE PyConsPresol (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS**
344330 int * ndelconss, int * naddconss, int * nupgdconss, int * nchgcoefs, int * nchgsides, SCIP_RESULT* result) noexcept with gil:
345331 PyConshdlr = getPyConshdlr(conshdlr)
346332 cdef constraints = []
347- cdef int i
348333 for i in range (nconss):
349334 constraints.append(getPyCons(conss[i]))
350335 # dictionary for input/output parameters
@@ -418,7 +403,6 @@ cdef SCIP_RETCODE PyConsDisable (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS*
418403cdef SCIP_RETCODE PyConsDelvars (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS** conss, int nconss) noexcept with gil:
419404 PyConshdlr = getPyConshdlr(conshdlr)
420405 cdef constraints = []
421- cdef int i
422406 for i in range (nconss):
423407 constraints.append(getPyCons(conss[i]))
424408 PyConshdlr.consdelvars(constraints)
0 commit comments