(class from pyomo.contrib.pynumero.interfaces.utils)
pyomo.contrib.pynumero.interfaces.utils
Bases: object
object
This class is used to perform a summation of sparse matrices while retaining the correct and consistent nonzero structure. Create the class with the list of matrices you want to sum, and the condensed_summation method remains valid as long as the structure of the individual matrices is consistent
Methods
__init__(list_of_matrices)
__init__
This class is used to perform a summation of sparse matrices while retaining the correct and consistent nonzero structure.
sum(list_of_matrices)
sum
Member Documentation