HalfspaceIntersection.add_halfspaces(halfspaces, restart=False)
You need to specify incremental=True when constructing the object to be able to add halfspaces incrementally. Incremental addition of halfspaces is also not possible after close has been called.