
Rank of a subset: the size of its largest independent subset
Source:R/matroid_optimisation_native.R
morie_matroid_rank.RdRank of a subset: the size of its largest independent subset
Examples
V <- c(1, 2, 3, 4, 5, 6, 7, 8)
morie_matroid_rank(V, V)
#> [1] 1