# Revision history [back]

### How to use LRS engine in Sage?

Hi All,

I run Sage on my MacOS using terminal. As part of a project I am doing, I need to use the lrs engine:

def getVolume(self,eng='lrs'): """ needs Sage 5.9 for 'lrs' engine """ return self.poly.volume(engine=eng)*factorial(self.poly.dim())

However, this getVolume() function does not seem to work and always returns 0. So, I did some research and I am pretty sure my system does not have the Lrs engine at all. I checked for Lrs using this code: https://doc.sagemath.org/html/en/reference/misc/sage/features/lrs.html and it told me that Lrs is not there.

Thanks!

 2 retagged FrédéricC 4748 ●3 ●39 ●99

### How to use LRS engine in Sage?

Hi All,

I run Sage on my MacOS using terminal. As part of a project I am doing, I need to use the lrs engine:

def getVolume(self,eng='lrs'): """ needs Sage 5.9 for 'lrs' engine """ return self.poly.volume(engine=eng)*factorial(self.poly.dim())

However, this getVolume() function does not seem to work and always returns 0. So, I did some research and I am pretty sure my system does not have the Lrs engine at all. I checked for Lrs using this code: https://doc.sagemath.org/html/en/reference/misc/sage/features/lrs.html and it told me that Lrs is not there.

Thanks!

 3 None slelievre 16319 ●19 ●146 ●324 http://carva.org/samue...

### How to use LRS engine in Sage?

Hi All,

I run Sage on my MacOS using terminal. As part of a project I am doing, I need to use the lrs engine:

def getVolume(self,eng='lrs'):
"""
needs Sage 5.9 for 'lrs' engine
"""
return self.poly.volume(engine=eng)*factorial(self.poly.dim())self.poly.volume(engine=eng)*factorial(self.poly.dim())


However, this getVolume() function does not seem to work and always returns 0. So, I did some research and I am pretty sure my system does not have the Lrs engine at all. I checked for Lrs using this code: https://doc.sagemath.org/html/en/reference/misc/sage/features/lrs.html and it told me that Lrs is not there.