Basis of a matroid 2026-10-14
A matroid basis is a matroid independent set that is a maximal element under inclusion of subsets: no additional element of the ground set can be admitted. Maximum cardinality means having the largest size among all matroid independent sets. Maximality tests whether this particular selection can grow; maximum size compares it with every selection. In a matroid the two conditions coincide, so all matroid bases have a common size. They need not have equal weight. [ref]
Matroid optimization by Michel Goemans. Michel X. Goemans, Matroid optimization, section 5.1, p. 1, maximal independent sets and bases
Proof outline. If a maximal matroid independent set were smaller than another matroid independent set , the matroid independence axioms would admit an element of , contradicting maximality. Finiteness allows every matroid independent set to grow to a matroid basis by successive admissible additions. In a general independence system, maximal selections can have different sizes, as in the hereditary nonmatroid greedy obstruction.
Graphic matroid 2026-10-14
For a finite undirected graph, the graphic matroid has its edges as the ground set. A subset is a matroid independent set when its edges form a forest on the original vertices, including isolated vertices. Its matroid bases give a spanning tree in each connected component of a graph; for a connected graph, each matroid basis is a spanning tree.
For a graph triangle on vertices , label the edges , , and , with weights . The empty set, all singletons, and all pairs are forests; the triple contains the graph cycle . Thus its eight subsets have exactly the independence pattern checked in the weighted three-vector matroid, and the same fifteen exchange comparisons pass. The matroid greedy algorithm chooses , chooses , and rejects , producing the heaviest spanning tree, of weight .
A weighted graph triangle admits greedy selection of a matroid basis; a hereditary independence system without exchange traps a greedy algorithm at weight instead of
. Details. Exchange outline. Deleting edges cannot create a graph cycle. If forests have , some edge of joins different connected components of a graph of : otherwise, within each such component, would have at most its number of vertices minus one edges, giving . Adding that edge keeps a forest. This is the matroid independence axioms expressed through connectivity.
Independence system 2026-10-14
An independence system consists of a finite set and a nonempty family of subsets such that and imply . This is the hereditary condition: deleting chosen elements keeps a selection admissible. In particular, the empty set belongs to . An independence system becomes a matroid when it also satisfies the matroid independence axioms for exchange. The hereditary nonmatroid greedy obstruction shows why deletion alone does not justify a greedy algorithm.
Matroid greedy algorithm 2026-10-14
Assign each element of the finite ground set a real number . The matroid greedy algorithm sorts elements by nonincreasing weight, starts with the empty set, and admits an element exactly when the enlarged selection is a matroid independent set. Ties can be resolved arbitrarily. After all elements have been considered, the result is a matroid basis of maximum total weight among all matroid bases. This holds even with negative weights: the task is to produce a full matroid basis. [ref]
Maximizing weight over all matroid independent sets is a different task when weights can be negative. For that task, skip negative elements; zero-weight additions are optional. With weights , , in the weighted three-vector matroid, the heaviest matroid basis is with weight , while the heaviest matroid independent set is with weight . For nonnegative weights, every matroid independent set can be extended to a matroid basis without reducing weight, so the optimum values coincide.
Proof outline. Let be the admitted elements in order, and order any competing matroid basis by nonincreasing weight. If , exchange would let one of augment . That element was considered before and, by heredity, was admissible even at that earlier stage, a contradiction. Hence for every , and summing proves optimality. Rejected elements remain inadmissible as the selection grows, by heredity, so the final selection is maximal. The guarantee depends on the matroid independence axioms and on weights adding independently across elements; interactions between chosen elements are a different objective.
Matroid independence axioms Created 2026-10-14 Updated 2026-10-24
Let be a finite set and a family of subsets, where is the power set. The matroid independence axioms areThe second condition is heredity; the third is exchange, also called augmentation. The set difference matters: the new element must actually increase the cardinality of . Exchange adds one element without requiring any deletion from . Nonemptiness together with heredity is equivalent to the first condition. [ref]
Parallel elements of a matroid 2026-10-24
Distinct nonloops are parallel elements of a matroid when their pair is dependent. Declaring each nonloop parallel to itself makes parallelism an equivalence relation on the nonloops. Transitivity follows directly from augmentation: if and are dependent but independent, the independent singleton could not be augmented from the independent pair , contradicting the matroid independence axioms. In a linear matroid, nonzero proportional vectors give parallel elements of a matroid.
A matroid is a pair , where is a finite ground set and is its collection of matroid independent sets, satisfying the matroid independence axioms:
- .
- If and , then .
- If and , some satisfies .
The last axiom is augmentation. In particular, every maximal matroid independent set within a given subset has maximum cardinality there: otherwise augmentation would enlarge it.
The rank of a matroid on a subset isThe matroid independence axioms imply that every maximal matroid independent set in has this cardinality. We write , as in the source. Directly from the definition,For the last upper bound, deleting from any matroid independent set in leaves an independent subset of .
Past exam of the integer programming course of the University of Oxford 2011 1 d Solution 2026-10-31
The associated matroid isThus 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.
Submodularity of matroid rank Created 2026-10-25 Updated 2026-10-31
The rank of a matroid is a normalised set function, a monotone set function, and a submodular set function. Adding one element increases it by at most one.
Proof of submodularity. Choose a maximal matroid independent set in , extend it to a maximal matroid independent set in , then extend it to one in . The matroid independence axioms make their sizes , and . Every element of lies outside , since otherwise it could be added to inside . Hence is an independent subset of , so its size is at most .
The remaining assertions follow from the definition of the rank of a matroid. The empty set has maximum independent size zero, increasing the available subset cannot reduce that maximum, and deleting a newly added element from an independent subset decreases its size by at most one.
