diff --git a/doc/OnlineDocs/explanation/solvers/persistent.rst b/doc/OnlineDocs/explanation/solvers/persistent.rst index e926dfd82c9..8ee32120ff3 100644 --- a/doc/OnlineDocs/explanation/solvers/persistent.rst +++ b/doc/OnlineDocs/explanation/solvers/persistent.rst @@ -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` -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 diff --git a/pyomo/common/fileutils.py b/pyomo/common/fileutils.py index 8c3c6dfecaa..d6d20a53950 100644 --- a/pyomo/common/fileutils.py +++ b/pyomo/common/fileutils.py @@ -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:: diff --git a/pyomo/contrib/pynumero/sparse/mpi_block_matrix.py b/pyomo/contrib/pynumero/sparse/mpi_block_matrix.py index d32adebce0e..41495c83565 100644 --- a/pyomo/contrib/pynumero/sparse/mpi_block_matrix.py +++ b/pyomo/contrib/pynumero/sparse/mpi_block_matrix.py @@ -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)))