diff --git a/pyomo/core/base/constraint.py b/pyomo/core/base/constraint.py index b9407329e07..a2abef5c5fd 100644 --- a/pyomo/core/base/constraint.py +++ b/pyomo/core/base/constraint.py @@ -286,7 +286,7 @@ def lower(self): """The lower bound of a constraint expression. This is the fixed lower bound of a Constraint as a Pyomo - exprression. This may be contain potentially variable terms + expression. This may contain potentially variable terms that are currently fixed. If there is no lower bound, this will return `None`. @@ -307,7 +307,7 @@ def upper(self): """Access the upper bound of a constraint expression. This is the fixed upper bound of a Constraint as a Pyomo - exprression. This may be contain potentially variable terms + expression. This may contain potentially variable terms that are currently fixed. If there is no upper bound, this will return `None`. @@ -772,7 +772,7 @@ def lower(self): """The lower bound of a constraint expression. This is the fixed lower bound of a Constraint as a Pyomo - exprression. This may be contain potentially variable terms + expression. This may contain potentially variable terms that are currently fixed. If there is no lower bound, this will return `None`. @@ -791,7 +791,7 @@ def upper(self): """Access the upper bound of a constraint expression. This is the fixed upper bound of a Constraint as a Pyomo - exprression. This may be contain potentially variable terms + expression. This may contain potentially variable terms that are currently fixed. If there is no upper bound, this will return `None`. diff --git a/pyomo/core/expr/compare.py b/pyomo/core/expr/compare.py index 97a04726765..105ef1db199 100644 --- a/pyomo/core/expr/compare.py +++ b/pyomo/core/expr/compare.py @@ -220,7 +220,7 @@ def assertExpressionsEqual(test, a, b, include_named_exprs=True, places=None): If True (the default), the comparison expands all named expressions when generating the prefix notation - places : float + places : int Number of decimal places required for equality of floating point numbers in the expression. If None (the default), the expressions must be exactly equal. @@ -270,7 +270,7 @@ def assertExpressionsStructurallyEqual( If True (the default), the comparison expands all named expressions when generating the prefix notation - places : float + places : int Number of decimal places required for equality of floating point numbers in the expression. If None (the default), the expressions must be exactly equal.