block_matrix

The pyomo.contrib.pynumero.sparse.block_matrix module includes methods that extend linear algebra operations in scipy for case of structured problems where linear algebra operations present an inherent block structure. This interface consider matrices of the form:

m = [[m11, m12],[m21, m22], ..]

where m_{i,j} are sparse matrices

Contents

Classes

BlockMatrix(nbrows, nbcols)

Structured Matrix interface

Exceptions

NotFullyDefinedBlockMatrixError

Functions

assert_block_structure(mat)