Releases: LiamMcAllisterGroup/cytools
CYTools v1.0.3
Changelog:
- Fixed an installation issue due to the new version of pip being incompatible with
python-flint
. - Changed the
all_triangulation
function since the new version of TOPCOM does some things differently and was causing this function to get stuck even for very simple polytopes. - Changed the default backend behavior for the
find_interior_point
function.
Breaking changes:
None
CYTools v1.0.2
Changelog:
- Added Rust installation since some Python packages are starting to depend on it.
- Upgraded TOPCOM to the latest version.
- Small bugs and typos were fixed.
Breaking changes:
None
CYTools v1.0.1
Changelog:
There was an issue due to the new 2.5.0 version of qpsolvers
. The tolerances for the OSQP solver were increased to the default values, so the solutions obtained were less accurate. This was causing tip_of_stretched_cone
function of the Cone
class to fail in many cases, and to generally find very inaccurate tips. The settings for OSQP were manually restored, so not it should be identical to how it used to work.
Breaking changes:
None
CYTools v1.0.0
Changelog:
Only small changes in this version. Some function names were changed to more descriptive names, but most aliases were added to keep most of the old names for compatibility and convenience. Apart from that, it was mainly small tweaks and typo fixes.
Breaking changes:
- The
compute_Kinv
function was renamed tocompute_inverse_kahler_metric
. The old function name was not particularly good, so it was removed.
CYTools v0.8.0
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 parameterson_faces_dim
oron_faces_codim
, which returns the simplices on faces of the polytope of the specified (co)dimension. - The
Triangulation
class now has anautomorphism_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 parameterson_faces_dim
andon_faces_codim
, - The
Triangulation
class now also has anis_equivalent
function. By default it uses automorphisms, but they can be turned off withuse_automorphisms=False
. Again, it takes the parameterson_faces_dim
andon_faces_codim
so that one can check two-face equivalence with or without automorphisms. - The
CalabiYau
class now checks trivial equivalence with theis_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 afind_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 afind_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 afind_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. - 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.
CYTools v0.7.1
Changelog
- Fixed the computation of the Hilbert basis of a cone.
Breaking changes
None
CYTools v0.7.0
Changelog
- Polytope automorphisms can now be returned as dictionaries that describe the action of the automorphism on the indices of the polytope.
- Improved the check for trivially equivalent Calab-Yau hypersurfaces to take into account polytope automorphisms.
Breaking changes
- Since the check for trivially equivalent Calab-Yaus is more robust and the hash function changed, sets of CYs will disagree in content and ordering with ones constructed with previous versions of CYTools.
Known issues
- The computation of the Hilbert basis of a cone sometimes returns an empty list. This is due a problem with the wrapper for Normaliz. This issue is fixed in v0.7.1.
CYTools v0.6.1
Fixed various small bugs and typos.
CYTools v0.6.0
Updated installation method, added update scripts, and changed how mosek license is checked
CYTools v0.5.1
Minor bug fixes and improvements.