Opened 4 years ago

Last modified 6 weeks ago

#23556 new defect

LattE is sometimes not happy with V representation

Reported by: vdelecroix Owned by:
Priority: major Milestone: sage-9.5
Component: interfaces Keywords:
Cc: mkoeppe Merged in:
Authors: Reviewers:
Report Upstream: Not yet reported upstream; Will do shortly. Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by vdelecroix)

sage: from sage.interfaces.latte import count
sage: P = Polyhedron(rays=[[1,0,0],[0,1,0],[0,0,1]])
sage: count(P.cdd_Vrepresentation(),
....: cdd=True,
....: multivariate_generating_function=True,
....: raw_output=True)
---------------------------------------------------------------------------
IOError                                   Traceback (most recent call last)
<ipython-input-3-b8af61d0b5fe> in <module>()
      2 cdd=True,
      3 multivariate_generating_function=True,
----> 4 raw_output=True)

/opt/sage/local/lib/python2.7/site-packages/sage/interfaces/latte.pyc in count(arg, ehrhart_polynomial, multivariate_generating_function, raw_output, verbose, **kwds)
    170             return R(ans)
    171     elif multivariate_generating_function:
--> 172         with open(filename + '.rat') as f:
    173             ans = f.read()
    174         if raw_output:

IOError: [Errno 2] No such file or directory: '/home/vincent/.sage/temp/mangouste/6180/tmp_NYOKC8.rat'

Actually, LattE produces an error message with this example but the return value is 0

This is LattE integrale 1.7.3
Available from http://www.math.ucdavis.edu/~latte

Invocation: count --multivariate-generating-function '--redundancy-check=none' --cdd /home/vincent/.sage/temp/mangouste/6027/tmp_yXiTqU
Warning: Not performing check for empty polytope, because it is unimplemented for the CDD-style input format.
size = 4 x 4
Number Type = rational
Computing vertices and edges with cddlib...size = 4 x 4
Number Type = rational
done.

Reading .ext file...

readCddExtFile:: Given polyhedron is unbounded!!!(2)

Change History (8)

comment:1 Changed 4 years ago by vdelecroix

  • Description modified (diff)

comment:2 Changed 4 years ago by vdelecroix

  • Description modified (diff)
  • Summary changed from LattE is sometimes not happy with V representation to problems with LattE integrale

comment:3 Changed 4 years ago by vdelecroix

  • Report Upstream changed from N/A to Not yet reported upstream; Will do shortly.

comment:4 Changed 4 years ago by vdelecroix

  • Description modified (diff)
  • Summary changed from problems with LattE integrale to LattE is sometimes not happy with V representation

comment:5 Changed 17 months ago by mkoeppe

  • Milestone changed from sage-8.1 to sage-9.2

Moving some tickets to 9.2. This is not a promise that I will be working on them.

comment:6 Changed 13 months ago by mkoeppe

  • Milestone changed from sage-9.2 to sage-9.3

comment:7 Changed 6 months ago by mkoeppe

  • Milestone changed from sage-9.3 to sage-9.4

Sage development has entered the release candidate phase for 9.3. Setting a new milestone for this ticket based on a cursory review of ticket status, priority, and last modification date.

comment:8 Changed 6 weeks ago by mkoeppe

  • Milestone changed from sage-9.4 to sage-9.5
Note: See TracTickets for help on using tickets.