Use vertices . Reading each symmetric off-diagonal pair once gives the edge set
Here abbreviates the undirected edge . The diagram displays these seven edges and no loops. The displayed square matrix is an adjacency matrix in the usual terminology: its two indices both label vertices. A vertex-edge incidence matrix would instead have one index for vertices and one for edges. This explains how the source's node-node terminology is being read.
Figure 1.
The graph and its maximum-weight forest, including the isolated fourth vertex
. Original drawing. The left panel shows all seven edges. The right panel shows only the three edges selected for the maximum-weight forest, with their weights; vertex four remains isolated. Details.
Use the maximum-weight version of Kruskal's algorithm: sort the edges by decreasing weight, start with no edges, and add an edge exactly when it joins different current connected components of a graph. For the maximum over all forests, skip negative-weight edges; removing a negative edge always preserves a forest and increases its weight. Zero-weight edges are optional. The matroid greedy algorithm for the graphic matroid proves this procedure optimal; it maximizes over independent sets rather than requiring a full basis.
The positive edges are considered in the order
Admit and . Reject , since it closes the triangle on . Admit . Reject , since and are already joined by the path . Skip both negative edges incident with vertex four. Therefore
Vertex four is isolated. Requiring a spanning tree would force a negative edge and solve a different optimization problem. With a disjoint-set data structure, sorting dominates the running time, giving .
On a finite ground set , a submodular rank function is a set function with the following properties:
These are normalization, monotonicity, submodularity, and unit integer increments. In particular its values are nonnegative integers with . Equivalently, one can require an integer-valued normalized monotone submodular function with : diminishing returns then bounds every marginal increment by one. A general real-valued submodular function need not be a matroid rank.
The associated matroid is
Thus the graph's edges are the ground set, and the members of are its matroid independent sets.
For the specified rank, if is a forest, itself is an allowed choice in the rank maximum, so . Conversely, if , some forest has . Finiteness forces , so is a forest. Hence the independent sets are exactly all forests in , including the empty forest and forests with isolated vertices.
The matroid independence axioms can also be checked directly. The empty set is a forest, and deleting edges cannot create a cycle. For exchange, let forests have . If every edge of joined vertices within one component of , its restriction to each component would have at most edges. Summing would give , a contradiction. Thus some edge of joins two components of and can be added without creating a cycle. This proves augmentation and identifies as the graphic matroid.
For , write , and let count the connected components of , including isolated vertices. A maximal forest in each component has one fewer edge than vertices, so . The required forest polytope is
We prove both inclusions, using the matroid independence polytope argument explicitly.
If is a forest, is an independent subset of , so . Its indicator is nonnegative. All convex combinations of these indicators therefore lie in .
For the converse, take any real objective vector . List just its positive-weight edges as with , put , and set . Run the forest greedy algorithm on these edges and call the output . At every prefix, the accepted edges form a maximal forest of , so
Indeed a previously rejected edge still has its endpoints joined later; therefore no rejected prefix edge can augment the chosen forest. A maximal forest spans every prefix component and has the stated size.
For every , dropping nonpositive objective terms and telescoping now gives
The last equality uses the same telescoping identity for the greedy indicator. If there are no positive coefficients, the empty forest attains the bound zero. Thus every linear objective over is maximized by a forest indicator.
The singleton inequalities give , so is compact. The convex hull of the finitely many forest indicators is also compact. If some were outside , the finite-dimensional separating hyperplane theorem would give with , contradicting the bound just proved. Therefore , completing the convex-hull proof.
An equivalent system indexed by vertex sets is
where contains all edges with both ends in . The rank system implies this since . Conversely, split any edge set into its vertex components . Nonnegativity and the vertex inequalities give . Hence this second system describes the same polytope.

Articles by others on the same topic (0)

There are currently no matching articles.