hopsy.round#
- class hopsy.round(problem: Problem, simplify=True)#
Rounds the polytope defined by the inequality \(Ax < b\) using PolyRound. This function also strips redundant constraints. The unrounding transformation \(T\) and shift \(s\) will be stored in
hopsy.UniformProblem.transformationandhopsy.UniformProblem.shiftof the returned problem. Its left-hand side operatorhopsy.UniformProblem.Aand the right-hand sidehopsy.UniformProblem.bof the polytope will be transformed as :math:`` inequality- Parameters:
problem (hopsy.Problem) – Problem that should be rounded and which contains the matrix \(A\) and vector \(b\) in \(Ax < b\).
- Returns:
The rounded problem.
- Return type: