@@ -169,7 +169,6 @@ cdef SCIP_RETCODE PyConsFree (SCIP* scip, SCIP_CONSHDLR* conshdlr) noexcept with
169
169
170
170
cdef SCIP_RETCODE PyConsInit (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS** conss, int nconss) noexcept with gil:
171
171
PyConshdlr = getPyConshdlr(conshdlr)
172
- cdef int i
173
172
cdef constraints = []
174
173
for i in range (nconss):
175
174
constraints.append(getPyCons(conss[i]))
@@ -179,7 +178,6 @@ cdef SCIP_RETCODE PyConsInit (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS** c
179
178
cdef SCIP_RETCODE PyConsExit (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS** conss, int nconss) noexcept with gil:
180
179
PyConshdlr = getPyConshdlr(conshdlr)
181
180
cdef constraints = []
182
- cdef int i
183
181
for i in range (nconss):
184
182
constraints.append(getPyCons(conss[i]))
185
183
PyConshdlr.consexit(constraints)
@@ -188,7 +186,6 @@ cdef SCIP_RETCODE PyConsExit (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS** c
188
186
cdef SCIP_RETCODE PyConsInitpre (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS** conss, int nconss) noexcept with gil:
189
187
PyConshdlr = getPyConshdlr(conshdlr)
190
188
cdef constraints = []
191
- cdef int i
192
189
for i in range (nconss):
193
190
constraints.append(getPyCons(conss[i]))
194
191
PyConshdlr.consinitpre(constraints)
@@ -197,7 +194,6 @@ cdef SCIP_RETCODE PyConsInitpre (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS*
197
194
cdef SCIP_RETCODE PyConsExitpre (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS** conss, int nconss) noexcept with gil:
198
195
PyConshdlr = getPyConshdlr(conshdlr)
199
196
cdef constraints = []
200
- cdef int i
201
197
for i in range (nconss):
202
198
constraints.append(getPyCons(conss[i]))
203
199
PyConshdlr.consexitpre(constraints)
@@ -206,7 +202,6 @@ cdef SCIP_RETCODE PyConsExitpre (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS*
206
202
cdef SCIP_RETCODE PyConsInitsol (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS** conss, int nconss) noexcept with gil:
207
203
PyConshdlr = getPyConshdlr(conshdlr)
208
204
cdef constraints = []
209
- cdef int i
210
205
for i in range (nconss):
211
206
constraints.append(getPyCons(conss[i]))
212
207
PyConshdlr.consinitsol(constraints)
@@ -215,7 +210,6 @@ cdef SCIP_RETCODE PyConsInitsol (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS*
215
210
cdef SCIP_RETCODE PyConsExitsol (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS** conss, int nconss, SCIP_Bool restart) noexcept with gil:
216
211
PyConshdlr = getPyConshdlr(conshdlr)
217
212
cdef constraints = []
218
- cdef int i
219
213
for i in range (nconss):
220
214
constraints.append(getPyCons(conss[i]))
221
215
PyConshdlr.consexitsol(constraints, restart)
@@ -252,7 +246,6 @@ cdef SCIP_RETCODE PyConsTrans (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS* s
252
246
cdef SCIP_RETCODE PyConsInitlp (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS** conss, int nconss, SCIP_Bool* infeasible) noexcept with gil:
253
247
PyConshdlr = getPyConshdlr(conshdlr)
254
248
cdef constraints = []
255
- cdef int i
256
249
for i in range (nconss):
257
250
constraints.append(getPyCons(conss[i]))
258
251
result_dict = PyConshdlr.consinitlp(constraints)
@@ -262,7 +255,6 @@ cdef SCIP_RETCODE PyConsInitlp (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS**
262
255
cdef SCIP_RETCODE PyConsSepalp (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS** conss, int nconss, int nusefulconss, SCIP_RESULT* result) noexcept with gil:
263
256
PyConshdlr = getPyConshdlr(conshdlr)
264
257
cdef constraints = []
265
- cdef int i
266
258
for i in range (nconss):
267
259
constraints.append(getPyCons(conss[i]))
268
260
result_dict = PyConshdlr.conssepalp(constraints, nusefulconss)
@@ -273,7 +265,6 @@ cdef SCIP_RETCODE PyConsSepasol (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS*
273
265
SCIP_SOL* sol, SCIP_RESULT* result) noexcept with gil:
274
266
PyConshdlr = getPyConshdlr(conshdlr)
275
267
cdef constraints = []
276
- cdef int i
277
268
for i in range (nconss):
278
269
constraints.append(getPyCons(conss[i]))
279
270
solution = Solution.create(scip, sol)
@@ -285,7 +276,6 @@ cdef SCIP_RETCODE PyConsEnfolp (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS**
285
276
SCIP_Bool solinfeasible, SCIP_RESULT* result) noexcept with gil:
286
277
PyConshdlr = getPyConshdlr(conshdlr)
287
278
cdef constraints = []
288
- cdef int i
289
279
for i in range (nconss):
290
280
constraints.append(getPyCons(conss[i]))
291
281
result_dict = PyConshdlr.consenfolp(constraints, nusefulconss, solinfeasible)
@@ -295,7 +285,6 @@ cdef SCIP_RETCODE PyConsEnfolp (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS**
295
285
cdef 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:
296
286
PyConshdlr = getPyConshdlr(conshdlr)
297
287
cdef constraints = []
298
- cdef int i
299
288
for i in range (nconss):
300
289
constraints.append(getPyCons(conss[i]))
301
290
solution = Solution.create(scip, sol)
@@ -307,7 +296,6 @@ cdef SCIP_RETCODE PyConsEnfops (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS**
307
296
SCIP_Bool solinfeasible, SCIP_Bool objinfeasible, SCIP_RESULT* result) noexcept with gil:
308
297
PyConshdlr = getPyConshdlr(conshdlr)
309
298
cdef constraints = []
310
- cdef int i
311
299
for i in range (nconss):
312
300
constraints.append(getPyCons(conss[i]))
313
301
result_dict = PyConshdlr.consenfops(constraints, nusefulconss, solinfeasible, objinfeasible)
@@ -318,7 +306,6 @@ cdef SCIP_RETCODE PyConsCheck (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS**
318
306
SCIP_Bool checklprows, SCIP_Bool printreason, SCIP_Bool completely, SCIP_RESULT* result) noexcept with gil:
319
307
PyConshdlr = getPyConshdlr(conshdlr)
320
308
cdef constraints = []
321
- cdef int i
322
309
for i in range (nconss):
323
310
constraints.append(getPyCons(conss[i]))
324
311
solution = Solution.create(scip, sol)
@@ -330,7 +317,6 @@ cdef SCIP_RETCODE PyConsProp (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS** c
330
317
SCIP_PROPTIMING proptiming, SCIP_RESULT* result) noexcept with gil:
331
318
PyConshdlr = getPyConshdlr(conshdlr)
332
319
cdef constraints = []
333
- cdef int i
334
320
for i in range (nconss):
335
321
constraints.append(getPyCons(conss[i]))
336
322
result_dict = PyConshdlr.consprop(constraints, nusefulconss, nmarkedconss, proptiming)
@@ -344,7 +330,6 @@ cdef SCIP_RETCODE PyConsPresol (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS**
344
330
int * ndelconss, int * naddconss, int * nupgdconss, int * nchgcoefs, int * nchgsides, SCIP_RESULT* result) noexcept with gil:
345
331
PyConshdlr = getPyConshdlr(conshdlr)
346
332
cdef constraints = []
347
- cdef int i
348
333
for i in range (nconss):
349
334
constraints.append(getPyCons(conss[i]))
350
335
# dictionary for input/output parameters
@@ -418,7 +403,6 @@ cdef SCIP_RETCODE PyConsDisable (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS*
418
403
cdef SCIP_RETCODE PyConsDelvars (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS** conss, int nconss) noexcept with gil:
419
404
PyConshdlr = getPyConshdlr(conshdlr)
420
405
cdef constraints = []
421
- cdef int i
422
406
for i in range (nconss):
423
407
constraints.append(getPyCons(conss[i]))
424
408
PyConshdlr.consdelvars(constraints)
0 commit comments