find maximum matching for bipartite graph
undirected bipartite graph
(optional) one or more options as specified below
output=list or one of edges, size, or weight.
A list of one or more of the symbols edges, size, and weight, or one of the symbols edges, size, or weight. This determines what is returned by BipartiteMatching. The output is an expression sequence with the corresponding values.
BipartiteMatching(G) returns a maximum matching for a bipartite graph G.
If W is unweighted, the default output is an expression sequence whose first element is the size of a maximum matching and whose second element is the matching itself.
If W is weighted, the default output is an expression sequence whose first element is the weight of a maximum matching of minimum weight and whose second element is the matching itself.
Perform a simple bipartite matching on an unweighted bipartite graph.
G≔Graph 1: an undirected unweighted graph with 8 vertices and 7 edge(s)
Draw the matching in red
Compute a minimum-weight maximum matching on a weighted bipartite graph.
G≔Graph 2: an undirected weighted graph with 8 vertices and 16 edge(s)
The GraphTheory[BipartiteMatching] command was updated in Maple 2021.
The G parameter was updated in Maple 2021.
The output option was introduced in Maple 2021.
For more information on Maple 2021 changes, see Updates in Maple 2021.
Download Help Document
What kind of issue would you like to report? (Optional)