summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sumofsquares/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/sumofsquares/__init__.py b/sumofsquares/__init__.py
index 27f5e87..71aafde 100644
--- a/sumofsquares/__init__.py
+++ b/sumofsquares/__init__.py
@@ -61,6 +61,10 @@ def make_sos_constraint(expr: Expression, domain: Set | None = None) -> NonNegat
return NonNegative(expr, domain)
+def make_set(*polynomials: Iterable[Expression]):
+ return ArchimedeanSet(polynomials)
+
+
def make_problem(
cost: Expression,
constraints: Iterable[Constraint] = (),