You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The algorithm for fuzzy_equal has been modified. The problem was that the random sets we tested might all be independent in a high rank matroid. Here's what happens in version 0.1.2:
To fix this, we first check that the matroids have the same number of elements and the same rank. Then the random subsets are chosen with p = r/m where r is the rank and m is the number of elements.
We also repeatedly find random bases of the two matroids (using the same set of random weights) and check if they are the same.
The function call for fuzzy_equal remains the same, but the default selection probability is no longer necessarily 1/2.
New exact equality test
Matroid equality can now be tested with M1 == M2. We do this by generating all the bases for both matroids and seeing if they are the same. This is horribly slow except for small matroids.
The text was updated successfully, but these errors were encountered:
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register
Release Notes
New
fuzzy_equal
algorithmThe algorithm for
fuzzy_equal
has been modified. The problem was that the random sets we tested might all be independent in a high rank matroid. Here's what happens in version 0.1.2:To fix this, we first check that the matroids have the same number of elements and the same rank. Then the random subsets are chosen with
p = r/m
wherer
is the rank andm
is the number of elements.We also repeatedly find random bases of the two matroids (using the same set of random weights) and check if they are the same.
The function call for
fuzzy_equal
remains the same, but the default selection probability is no longer necessarily1/2
.New exact equality test
Matroid equality can now be tested with
M1 == M2
. We do this by generating all the bases for both matroids and seeing if they are the same. This is horribly slow except for small matroids.The text was updated successfully, but these errors were encountered: