From e3ad76e4b6cf6d73f5ac679ddad0aba0e8e0c913 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Sat, 11 May 2024 19:02:01 +0200 Subject: Add TODO --- sumofsquares/solver/cvxopt.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sumofsquares/solver/cvxopt.py b/sumofsquares/solver/cvxopt.py index a608546..3b227c7 100644 --- a/sumofsquares/solver/cvxopt.py +++ b/sumofsquares/solver/cvxopt.py @@ -117,6 +117,7 @@ def solve_sos_cone(prob: Problem, verbose: bool = False, elif isinstance(c, EqualToZero | NonNegative): # Convert constraints to affine expression in decision variables + # TODO: Use half Newton polytope optimization to reduce size of marix problem constr = poly.to_affine(c.expression.quadratic_in(x).read(prob.state)) if constr.degree > 1: raise ValueError("CVXOpt can solve problem with constraints that are " -- cgit v1.2.1