diff --git a/src/pyscipopt/scip.pyx b/src/pyscipopt/scip.pyx index 7a13aa50b..aca49f238 100644 --- a/src/pyscipopt/scip.pyx +++ b/src/pyscipopt/scip.pyx @@ -324,7 +324,10 @@ cdef class Column: def isIntegral(self): """returns whether the associated variable is of integral type (binary, integer, implicit integer)""" return SCIPcolIsIntegral(self.scip_col) - + + def getIndex(self): + return SCIPcolGetIndex(self.scip_col) + def getVar(self): """gets variable this column represents""" cdef SCIP_VAR* var = SCIPcolGetVar(self.scip_col)