@@ -384,12 +384,18 @@ cdef extern from "scip/scip.h":
384
384
385
385
ctypedef struct SCIP_ROW:
386
386
pass
387
+
388
+ ctypedef struct SCIP_ROW_EXACT:
389
+ pass
387
390
388
391
ctypedef struct SCIP_NLROW:
389
392
pass
390
393
391
394
ctypedef struct SCIP_COL:
392
395
pass
396
+
397
+ ctypedef struct SCIP_COL_EXACT:
398
+ pass
393
399
394
400
ctypedef struct SCIP_SOL:
395
401
pass
@@ -1397,6 +1403,30 @@ cdef extern from "scip/scip.h":
1397
1403
SCIP_Bool SCIPisIntegral(SCIP* scip, SCIP_Real val)
1398
1404
SCIP_Real SCIPgetTreesizeEstimation(SCIP* scip)
1399
1405
1406
+ # Exact SCIP methods
1407
+ SCIP_RETCODE SCIPenableExactSolving(SCIP* scip, SCIP_Bool enable);
1408
+ SCIP_Bool SCIPisExact(SCIP* scip);
1409
+ SCIP_Bool SCIPallowNegSlack(SCIP* scip);
1410
+ SCIP_RETCODE SCIPbranchLPExact(SCIP* scip, SCIP_RESULT* result);
1411
+ SCIP_RETCODE SCIPaddRowExact(SCIP* scip, SCIP_ROWEXACT* rowexact);
1412
+
1413
+ # Exact LP SCIP methods
1414
+ SCIP_VAR* SCIPcolExactGetVar(SCIP_COLEXACT* col);
1415
+ SCIP_RATIONAL* SCIProwExactGetLhs(SCIP_ROWEXACT* row);
1416
+ SCIP_RATIONAL* SCIProwExactGetRhs(SCIP_ROWEXACT* row);
1417
+ SCIP_RATIONAL* SCIProwExactGetConstant(SCIP_ROWEXACT* row);
1418
+ int SCIProwExactGetNNonz(SCIP_ROWEXACT* row);
1419
+ SCIP_RATIONAL** SCIProwExactGetVals(SCIP_ROWEXACT* row);
1420
+ SCIP_Bool SCIProwExactIsInLP(SCIP_ROWEXACT* row);
1421
+ void SCIProwExactSort(SCIP_ROWEXACT* row);
1422
+ SCIP_COLEXACT** SCIProwExactGetCols(SCIP_ROWEXACT* row);
1423
+ void SCIProwExactLock(SCIP_ROWEXACT* row);
1424
+ void SCIProwExactUnlock(SCIP_ROWEXACT* row);
1425
+ SCIP_ROW* SCIProwExactGetRow(SCIP_ROWEXACT* row);
1426
+ SCIP_ROW* SCIProwExactGetRowRhs(SCIP_ROWEXACT* row);
1427
+ SCIP_Bool SCIProwExactHasFpRelax(SCIP_ROWEXACT* row);
1428
+ SCIP_Bool SCIPlpExactDiving(SCIP_LPEXACT* lpexact);
1429
+
1400
1430
# Statistic Methods
1401
1431
SCIP_RETCODE SCIPprintStatistics(SCIP* scip, FILE* outfile)
1402
1432
SCIP_RETCODE SCIPprintStatisticsJson(SCIP* scip, FILE* file )
@@ -2053,6 +2083,14 @@ cdef class Column:
2053
2083
@staticmethod
2054
2084
cdef create(SCIP_COL* scipcol)
2055
2085
2086
+ cdef class Column:
2087
+ cdef SCIP_COLEXACT* scip_col_exact
2088
+ # can be used to store problem data
2089
+ cdef public object data
2090
+
2091
+ @staticmethod
2092
+ cdef create(SCIP_COLEXACT* scipcol_exact)
2093
+
2056
2094
cdef class Row:
2057
2095
cdef SCIP_ROW* scip_row
2058
2096
# can be used to store problem data
@@ -2061,6 +2099,14 @@ cdef class Row:
2061
2099
@staticmethod
2062
2100
cdef create(SCIP_ROW* sciprow)
2063
2101
2102
+ cdef class RowExact:
2103
+ cdef SCIP_ROWEXACT* scip_row_exact
2104
+ # can be used to store problem data
2105
+ cdef public object data
2106
+
2107
+ @staticmethod
2108
+ cdef create(SCIP_ROWEXACT* sciprow_exact)
2109
+
2064
2110
cdef class NLRow:
2065
2111
cdef SCIP_NLROW* scip_nlrow
2066
2112
# can be used to store problem data
0 commit comments