Maximum weight matching
ID: maximum-weight-matching
Assign each edge a real benefit . A maximum-weight matching maximizes over all matchings in a graph ; the empty matching in a graph is allowed. Setting every recovers a maximum cardinality matching, but otherwise the objectives can disagree.
On the same path graph , give the middle edge benefit and each outer edge benefit . The matching in a graph has total benefit , while the two-edge matching in a graph has total benefit . Thus the smaller choice is the unique maximum-weight matching. If instead the requirement is to find a maximum cardinality matching and then maximize benefit among those, the outer edges must be chosen. Requiring a perfect matching before optimizing cost is another distinct problem, covered by minimum-weight perfect matching. With negative benefits a maximum-weight matching can even be empty, so it need not be a maximal matching.
Maximum weight matching is a concept from graph theory, specifically in the context of bipartite graphs and weighted graphs. It refers to an optimal assignment problem where the goal is to find a matching that maximizes the total weight associated with the matched edges. ### Definitions: - **Matching**: A matching in a graph is a set of edges such that no two edges share a vertex. In a matching, each vertex is connected to at most one edge.
New to topics? Read the docs here!