Changes between Initial Version and Version 6 of Ticket #25097


Ignore:
Timestamp:
04/04/18 19:33:00 (4 years ago)
Author:
mkoeppe
Comment:

Last 10 new commits:

117e428Upgrade normaliz to 3.5.3
7057ef4Merge branch to get docstring adaptation
b6ae686Merge branch 'develop' of git://trac.sagemath.org/sage into t/25090/pynormaliz2
eaedcc2Update PyNormaliz to 1.14
4dbdc7dUpdated the Cone calls format
1dcef4c_init_from_normaliz_data: New, use it in _init_from_*representation
fcd8101Updated pynormaliz to 1.15
19d8539Polyhedron_normaliz: In verbose mode, write out normaliz format files
4cfcd14_normaliz_format: Fix last change
ea7a6b8Polyhedron_normaliz: Prepare classes for work over field extensions

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25097

    • Property Cc tmonteil moritz added
    • Property Commit changed from to ea7a6b83b235f76a0c98930d9d1aa42991ed6d7d
    • Property Dependencies changed from to #25090
    • Property Branch changed from to public/25097/qnormaliz-algebraic
  • Ticket #25097 – Description

    initial v6  
     1As a first step, we make it possible to write Normaliz output files when setting up a polyhedron.
     2{{{
     3sage: P = Polyhedron(vertices=polytopes.icosahedron().vertices(), backend='normaliz', verbose='out.in')
     4# Calling PyNormaliz.NmzCone(**{'subspace': [], 'vertices': [[0, 2, sqrt5 + 1, 4], [0, -2, sqrt5 + 1, 4], [2, sqrt5 + 1, 0, 4], [2, -sqrt5 - 1, 0, 4], [sqrt5 + 1, 0, 2, 4], [sqrt5 + 1, 0, -2, 4], [-2, sqrt5 + 1, 0, 4], [-2, -sqrt5 - 1, 0, 4], [-sqrt5 - 1, 0, 2, 4], [0, 2, -sqrt5 - 1, 4], [0, -2, -sqrt5 - 1, 4], [-sqrt5 - 1, 0, -2, 4]], 'cone': []})
     5# Wrote equivalent Normaliz input file to out.in
     6sage: !cat out.in
     7amb_space 3
     8number_field min_poly (a^2 - 5) embedding [2.236067977499789 +/- 8.06e-16]
     9subspace 0
     10vertices 12
     11 0 2 (a + 1) 4
     12 0 -2 (a + 1) 4
     13 2 (a + 1) 0 4
     14 2 (-a - 1) 0 4
     15 (a + 1) 0 2 4
     16 (a + 1) 0 -2 4
     17 -2 (a + 1) 0 4
     18 -2 (-a - 1) 0 4
     19 (-a - 1) 0 2 4
     20 0 2 (-a - 1) 4
     21 0 -2 (-a - 1) 4
     22 (-a - 1) 0 -2 4
     23cone 0
     24}}}