Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot interrupt integral_points() of polyhedron #20781

Closed
tscrim opened this issue Jun 7, 2016 · 9 comments
Closed

Cannot interrupt integral_points() of polyhedron #20781

tscrim opened this issue Jun 7, 2016 · 9 comments

Comments

@tscrim
Copy link
Collaborator

tscrim commented Jun 7, 2016

We currently cannot ctrl-C interrupt the integral_points() of a polyhedron:

sage: ieqs = [(-1, -1, -1, -1, -1, -1, -1, -1, -1),
....:         (0, -1, 0, 0, 0, 0, 0, 0, 0),
....:         (0, -1, 0, 2, -1, 0, 0, 0, 0),
....:         (0, 0, -1, -1, 2, -1, 0, 0, 0),
....:         (0, 2, 0, -1, 0, 0, 0, 0, 0),
....:         (0, 0, 0, 0, 0, 0, 0, -1, 2),
....:         (1, 0, 2, 0, -1, 0, 0, 0, 0),
....:         (0, 0, 0, 0, -1, 2, -1, 0, 0),
....:         (0, 0, 0, 0, 0, 0, 0, 0, -1),
....:         (0, 0, 0, 0, 0, -1, 2, -1, 0),
....:         (0, 0, 0, 0, 0, 0, -1, 2, -1)]
sage: P = Polyhedron(ieqs=ieqs)
sage: P
A 8-dimensional polyhedron in QQ^8 defined as the convex hull of 43 vertices
sage: P.integral_points() # Cannot ctrl-C out of this

Likely some sig_check() calls are needed.

CC: @jdemeyer

Component: cython

Author: Jeroen Demeyer

Branch/Commit: b795833

Reviewer: Travis Scrimshaw

Issue created by migration from https://trac.sagemath.org/ticket/20781

@tscrim tscrim added this to the sage-7.3 milestone Jun 7, 2016
@tscrim tscrim self-assigned this Jun 7, 2016
@tscrim

This comment has been minimized.

@jdemeyer

This comment has been minimized.

@jdemeyer
Copy link

jdemeyer commented Jun 8, 2016

Author: Jeroen Demeyer

@jdemeyer
Copy link

jdemeyer commented Jun 8, 2016

@jdemeyer
Copy link

jdemeyer commented Jun 8, 2016

Commit: b795833

@jdemeyer
Copy link

jdemeyer commented Jun 8, 2016

New commits:

b795833Allow interrupting integral_points()

@tscrim
Copy link
Collaborator Author

tscrim commented Jun 8, 2016

Reviewer: Travis Scrimshaw

@tscrim
Copy link
Collaborator Author

tscrim commented Jun 8, 2016

comment:5

Thank you!

@vbraun
Copy link
Member

vbraun commented Jun 9, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants