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.
Dependent set of a matroid 2026-10-24
A matroid dependent set is a subset of the ground set that is not a matroid independent set. By heredity, every subset containing a matroid dependent set is also dependent. Distinct nonloops are parallel elements of a matroid exactly when their pair is a matroid dependent set.
For a real-valued set function on a finite ground set, the displayed marginal increment comparison is equivalent to submodularity. The interpretation is that an additional item contributes no more after more items have already been chosen. This concerns relative increments, which may be negative; it does not assert the monotone set function property.
Proof. Applying the defining inequality for a submodular set function to and gives the comparison immediately. Conversely, list and compare adding these elements, in the same order, first to and then to . At every step the first conditioning set is contained in the second, so the first marginal increment is at least the second. The telescoping sums givewhich rearranges to submodularity.
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.
Ground set 2026-10-14
The ground set is the set of labelled elements available for selection. An independence system specifies which subsets of this ground set are admissible; in a linear matroid the labels index vectors, whereas in a graphic matroid they index edges.
Hereditary nonmatroid greedy obstruction 2026-10-14
On the ground set , permit exactlyThis lists every admissible subset; the excluded subsets are , , and . It is an independence system: deleting elements from produces its listed singletons or the empty set, and deleting from a singleton produces the empty set. But and violate exchange: neither nor can be added to . Thus it is not a matroid.
The descending-weight greedy algorithm admits first, then rejects both and , returning with weight . Exchanging the tied order of changes nothing. The admissible pair weighs , exceeding every singleton and the empty set, so it is the true optimum. Both and are maximal elements under inclusion of subsets, but only the pair has maximum cardinality. This identifies exactly where the matroid greedy algorithm loses its guarantee: heredity preserves admissibility under deletions, while exchange prevents a locally maximal selection from being too small.
Hypergraph cut function 2026-10-25
For a weighted hypergraph, the hypergraph cut function totals the weights of hyperedges meeting both a subset and its complement. It is a normalised set function and a symmetric set function. With nonnegative weights it is a nonnegative function and a submodular set function. It is generally not a monotone set function: a single two-element hyperedge of weight one has cut value one on either singleton, but zero on the whole ground set.
Proof of submodularity for nonnegative weights. For one hyperedge of size at least two, let indicate whether it is split. Adding has zero marginal increment. For , with , the marginal increment is if is empty, if it equals , and zero otherwise. These values can only decrease under inclusion of . Thus diminishing returns holds for , and taking a nonnegative weighted sum preserves it. For a singleton or empty hyperedge, is identically zero. A negative-weight two-element hyperedge gives a counterexample to submodularity: its two singleton values sum to a negative number, while the values at their union and intersection are zero.
Linear matroid 2026-10-14
A linear matroid has a finite ground set indexing a family of vectors in a vector space over a specified field. A subset of labels is a matroid independent set precisely when its vectors are linearly independent. Labels distinguish repeated vectors; the ground set is not required to consist of distinct numerical vectors. The matroid bases correspond to bases for the linear span of all the supplied vectors.
Exchange outline. The linear span of linearly independent vectors has dimension . If , not all the linearly independent vectors indexed by can lie in that linear span. A vector outside it can be added to . Heredity follows because a linear dependence in a subset would also be a linear dependence in the full selection.
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 isomorphism 2026-10-24
A matroid isomorphism between and is a bijection such that if and only if . It relabels the ground set without changing independence. The number of labelled matroids therefore differs from the number of types up to matroid isomorphism.
Modular set function 2026-10-25
On a finite ground set, a modular set function is a set function satisfying the displayed equality for every pair of subsets. Equivalently,To prove this representation, apply the equality to disjoint and : . Add these fixed marginal increments along any ordering of . Conversely, the contributions of each element and of the constant cancel in the displayed identity. Thus a modular set function need not be a normalised set function; its normalised instances are precisely the real-valued set functions with finite additivity on a finite power set. Adding or subtracting a modular set function preserves submodularity.
Monotone decomposition of a submodular set function Created 2026-10-25 Updated 2026-11-05
Every real-valued submodular set function on a finite ground set is the sum of a normalised set function that is nonnegative, monotone and submodular, and a modular set function . A useful explicit choice isProof. The formula makes a modular set function, so is a submodular set function. It is a normalised set function because . For , diminishing returns gives , hence . Thus is a monotone set function, and starting at zero makes it a nonnegative function. The decomposition separates all potentially negative terminal marginal increments into the simple additive term. A constant term in is necessary unless is already a normalised set function.
Monotone set function Created 2026-10-25 Updated 2026-11-05
A real-valued set function is monotone in the nondecreasing convention whenFor a finite ground set , this is equivalent to every marginal increment being nonnegative. Necessity follows by comparing and . Conversely, enumerate the finitely many elements of and add them one at a time; summing their nonnegative increments gives . A normalised set function with this property is a nonnegative function.
The finiteness condition in that converse matters. On , define for finite and for infinite . Adding one element never changes whether is finite, so all marginal increments are zero. Yet , so the set function is not monotone. Single-element tests alone cannot compare sets differing in infinitely many elements.
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.
For one element, the element is either a loop of a matroid or a nonloop, giving two choices. For two elements, rank of a matroid zero and two each give one possibility. At rank of a matroid one, the nonloops form any nonempty subset, giving more possibilities: total .
For three elements, classify by the total rank of a matroid. At rank of a matroid zero every element is a matroid loop; at rank of a matroid three every subset is a matroid independent set. At rank of a matroid one, choose any nonempty subset of nonloops; exactly the empty set and their singletons are matroid independent sets. This gives seven possibilities.
At rank of a matroid two, either exactly two elements are nonloops, giving three choices for the remaining loop of a matroid, or all three are nonloops. In the latter case, pairs that are matroid dependent sets define parallel elements of a matroid. There can be no such pair, giving the uniform matroid , or exactly one such pair, giving three choices. There cannot be exactly two such pairs: if and were matroid dependent sets but a matroid independent set, augmentation from to would fail. If all three pairs were matroid dependent sets, the rank of a matroid would be one. Hence rank of a matroid two gives examples.
Every listed possibility satisfies augmentation: the only nontrivial comparison on three elements is from a singleton to a two-element matroid independent set, and with at most one two-element matroid dependent set at least one addition works. The total is therefore .
Past exam of the integer programming course of the University of Oxford 2011 1 c Solution 2026-10-31
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.
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.
Rank of a matroid 2026-10-14
For a subset of the ground set, the rank of a matroid on is the maximum cardinality of a matroid independent set contained in :Thus is the common size of the matroid bases, and . The weighted three-vector matroid has , even though its ground set has three labels.
Set function Created 2026-10-06 Updated 2026-11-05
A set function assigns a value to each set in a specified family of sets. In finite optimization the usual form is , a real-valued function on the power set of a ground set .
For a finite set , the rule is a set function counting selected elements; instead totals their weights. A measure is also a set function, but its domain of a function is a specified collection of measurable sets, and its values can include infinity. The intended family and codomain are therefore part of the definition.
Small matroid enumeration Created 2026-10-24 Updated 2026-10-31
On labelled ground sets of sizes , there are respectively matroids, or up to matroid isomorphism. At rank of a matroid one, a nonempty subset of nonloops specifies all matroid independent sets of cardinality one. On three labels at rank of a matroid two, the three types are one matroid loop with an independent pair, no matroid loops with one pair of parallel elements of a matroid, and all pairs independent with the triple dependent.
