Incidence matrix
MathProgIncidence.incidence_matrix — Functionincidence_matrix(constraints, variables)::SparseMatrixCSCReturn a SparseMatrixCSC with entries corresponding to incidence between the provided constraints and variables.
Rows correspond to constraints, columns correspond to variables, and matrix entries correspond to edges in the incidence graph. All matrix entries have values of 1.0.
incidence_matrix(igraph::IncidenceGraphInterface)::SparseMatrixCSCReturn the incidence matrix associated with the provided IncidenceGraphInterface.