Skip to content

Releases: LiamMcAllisterGroup/cytools

CYTools v1.0.3

19 Apr 19:01
Compare
Choose a tag to compare

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

08 Feb 04:46
Compare
Choose a tag to compare

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

11 Nov 03:52
Compare
Choose a tag to compare

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

07 Nov 22:24
Compare
Choose a tag to compare

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 to compute_inverse_kahler_metric. The old function name was not particularly good, so it was removed.

CYTools v0.8.0

27 Oct 21:56
Compare
Choose a tag to compare

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.
  • 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

08 Sep 16:00
Compare
Choose a tag to compare

Changelog

  • Fixed the computation of the Hilbert basis of a cone.

Breaking changes

None

CYTools v0.7.0

02 Sep 20:50
Compare
Choose a tag to compare

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

29 Aug 16:36
Compare
Choose a tag to compare

Fixed various small bugs and typos.

CYTools v0.6.0

14 Jun 20:04
Compare
Choose a tag to compare

Updated installation method, added update scripts, and changed how mosek license is checked

CYTools v0.5.1

13 Jun 22:14
Compare
Choose a tag to compare

Minor bug fixes and improvements.