Re: [sage-devel] Re: Using Both Induced Volume and Lrs Engine

2022-02-27 Thread Advay Goel
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 s

[sage-devel] Re: Using Both Induced Volume and Lrs Engine

2022-02-23 Thread Advay Goel
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 review > > On Wednesday,

[sage-devel] Re: Using Both Induced Volume and Lrs Engine

2022-02-23 Thread Advay Goel
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 was

[sage-devel] Re: Using Both Induced Volume and Lrs Engine

2022-02-23 Thread Advay Goel
Thank you for the response. I'm not quite sure what you mean by "pull them back along the embedding of a subspace containing the polytope to get a full one." For example, I currently have a 10-dimensional polytope that is located in QQ^18. How would I bring this polytope into 10-dimensional sp

[sage-devel] Using Both Induced Volume and Lrs Engine

2022-02-23 Thread Advay Goel
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 i

Re: [sage-devel] Adding LRS Library On SageMath

2022-01-10 Thread Advay Goel
email. Do you know what I'm doing incorrectly? Thanks, Advay On Sunday, January 2, 2022 at 4:26:17 AM UTC-5 Samuel Lelievre wrote: > 2021-12-29 04:12 UTC, Advay Goel on sage-devel: > > > > Hi All, > > > > I use macOS Big Sur Version 11.1, and need to use &

Re: [sage-devel] Adding LRS Library On SageMath

2021-12-29 Thread Advay Goel
Regarding the actual library itself, is that already on my system or will I have to download lrslib again? On Wednesday, December 29, 2021 at 6:58:49 AM UTC-5 dim...@gmail.com wrote: > On Wed, Dec 29, 2021 at 5:12 AM Advay Goel wrote: > > > > Hi All, > > > > I use

[sage-devel] Adding LRS Library On SageMath

2021-12-28 Thread Advay Goel
Hi All, I use macOS Big Sur Version 11.1, and need to use the LRS Library for a project: def getVolume(self,eng='lrs'): """ needs Sage 5.9 for 'lrs' engine """ return self.poly.volume(engine=eng)*factorial(self.poly.dim()) Currently, whenever I run this function, I get 0, and I believe it is