@@ -295,7 +295,6 @@ cdef extern from "scip/scip.h":
295
295
SCIP_EVENTTYPE SCIP_EVENTTYPE_ROWCHANGED
296
296
SCIP_EVENTTYPE SCIP_EVENTTYPE_ROWEVENT
297
297
298
-
299
298
ctypedef int SCIP_LPSOLQUALITY
300
299
cdef extern from " lpi/type_lpi.h" :
301
300
SCIP_LPSOLQUALITY SCIP_LPSOLQUALITY_ESTIMCONDITION
@@ -541,9 +540,9 @@ cdef extern from "scip/scip.h":
541
540
ctypedef union SCIP_DOMCHG:
542
541
pass
543
542
544
- ctypedef void (* messagecallback) (SCIP_MESSAGEHDLR * messagehdlr, FILE * file , const char * msg) noexcept
545
- ctypedef void (* errormessagecallback) (void * data, FILE * file , const char * msg)
546
- ctypedef SCIP_RETCODE (* messagehdlrfree) (SCIP_MESSAGEHDLR * messagehdlr)
543
+ ctypedef void (* messagecallback) (SCIP_MESSAGEHDLR* messagehdlr, FILE* file , const char * msg) noexcept
544
+ ctypedef void (* errormessagecallback) (void * data, FILE* file , const char * msg)
545
+ ctypedef SCIP_RETCODE (* messagehdlrfree) (SCIP_MESSAGEHDLR* messagehdlr)
547
546
548
547
# General SCIP Methods
549
548
SCIP_RETCODE SCIPcreate(SCIP** scip)
@@ -569,15 +568,15 @@ cdef extern from "scip/scip.h":
569
568
SCIP_Bool* valid)
570
569
SCIP_RETCODE SCIPcopyOrigVars(SCIP* sourcescip, SCIP* targetscip, SCIP_HASHMAP* varmap, SCIP_HASHMAP* consmap, SCIP_VAR** fixedvars, SCIP_Real* fixedvals, int nfixedvars )
571
570
SCIP_RETCODE SCIPcopyOrigConss(SCIP* sourcescip, SCIP* targetscip, SCIP_HASHMAP* varmap, SCIP_HASHMAP* consmap, SCIP_Bool enablepricing, SCIP_Bool* valid)
572
- SCIP_RETCODE SCIPmessagehdlrCreate(SCIP_MESSAGEHDLR ** messagehdlr,
571
+ SCIP_RETCODE SCIPmessagehdlrCreate(SCIP_MESSAGEHDLR** messagehdlr,
573
572
SCIP_Bool bufferedoutput,
574
- const char * filename,
573
+ const char * filename,
575
574
SCIP_Bool quiet,
576
575
messagecallback,
577
576
messagecallback,
578
577
messagecallback,
579
578
messagehdlrfree,
580
- SCIP_MESSAGEHDLRDATA * messagehdlrdata)
579
+ SCIP_MESSAGEHDLRDATA* messagehdlrdata)
581
580
582
581
SCIP_RETCODE SCIPsetMessagehdlr(SCIP* scip, SCIP_MESSAGEHDLR* messagehdlr)
583
582
void SCIPsetMessagehdlrQuiet(SCIP* scip, SCIP_Bool quiet)
@@ -787,6 +786,11 @@ cdef extern from "scip/scip.h":
787
786
SCIP_RETCODE SCIPtransformVar(SCIP* scip, SCIP_VAR* var, SCIP_VAR** transvar)
788
787
SCIP_RETCODE SCIPgetTransformedVar(SCIP* scip, SCIP_VAR* var, SCIP_VAR** transvar)
789
788
SCIP_RETCODE SCIPaddVarLocks(SCIP* scip, SCIP_VAR* var, int nlocksdown, int nlocksup)
789
+ SCIP_RETCODE SCIPaddVarLocksType(SCIP* scip, SCIP_VAR* var, SCIP_LOCKTYPE locktype, int nlocksdown, int nlocksup)
790
+ int SCIPvarGetNLocksDown(SCIP_VAR* var)
791
+ int SCIPvarGetNLocksUp(SCIP_VAR* var)
792
+ int SCIPvarGetNLocksDownType(SCIP_VAR* var, SCIP_LOCKTYPE locktype)
793
+ int SCIPvarGetNLocksUpType(SCIP_VAR* var, SCIP_LOCKTYPE locktype)
790
794
SCIP_VAR** SCIPgetVars(SCIP* scip)
791
795
SCIP_VAR** SCIPgetOrigVars(SCIP* scip)
792
796
const char * SCIPvarGetName(SCIP_VAR* var)
@@ -813,11 +817,11 @@ cdef extern from "scip/scip.h":
813
817
void SCIPvarSetData(SCIP_VAR* var, SCIP_VARDATA* vardata)
814
818
SCIP_VARDATA* SCIPvarGetData(SCIP_VAR* var)
815
819
SCIP_Real SCIPvarGetAvgSol(SCIP_VAR* var)
816
- SCIP_Real SCIPgetVarPseudocost(SCIP* scip, SCIP_VAR * var, SCIP_BRANCHDIR dir )
820
+ SCIP_Real SCIPgetVarPseudocost(SCIP* scip, SCIP_VAR* var, SCIP_BRANCHDIR dir )
817
821
SCIP_Real SCIPvarGetCutoffSum(SCIP_VAR* var, SCIP_BRANCHDIR dir )
818
822
SCIP_Longint SCIPvarGetNBranchings(SCIP_VAR* var, SCIP_BRANCHDIR dir )
819
823
SCIP_Bool SCIPvarMayRoundUp(SCIP_VAR* var)
820
- SCIP_Bool SCIPvarMayRoundDown(SCIP_VAR * var)
824
+ SCIP_Bool SCIPvarMayRoundDown(SCIP_VAR* var)
821
825
822
826
# LP Methods
823
827
SCIP_RETCODE SCIPgetLPColsData(SCIP* scip, SCIP_COL*** cols, int * ncols)
@@ -831,8 +835,8 @@ cdef extern from "scip/scip.h":
831
835
SCIP_LPSOLSTAT SCIPgetLPSolstat(SCIP* scip)
832
836
int SCIPgetNLPRows(SCIP* scip)
833
837
int SCIPgetNLPCols(SCIP* scip)
834
- SCIP_COL** SCIPgetLPCols(SCIP * scip)
835
- SCIP_ROW** SCIPgetLPRows(SCIP * scip)
838
+ SCIP_COL** SCIPgetLPCols(SCIP* scip)
839
+ SCIP_ROW** SCIPgetLPRows(SCIP* scip)
836
840
SCIP_Bool SCIPallColsInLP(SCIP* scip)
837
841
838
842
# Cutting Plane Methods
@@ -872,11 +876,11 @@ cdef extern from "scip/scip.h":
872
876
const char * SCIPconshdlrGetName(SCIP_CONSHDLR* conshdlr)
873
877
SCIP_RETCODE SCIPdelConsLocal(SCIP* scip, SCIP_CONS* cons)
874
878
SCIP_RETCODE SCIPdelCons(SCIP* scip, SCIP_CONS* cons)
875
- SCIP_RETCODE SCIPsetConsChecked(SCIP * scip, SCIP_CONS * cons, SCIP_Bool check)
876
- SCIP_RETCODE SCIPsetConsRemovable(SCIP * scip, SCIP_CONS * cons, SCIP_Bool removable)
877
- SCIP_RETCODE SCIPsetConsInitial(SCIP * scip, SCIP_CONS * cons, SCIP_Bool initial)
878
- SCIP_RETCODE SCIPsetConsModifiable(SCIP * scip, SCIP_CONS * cons, SCIP_Bool modifiable)
879
- SCIP_RETCODE SCIPsetConsEnforced(SCIP * scip, SCIP_CONS * cons, SCIP_Bool enforce)
879
+ SCIP_RETCODE SCIPsetConsChecked(SCIP* scip, SCIP_CONS* cons, SCIP_Bool check)
880
+ SCIP_RETCODE SCIPsetConsRemovable(SCIP* scip, SCIP_CONS* cons, SCIP_Bool removable)
881
+ SCIP_RETCODE SCIPsetConsInitial(SCIP* scip, SCIP_CONS* cons, SCIP_Bool initial)
882
+ SCIP_RETCODE SCIPsetConsModifiable(SCIP* scip, SCIP_CONS* cons, SCIP_Bool modifiable)
883
+ SCIP_RETCODE SCIPsetConsEnforced(SCIP* scip, SCIP_CONS* cons, SCIP_Bool enforce)
880
884
881
885
# Primal Solution Methods
882
886
SCIP_SOL** SCIPgetSols(SCIP* scip)
@@ -906,8 +910,8 @@ cdef extern from "scip/scip.h":
906
910
SCIP_Real SCIPgetGap(SCIP* scip)
907
911
int SCIPgetDepth(SCIP* scip)
908
912
SCIP_RETCODE SCIPcutoffNode(SCIP* scip, SCIP_NODE* node)
909
- SCIP_Bool SCIPhasPrimalRay(SCIP * scip)
910
- SCIP_Real SCIPgetPrimalRayVal(SCIP * scip, SCIP_VAR * var)
913
+ SCIP_Bool SCIPhasPrimalRay(SCIP* scip)
914
+ SCIP_Real SCIPgetPrimalRayVal(SCIP* scip, SCIP_VAR* var)
911
915
SCIP_RETCODE SCIPaddSolFree(SCIP* scip, SCIP_SOL** sol, SCIP_Bool* stored)
912
916
SCIP_RETCODE SCIPaddSol(SCIP* scip, SCIP_SOL* sol, SCIP_Bool* stored)
913
917
SCIP_RETCODE SCIPreadSol(SCIP* scip, const char * filename)
@@ -1051,7 +1055,7 @@ cdef extern from "scip/scip.h":
1051
1055
SCIP_RETCODE (* consgetnvars) (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS* cons, int * nvars, SCIP_Bool* success),
1052
1056
SCIP_RETCODE (* consgetdivebdchgs) (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_DIVESET* diveset, SCIP_SOL* sol, SCIP_Bool* success, SCIP_Bool* infeasible),
1053
1057
SCIP_RETCODE (* consgetpermsymgraph)(SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS* cons, SYM_GRAPH* graph, SCIP_Bool* success),
1054
- SCIP_RETCODE (* consgetsignedpermsymgraph)(SCIP * scip, SCIP_CONSHDLR * conshdlr, SCIP_CONS * cons, SYM_GRAPH * graph, SCIP_Bool * success),
1058
+ SCIP_RETCODE (* consgetsignedpermsymgraph)(SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS* cons, SYM_GRAPH* graph, SCIP_Bool* success),
1055
1059
SCIP_CONSHDLRDATA* conshdlrdata)
1056
1060
SCIP_CONSHDLRDATA* SCIPconshdlrGetData(SCIP_CONSHDLR* conshdlr)
1057
1061
SCIP_CONSHDLR* SCIPfindConshdlr(SCIP* scip, const char * name)
@@ -1339,13 +1343,17 @@ cdef extern from "scip/scip.h":
1339
1343
SCIP_Bool SCIPisLT(SCIP* scip, SCIP_Real val1, SCIP_Real val2)
1340
1344
SCIP_Bool SCIPisGE(SCIP* scip, SCIP_Real val1, SCIP_Real val2)
1341
1345
SCIP_Bool SCIPisGT(SCIP* scip, SCIP_Real val1, SCIP_Real val2)
1342
- SCIP_Bool SCIPisEQ(SCIP * scip, SCIP_Real val1, SCIP_Real val2)
1343
- SCIP_Bool SCIPisFeasEQ(SCIP * scip, SCIP_Real val1, SCIP_Real val2)
1344
- SCIP_Bool SCIPisHugeValue(SCIP * scip, SCIP_Real val)
1345
- SCIP_Bool SCIPisPositive(SCIP * scip, SCIP_Real val)
1346
- SCIP_Bool SCIPisNegative(SCIP * scip, SCIP_Real val)
1347
- SCIP_Bool SCIPisIntegral(SCIP * scip, SCIP_Real val)
1348
- SCIP_Real SCIPgetTreesizeEstimation(SCIP * scip)
1346
+ SCIP_Bool SCIPisEQ(SCIP* scip, SCIP_Real val1, SCIP_Real val2)
1347
+ SCIP_Bool SCIPisFeasEQ(SCIP* scip, SCIP_Real val1, SCIP_Real val2)
1348
+ SCIP_Bool SCIPisFeasLT(SCIP* scip, SCIP_Real val1, SCIP_Real val2)
1349
+ SCIP_Bool SCIPisFeasGT(SCIP* scip, SCIP_Real val1, SCIP_Real val2)
1350
+ SCIP_Bool SCIPisFeasLE(SCIP* scip, SCIP_Real val1, SCIP_Real val2)
1351
+ SCIP_Bool SCIPisFeasGE(SCIP* scip, SCIP_Real val1, SCIP_Real val2)
1352
+ SCIP_Bool SCIPisHugeValue(SCIP* scip, SCIP_Real val)
1353
+ SCIP_Bool SCIPisPositive(SCIP* scip, SCIP_Real val)
1354
+ SCIP_Bool SCIPisNegative(SCIP* scip, SCIP_Real val)
1355
+ SCIP_Bool SCIPisIntegral(SCIP* scip, SCIP_Real val)
1356
+ SCIP_Real SCIPgetTreesizeEstimation(SCIP* scip)
1349
1357
1350
1358
# Statistic Methods
1351
1359
SCIP_RETCODE SCIPprintStatistics(SCIP* scip, FILE* outfile)
@@ -1611,22 +1619,22 @@ cdef extern from "scip/cons_sos2.h":
1611
1619
SCIP_VAR* var)
1612
1620
1613
1621
cdef extern from " scip/cons_disjunction.h" :
1614
- SCIP_RETCODE SCIPcreateConsDisjunction(SCIP * scip,
1615
- SCIP_CONS ** cons,
1616
- const char * name,
1622
+ SCIP_RETCODE SCIPcreateConsDisjunction(SCIP* scip,
1623
+ SCIP_CONS** cons,
1624
+ const char * name,
1617
1625
int nconss,
1618
- SCIP_CONS ** conss,
1619
- SCIP_CONS * relaxcons,
1626
+ SCIP_CONS** conss,
1627
+ SCIP_CONS* relaxcons,
1620
1628
SCIP_Bool initial,
1621
1629
SCIP_Bool enforce,
1622
1630
SCIP_Bool check,
1623
1631
SCIP_Bool local,
1624
1632
SCIP_Bool modifiable,
1625
1633
SCIP_Bool dynamic)
1626
1634
1627
- SCIP_RETCODE SCIPaddConsElemDisjunction(SCIP * scip,
1628
- SCIP_CONS * cons,
1629
- SCIP_CONS * addcons)
1635
+ SCIP_RETCODE SCIPaddConsElemDisjunction(SCIP* scip,
1636
+ SCIP_CONS* cons,
1637
+ SCIP_CONS* addcons)
1630
1638
1631
1639
cdef extern from " scip/cons_and.h" :
1632
1640
SCIP_RETCODE SCIPcreateConsAnd(SCIP* scip,
@@ -1963,7 +1971,7 @@ cdef extern from "scip/pub_lp.h":
1963
1971
SCIP_Real* SCIPcolGetVals(SCIP_COL* col)
1964
1972
int SCIPcolGetAge(SCIP_COL* col)
1965
1973
int SCIPcolGetIndex(SCIP_COL* col)
1966
- SCIP_Real SCIPcolGetObj(SCIP_COL * col)
1974
+ SCIP_Real SCIPcolGetObj(SCIP_COL* col)
1967
1975
1968
1976
cdef extern from " scip/scip_tree.h" :
1969
1977
SCIP_RETCODE SCIPgetOpenNodesData(SCIP* scip, SCIP_NODE*** leaves, SCIP_NODE*** children, SCIP_NODE*** siblings, int * nleaves, int * nchildren, int * nsiblings)
0 commit comments