Installation

simplicial-test can be installed via PyPI.

pip install simplicial-test

Tip

By default, the library uses SageMath’s Combinations to generate proposal facets, primarily because it correctly handles the cases when the “pool of elements” has duplicate items. However, it cannot be installed through pip but has to be downloaded /slash/ installed from their website.

If installing Sage is not feasible, we offer more-itertools as the fallback option, which has a similar distinct_combinations() method. This method is, on the average, faster than SageMath’s, especially in large system sizes (e.g., \(E \geq 10^4\)). Yet, we’ve found that the generator is not as stable, and in some inputs, it may take a longer-than-usual time to output a proposal facet. Therefore, in smaller and most cases, SageMath is preferred.