I use the code above to check H representation, and the printout is as follows:
begin
6 3 real
5.920433079E+01 0 -1
1.199483299E+02 1 1
7.008025541E+01 1 0
8.403677732E+01 1 -1
0 -1 1
8.841803167E+01 -1 -1
end
However, when I try to access H representation line by line as the code shown below,
for j in range(length):
row = inequs.__getitem__(j)
print(row)
The printout is as follows, where the pervious coefficient 0 is a very small value but not 0; and coefficient 1/-1 is a value extremely close but not exactly the same:
Hi,
I am using your newest version of pycddlib, thank you for the detailed documentation! I have some problems with value representation.
I use the code above to check H representation, and the printout is as follows:
However, when I try to access H representation line by line as the code shown below,
The printout is as follows, where the pervious coefficient 0 is a very small value but not 0; and coefficient 1/-1 is a value extremely close but not exactly the same:
Could you please kindly assist me in obtaining value 0/-1/1 instead of those floating point representations that introduces error? Thank you so much!