Skip to content

Commit 3f76fa7

Browse files
Update stubs with node selection methods (#1101)
* Add new matmul definition * Remove remaining __reduce_cython__ * Add stubs for node selection methods --------- Co-authored-by: João Dionísio <[email protected]>
1 parent f83e2a4 commit 3f76fa7

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/pyscipopt/scip.pyi

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,12 +236,10 @@ class Expr:
236236
def __next__(self): ...
237237
def __pow__(self, other): ...
238238
def __radd__(self, other): ...
239-
def __reduce_cython__(self, *args, **kwargs): ...
240239
def __rmul__(self, other): ...
241240
def __rpow__(self, other): ...
242241
def __rsub__(self, other): ...
243242
def __rtruediv__(self, other): ...
244-
def __setstate_cython__(self, *args, **kwargs): ...
245243
def __sub__(self, other): ...
246244
def __truediv__(self, other): ...
247245

@@ -274,12 +272,10 @@ class GenExpr:
274272
def __neg__(self): ...
275273
def __pow__(self, other): ...
276274
def __radd__(self, other): ...
277-
def __reduce_cython__(self, *args, **kwargs): ...
278275
def __rmul__(self, other): ...
279276
def __rpow__(self, other): ...
280277
def __rsub__(self, other): ...
281278
def __rtruediv__(self, other): ...
282-
def __setstate_cython__(self, *args, **kwargs): ...
283279
def __sub__(self, other): ...
284280
def __truediv__(self, other): ...
285281

@@ -357,6 +353,7 @@ class MatrixExpr(numpy.ndarray):
357353
def __ge__(self, other: object) -> bool: ...
358354
def __iadd__(self, other): ...
359355
def __le__(self, other: object) -> bool: ...
356+
def __matmul__(self, *args, **kwargs): ...
360357
def __mul__(self, other): ...
361358
def __pow__(self, other): ...
362359
def __radd__(self, other): ...
@@ -536,6 +533,7 @@ class Model:
536533
def getCurrentNode(self, *args, **kwargs): ...
537534
def getCutEfficacy(self, *args, **kwargs): ...
538535
def getCutLPSolCutoffDistance(self, *args, **kwargs): ...
536+
def getCutoffbound(self, *args, **kwargs): ...
539537
def getDepth(self, *args, **kwargs): ...
540538
def getDualMultiplier(self, *args, **kwargs): ...
541539
def getDualSolVal(self, *args, **kwargs): ...
@@ -559,7 +557,9 @@ class Model:
559557
def getLhs(self, *args, **kwargs): ...
560558
def getLinearConsIndicator(self, *args, **kwargs): ...
561559
def getLocalEstimate(self, *args, **kwargs): ...
560+
def getLowerbound(self, *args, **kwargs): ...
562561
def getMajorVersion(self, *args, **kwargs): ...
562+
def getMaxDepth(self, *args, **kwargs): ...
563563
def getMinorVersion(self, *args, **kwargs): ...
564564
def getNBestSolsFound(self, *args, **kwargs): ...
565565
def getNBinVars(self, *args, **kwargs): ...
@@ -581,12 +581,14 @@ class Model:
581581
def getNLeaves(self, *args, **kwargs): ...
582582
def getNLimSolsFound(self, *args, **kwargs): ...
583583
def getNNlRows(self, *args, **kwargs): ...
584+
def getNNodeLPIterations(self, *args, **kwargs): ...
584585
def getNNodes(self, *args, **kwargs): ...
585586
def getNReaders(self, *args, **kwargs): ...
586587
def getNSepaRounds(self, *args, **kwargs): ...
587588
def getNSiblings(self, *args, **kwargs): ...
588589
def getNSols(self, *args, **kwargs): ...
589590
def getNSolsFound(self, *args, **kwargs): ...
591+
def getNStrongbranchLPIterations(self, *args, **kwargs): ...
590592
def getNTotalNodes(self, *args, **kwargs): ...
591593
def getNVars(self, *args, **kwargs): ...
592594
def getNVarsAnd(self, *args, **kwargs): ...
@@ -602,6 +604,7 @@ class Model:
602604
def getOpenNodes(self, *args, **kwargs): ...
603605
def getParam(self, *args, **kwargs): ...
604606
def getParams(self, *args, **kwargs): ...
607+
def getPlungeDepth(self, *args, **kwargs): ...
605608
def getPresolvingTime(self, *args, **kwargs): ...
606609
def getPrimalRay(self, *args, **kwargs): ...
607610
def getPrimalRayVal(self, *args, **kwargs): ...

0 commit comments

Comments
 (0)