Changes between Initial Version and Version 1 of Ticket #24154


Ignore:
Timestamp:
11/04/17 00:52:52 (4 years ago)
Author:
mkoeppe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24154 – Description

    initial v1  
    11As reported in https://groups.google.com/d/msg/sage-devel/TuF0CidR-JI/8-zpcu-MCgAJ, the preprocessing code in `integral_points_count` sometimes fails. This is ultimately because `Polyhedron.to_linear_program` does not handle equations correctly.
     2
     3{{{
     4sage: P = Polyhedron(vertices=[[19]])
     5sage: P.to_linear_program().show()
     6Maximization:
     7 
     8
     9Constraints:
     10  constraint_0: -19 <= x_0 <= -19
     11Variables:
     12  x_0 is a continuous variable (min=-oo, max=+oo)
     13sage: P.to_linear_program().polyhedron().vertices_list()
     14[[-19]]
     15}}}
    216
    317