Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing spelling found by new typos release (v1.27.0) #3399

Merged
merged 1 commit into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/OnlineDocs/howto/manipulating.rst
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ that the expression be greater than or equal to one:
.. literalinclude:: /src/scripting/iterative1_Add_expression_constraint.spy
:language: python

The proof that this precludes the last solution is left as an exerise
The proof that this precludes the last solution is left as an exercise
for the reader.

The final lines in the outer for loop find a solution and display it:
Expand Down
8 changes: 4 additions & 4 deletions pyomo/contrib/gdpopt/config_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ def _add_mip_solver_configs(CONFIG):
ConfigValue(
default="gurobi",
description="""
Mixed-integer linear solver to use. Note that no persisent solvers
Mixed-integer linear solver to use. Note that no persistent solvers
other than the auto-persistent solvers in the APPSI package are
supported.""",
),
Expand All @@ -457,7 +457,7 @@ def _add_nlp_solver_configs(CONFIG, default_solver):
ConfigValue(
default=default_solver,
description="""
Nonlinear solver to use. Note that no persisent solvers
Nonlinear solver to use. Note that no persistent solvers
other than the auto-persistent solvers in the APPSI package are
supported.""",
),
Expand All @@ -475,7 +475,7 @@ def _add_nlp_solver_configs(CONFIG, default_solver):
ConfigValue(
default="baron",
description="""
Mixed-integer nonlinear solver to use. Note that no persisent solvers
Mixed-integer nonlinear solver to use. Note that no persistent solvers
other than the auto-persistent solvers in the APPSI package are
supported.""",
),
Expand All @@ -493,7 +493,7 @@ def _add_nlp_solver_configs(CONFIG, default_solver):
ConfigValue(
default="bonmin",
description="""
Mixed-integer nonlinear solver to use. Note that no persisent solvers
Mixed-integer nonlinear solver to use. Note that no persistent solvers
other than the auto-persistent solvers in the APPSI package are
supported.""",
),
Expand Down
2 changes: 1 addition & 1 deletion pyomo/core/tests/unit/test_numeric_expr.py
Original file line number Diff line number Diff line change
Expand Up @@ -3477,7 +3477,7 @@ def test_nonpolynomial_pow(self):
def test_Expr_if(self):
m = self.instance
#
# When IF conditional is constant, then polynomial degree is propigated
# When IF conditional is constant, then polynomial degree is propagated
#
expr = Expr_if(1, m.a**3, m.a**2)
self.assertEqual(expr.polynomial_degree(), 3)
Expand Down
2 changes: 1 addition & 1 deletion pyomo/scripting/driver_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def help_transformations():
# The next best thing is to ensure that the deprecation status
# is indicated here.
_init_doc = TransformationFactory.get_class(xform).__init__.__doc__ or ""
if _init_doc.strip().startswith('DEPRECATED') and 'DEPRECAT' not in _doc:
if _init_doc.strip().startswith('DEPRECATED') and 'DEPRECATE' not in _doc:
_doc = ' '.join(('[DEPRECATED]', _doc))
if _doc:
print(wrapper.fill(_doc))
Expand Down
Loading