*** a/sage_numerical_backends_coin/coin_backend.pyx Sat Jun 29 13:19:54 2024 --- b/sage_numerical_backends_coin/coin_backend.pyx Sat Jun 29 13:26:06 2024 *************** *** 921,927 **** else: return int(round(v)) ! cpdef int ncols(self): r""" Returns the number of columns/variables. --- 921,927 ---- else: return int(round(v)) ! cpdef int ncols(self) noexcept: r""" Returns the number of columns/variables. *************** *** 939,945 **** return self.si.getNumCols() ! cpdef int nrows(self): r""" Returns the number of rows/constraints. --- 939,945 ---- return self.si.getNumCols() ! cpdef int nrows(self) noexcept: r""" Returns the number of rows/constraints. *************** *** 956,962 **** return self.si.getNumRows() ! cpdef bint is_variable_binary(self, int index): r""" Tests whether the given variable is of binary type. --- 956,962 ---- return self.si.getNumRows() ! cpdef bint is_variable_binary(self, int index) noexcept: r""" Tests whether the given variable is of binary type. *************** *** 982,988 **** self.variable_lower_bound(index) == 0 and self.variable_upper_bound(index) == 1) ! cpdef bint is_variable_integer(self, int index): r""" Tests whether the given variable is of integer type. --- 982,988 ---- self.variable_lower_bound(index) == 0 and self.variable_upper_bound(index) == 1) ! cpdef bint is_variable_integer(self, int index) noexcept: r""" Tests whether the given variable is of integer type. *************** *** 1006,1012 **** (self.variable_lower_bound(index) != 0 or self.variable_upper_bound(index) != 1)) ! cpdef bint is_variable_continuous(self, int index): r""" Tests whether the given variable is of continuous/real type. --- 1006,1012 ---- (self.variable_lower_bound(index) != 0 or self.variable_upper_bound(index) != 1)) ! cpdef bint is_variable_continuous(self, int index) noexcept: r""" Tests whether the given variable is of continuous/real type. *************** *** 1032,1038 **** return 1 == self.si.isContinuous(index) ! cpdef bint is_maximization(self): r""" Tests whether the problem is a maximization --- 1032,1038 ---- return 1 == self.si.isContinuous(index) ! cpdef bint is_maximization(self) noexcept: r""" Tests whether the problem is a maximization