I recently found a very useful open-source math software called Sage, which provides many useful functions lacking in Mathematica. Since I'm more used to the Mathematica language instead of the language (Python) used in Sage, the ability of calling Sage functions from Mathematica will be of great help. Any ideas on how to do that?
Asked
Active
Viewed 639 times
22
Mathematica? This will also attract more interest to your question. – b.gates.you.know.what Oct 08 '14 at 14:24VertexEnum.m. Even the author of the package suggested this package can only handle polytopes with dimensions no larger than 8. To my knowledge, we have no other method to do vertex enumeration in Mma, not to mention other operations on polytopes. – hxiao Oct 08 '14 at 15:34Polyhedronvia LP (H-representation). Then the vertex enumeration is just to list all vertices of the polytope. According to my experience, the speed of vertex enumeration in Sage is much much faster than that in Mma. – hxiao Oct 08 '14 at 15:37add_constraintmethod for LP defined by functionMixedIntegerLinearProgram. With that method, one can recursively add constraint one by one to the LP without looking into the constraint matrix. Besides, Sage provides many choices for the LP solver. – hxiao Oct 08 '14 at 15:56