Skip to content

Commit b6e075d

Browse files
Update scip.pxi
1 parent e697bed commit b6e075d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/pyscipopt/scip.pxi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5752,7 +5752,7 @@ cdef class Model:
57525752
Parameters
57535753
----------
57545754
cons : ExprCons or MatrixExprCons
5755-
the matrix expression constraint or expression constraint following matrix dimension reduction
5755+
The matrix expression constraint or expression constraint
57565756
name : str or np.ndarray, optional
57575757
the name of the matrix constraint, generic name if empty (Default value = "")
57585758
initial : bool or np.ndarray, optional
@@ -5780,10 +5780,10 @@ cdef class Model:
57805780
Returns
57815781
-------
57825782
Constraint or MatrixConstraint
5783-
The created and added Constraint or MatrixConstraint object based on inputting.
5783+
The created and added Constraint or MatrixConstraint object based on the input.
57845784
"""
57855785
assert isinstance(cons, (ExprCons, MatrixExprCons)), (
5786-
"given constraint is not ExprCons or MatrixExprCons but %s" % cons.__class__.__name__)
5786+
"given constraint is not MatrixExprCons nor ExprCons but %s" % cons.__class__.__name__)
57875787

57885788
if isinstance(cons, ExprCons):
57895789
return self.addCons(cons, name=name, initial=initial, separate=separate,

0 commit comments

Comments
 (0)