Cytools

Latest version: v1.0.1

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

1.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 `c.tip_of_stretched_cone` fail in many cases, and to generally find very inaccurate tips.


Breaking changes:

None

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

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

0.7.1

Changelog

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


Breaking changes

None

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

0.6.1

Fixed various small bugs and typos.

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.