Skip to content

Commit

Permalink
bugs for dominik
Browse files Browse the repository at this point in the history
  • Loading branch information
Joao-Dionisio committed Jan 18, 2025
1 parent 79c1eef commit 941b472
Show file tree
Hide file tree
Showing 2 changed files with 99 additions and 99 deletions.
4 changes: 2 additions & 2 deletions src/pyscipopt/lp.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ cdef class LP:
"""
return SCIPlpiInfinity(self.lpi)

def isInfinity(self, SCIP_Real val):
def isInfinity(self, float val):
"""Checks if a given value is equal to the infinity value of the LP.
Keyword arguments:
val -- value that should be checked
"""
return SCIPlpiIsInfinity(self.lpi, val)

def addCol(self, entries, SCIP_Real obj = 0.0, lb: Union[SCIP_Real, None] = 0.0, ub: Union[SCIP_Real, None] = None):
def addCol(self, entries, float obj = 0.0, lb: Union[float, None] = 0.0, ub: Union[float, None] = None):
"""Adds a single column to the LP.
Keyword arguments:
Expand Down
Loading

0 comments on commit 941b472

Please sign in to comment.