Hi All,
I aim to calculate the volumes of not-full dimensional polytopes. Using ambient measure, the volume is always 0. So, I want to use induced measure. At the same time, though, I also want the engine to be Lrs.
If I just do .volume(engine = 'lrs'), I always get 0. Is this an error? Or is this because the system is using ambient measure for the volume?
To try and fix the issue, I want to have both induced measure and lrs engine. However, when I input something like .volume(measure = 'induced', engine = 'lrs'), I get an error. Is there some way for me to get both?
Even after the issue seemed to be fixed here: https://trac.sagemath.org/ticket/33410, I still get the same error as before. I attached a screenshot of part of the error message to this email.I run Sage here: https://sagecell.sagemath.org/. Is there some sort of update I need to do in order to incorporate whatever changes were made to Sage?
On Wednesday, February 23, 2022 at 3:22:53 PM UTC-5 Advay Goel wrote:I run Sage in a Sage Cell Server and on Terminal on my laptop. How do I "reload" Sage on both of these to incorporate the fix?On Wednesday, February 23, 2022 at 3:21:13 PM UTC-5 Matthias Koeppe wrote:Fixed in https://trac.sagemath.org/ticket/33410, ready for use and reviewOn Wednesday, February 23, 2022 at 12:09:57 PM UTC-8 adva...@gmail.com wrote:If there's a bug, what would my next step be? When I do only induced volume, I don't get the correct result. Also, I see in https://trac.sagemath.org/ticket/16045 that people are able to use both induced volume and lrs engine at once. Is this some previous version of sage in which the error wasn't there? How could I circumvent the problem?On Wednesday, February 23, 2022 at 2:40:32 PM UTC-5 Matthias Koeppe wrote:What Nils and Michael have explained to you is, of course, already implemented in Sage.Unfortunately in the combination with lrslib, there is a bug that prevents it from working.I have opened https://trac.sagemath.org/ticket/33410 for this.On Wednesday, February 23, 2022 at 7:57:34 AM UTC-8 adva...@gmail.com wrote:Hi All,
I aim to calculate the volumes of not-full dimensional polytopes. Using ambient measure, the volume is always 0. So, I want to use induced measure. At the same time, though, I also want the engine to be Lrs.
If I just do .volume(engine = 'lrs'), I always get 0. Is this an error? Or is this because the system is using ambient measure for the volume?
To try and fix the issue, I want to have both induced measure and lrs engine. However, when I input something like .volume(measure = 'induced', engine = 'lrs'), I get an error. Is there some way for me to get both?
--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/3466467a-82f2-4588-9691-ea87ddbdf4b2n%40googlegroups.com.
In fact, it seems that the paper you cite uses a rather unusual way
to normalise the volume:
"The normalized volume vol(P) of a d-dimensional polytope P ⊂ R m is
the volume form which assigns a volume of one to the smallest
d-dimensional integer simplex in the affine span of P."