Changes between Version 3 and Version 6 of Ticket #28639


Ignore:
Timestamp:
10/21/19 09:30:00 (2 years ago)
Author:
gh-kliem
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28639

    • Property Commit changed from c42c907f184264859fa6a5e37e523feb37568041 to cc17f0741bb323f06c6a65c5e0f08f1ea73a5655
    • Property Summary changed from Polyhedron_normaliz initialize new cone from both Vrep and Hrep to Polyhedron_normaliz: Initialize new cone from both Vrep and Hrep
  • Ticket #28639 – Description

    v3 v6  
    11This ticket implements a method to initialize a cone from vertices, rays, inequations and equalities.
    22
    3 This method can be useful to unpickle a saved instance of `Polyhedron_normaliz`, where the normaliz cone has been removed. Also it can be used to set up a polyhedron with normaliz with given `Vrepresentation` and `Hrepresentation`.
     3More precisely
     4- we outsource a new method `_cone_from_normaliz_data` from the existing method `_init_from_normaliz_data`.
     5- Then we add a method `_cone_from_Vrepresentation_and_Hrepresentation`, which returns a cone form `vertices`, `rays`, `ieqs` and `eqns`.
    46
    5 The case of neither rays nor lines or without inequalities is not covered by this method. In those trivial case, the polyhedron must be initialized from scratch.
     7Note that lines must be recomputed, hence the cone might reorder them.
     8
     9The trivial cases of neither rays nor lines or without inequalities are not covered by this method. In either case `None` is returned.
     10
     11As a follow up we
     12- fix `Polyhedron_normaliz.save` in #26363,
     13- we allow converting to `'normaliz'` backend with both Vrep and Hrep in the spirit of #22701.