From: lo <jam...@fr...> - 2022-03-05 16:18:54
|
Hi, I have a question about the toolbox polytope; With import numpy as np import polytope as pc A = np.array([[-1.0, 0.0], [0.0, -1.0], [1.0, 1.0]]) b = np.array([0,0,1.0]) p = pc.Polytope(A, b) print(p.volume) I got 0.536, then 0.466, then 0.46, ... though I expect something very close to 0.5; How can I reduce the variance, i.e. have more accurate results ? thanks for the help, regards, Laurent |