-
-
Notifications
You must be signed in to change notification settings - Fork 519
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
sage.libs.ppl.MIP_Problem: Add support for integer variables #20351
Comments
comment:2
Good catch! I wish I knew this when I still had the student, who wrote the Cython bindings for the ppl LP, around. (He is now at Facebook...) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:5
Replying to @dimpase:
I'll write it if you review my other tickets ;) |
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
Author: Matthias Koeppe |
This comment has been minimized.
This comment has been minimized.
comment:10
Are indices of variables 0-based, 1-based? |
comment:11
Can one use this to generate integer hull of a polytope defined by inequalities (perhaps after adjusting the corresponding Polyhedron code)? |
comment:12
This is already documented in the class docstring of
No, PPL does not have code for computing integer hulls.
I would be quite interested in having code in Sage that computes a polyhedron given only by a linear optimization oracle [for example, implemented by a MIP solver], see for example http://arxiv.org/pdf/1412.3987.pdf. But this has nothing to do with this ticket. |
comment:13
IMHO in |
comment:14
The code in
|
comment:15
OK, good. Although I am a bit concerned about few |
Reviewer: Dima Pasechnik |
Changed branch from u/mkoeppe/sage_libs_ppl_mip_problem_and_pplbackend__add_support_for_integer_variables to |
PPL's solver is a rational MIP solver.
Its support for integer variables should be exposed in Sage.
Reference: http://bugseng.com/products/ppl/documentation/user/ppl-user-1.2-html/classParma__Polyhedra__Library_1_1MIP__Problem.html
For
sage.libs.ppl.MIP_Problem
, I think one just needs to add a wrapper for this method:and then a wrapper class for
Variables_Set
.On another ticket (#20354),
PPLBackend
will be updated accordingly.CC: @dimpase @videlec @jdemeyer
Component: numerical
Author: Matthias Koeppe
Branch/Commit:
9f35b65
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/20351
The text was updated successfully, but these errors were encountered: