From fef5f1fdc44b96089e90c1ab18e95f2ddf26a4b0 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Wed, 5 Jun 2024 01:23:49 +0200 Subject: Remove state field from ConicProblem --- examples/sostools/sosdemo2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/sostools/sosdemo2.py') diff --git a/examples/sostools/sosdemo2.py b/examples/sostools/sosdemo2.py index d0cf81d..ece36b7 100644 --- a/examples/sostools/sosdemo2.py +++ b/examples/sostools/sosdemo2.py @@ -33,7 +33,7 @@ constraints = ( sos.make_sos_constraint(- (dV @ f)), ) -prob, result = sos.solve_problem(cost=None, constraints=constraints, solver=Solver.CVXOPT) +prob, state, result = sos.solve_problem(cost=None, constraints=constraints, solver=Solver.CVXOPT) print(prob) # TODO: create SolverStatus enumeration -- cgit v1.2.1