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

New Typo Corrections - Nov 2024 #3437

Merged
merged 1 commit into from
Nov 26, 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/explanation/solvers/persistent.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ notify the solver of incremental changes to a Pyomo model. The
persistent solver interfaces create and store model instances from the
Python API for the corresponding solver. For example, the
:class:`GurobiPersistent<pyomo.solvers.plugins.solvers.gurobi_persistent.GurobiPersistent>`
class maintaints a pointer to a gurobipy Model object. Thus, we can
class maintains a pointer to a gurobipy Model object. Thus, we can
make small changes to the model and notify the solver rather than
recreating the entire model using the solver Python API (or rewriting
an entire model file - e.g., an lp file) every time the model is
Expand Down
2 changes: 1 addition & 1 deletion pyomo/common/fileutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ class PathManager(object):
The ``Executable`` singleton uses :py:class:`ExecutableData`, an
extended form of the :py:class:`PathData` class, which provides the
``executable`` property as an alais for :py:meth:`path()` and
``executable`` property as an alias for :py:meth:`path()` and
:py:meth:`set_path()`:
.. doctest::
Expand Down
4 changes: 2 additions & 2 deletions pyomo/contrib/pynumero/sparse/mpi_block_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,14 +148,14 @@ def nnz(self):
@property
def owned_blocks(self):
"""
Returns list with inidices of blocks owned by this processor.
Returns list with indices of blocks owned by this processor.
"""
return list(zip(*np.nonzero(self._owned_mask)))

@property
def shared_blocks(self):
"""
Returns list of 2-tuples with inidices of blocks shared by all processors
Returns list of 2-tuples with indices of blocks shared by all processors
"""
return list(zip(*np.nonzero(self._rank_owner < 0)))

Expand Down
Loading