#14116: update polymake interface to 2.12-rc3
----------------------------------+-----------------------------------------
Reporter: tkluck | Owner: mhampton
Type: defect | Status: new
Priority: major | Milestone: sage-5.10
Component: geometry | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Timo Kluck | Merged in:
Dependencies: #13768, #13767 | Stopgaps:
----------------------------------+-----------------------------------------
Comment (by tkluck):
I just pushed some initial work to
https://github.com/tkluck/sage/tree/polymake-upgrade
It integrates pypolymake with Sage, while keeping backwards compatibility
with the old interface. Additionally, it adds an interface allowing you to
specify polytopes by Sage expressions.
I'm having some trouble getting the doctests to work, since polymake has a
habit of "spamming" stderr. (Actually, it outputs citation information,
which is worthwhile. We do need to deal with it, though.) Also, trying to
be backwards compatible both with Sage and with pypolymake leads to
ugliness such as having both `n_points` and `num_points` methods.
I'm doing development in the new integrated git repository, which is
supposed to replace the mercurial repositories sometime this Summer. Here
are instructions for reviewing my branch. They include cloning the
repository and building Sage from source, so this takes a lot of time. I
will also make mercurial patches available for review at some point.
{{{
$ # clone the repository
$ git clone git://github.com/tkluck/sage.git
$ cd sage
$ git checkout -t polymake-upgrade
$ # get the upstream package for polymake
$ cd upstream
$ wget
http://polymake.org/lib/exe/fetch.php/download/polymake-2.12-rc3.tar.bz2
$ mv polymake-2.12{-rc3,}.tar.bz2
$ cd ..
$ # build sage
$ MAKE="make -j4" make
$ # install the polymake package
$ ./sage -i polymake
$ # build the polymake interface, now that the package is available
$ ./sage -b
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14116#comment:7>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.