__init__ ([model, active, include_inequality])
|
Construct an IncidenceGraphInterface object |
add_edge (variable, constraint)
|
Adds an edge between variable and constraint in the incidence graph |
block_triangularize ([variables, constraints])
|
Compute an ordered partition of the provided variables and constraints such that their incidence matrix is block lower triangular |
dulmage_mendelsohn ([variables, constraints])
|
Partition variables and constraints according to the Dulmage- Mendelsohn characterization of the incidence graph |
get_adjacent_to (component)
|
Return a list of components adjacent to the provided component in the cached bipartite incidence graph of variables and constraints |
get_connected_components ([variables, ...])
|
Partition variables and constraints into weakly connected components of the incidence graph |
get_diagonal_blocks ([variables, constraints])
|
DEPRECATED. |
get_matrix_coord (component)
|
Return the row or column coordinate of the component in the incidence matrix of variables and constraints |
map_nodes_to_block_triangular_indices ([...])
|
Map variables and constraints to indices of their diagonal blocks in a block lower triangular permutation |
maximum_matching ([variables, constraints])
|
Return a maximum cardinality matching of variables and constraints. |
plot ([variables, constraints, title, show])
|
Plot the bipartite incidence graph of variables and constraints |
remove_nodes ([variables, constraints])
|
Removes the specified variables and constraints (columns and rows) from the cached incidence matrix. |
subgraph (variables, constraints)
|
Extract a subgraph defined by the provided variables and constraints |