Changelog:
There are various things that were improved or changed on this version. Here are the most important changes:
- The `simplices` function can now take parameters `on_faces_dim` or `on_faces_codim`, which returns the simplices on faces of the polytope of the specified (co)dimension.
- The `Triangulation` class now has an `automorphism_orbit` function, which computes the orbit under the automorphisms (by default it uses all of them, but one can specify one or a subset). It also takes the parameters `on_faces_dim` and `on_faces_codim`,
- The `Triangulation` class now also has an `is_equivalent` function. By default it uses automorphisms, but they can be turned off with `use_automorphisms=False`. Again, it takes the parameters `on_faces_dim` and `on_faces_codim` so that one can check two-face equivalence with or without automorphisms.
- The `CalabiYau` class now checks trivial equivalence with the `is_equivalent` function of the triangulations (with automorphisms and restricted to codim-2 faces). Again, this means that the hash changed, so the ordering of CYs changed again.
- The `Triangulation` class now has a heights function that gives you a height vector that generates the triangulation.
- The `Cone` class now has a `find_interior_point function` that finds you a point in the strict interior. You can specify if you want it to be an integral point or not. It uses ORTools unless d>=25 and Mosek is activated.
- The `Cone` class now has a `find_grading_vector` that finds a grading vector for a pointed cone.
- The `tip_of_stretched_cone` now uses ORTools to get an approximation of the tip for d>=25 (unless Mosek is activated). It generally is a pretty good approximation and it consistently works, but it's just slower than Mosek. For d<25 it now uses OSQP, which is faster than Mosek.
- The `Cone` class now has a `find_lattice_points` function. Optionally, you can use a filter function or you can process the data as it comes instead of first constructing a huge list and then going over it. You can look at an example of these two features [here](https://cy.tools/docs/documentation/cone#find_lattice_points).
- With the above improvements, even seemingly unrelated computations like finding all triangulations are faster now since checking regularity is faster.
- Added unittests. These can be run with `make test`.
- Various other small bug fixes and changes.
Breaking changes:
- Since hash function of `CalabiYau` changed again, sets of CYs will disagree in ordering with ones constructed with previous versions of CYTools.