Loading picos/modeling/options.py +1 −6 Original line number Diff line number Diff line Loading @@ -466,14 +466,9 @@ OPTIONS = [ passed and before the search is started. See the `list of QICS parameters <https://qics.readthedocs.io/en/stable/guide/gettingstarted.html <https://qics.readthedocs.io/en/stable/guide/reference.html#solving #solving>`_."""), ("qics_init_pnt", dict, {}, """ A dictionary of tuples representing the variables x, y, z, s, tau, kap to initialize the QICS solver from. Unspecified variables will be initialized using QICS' default settings."""), ("scip_params", dict, {}, """ A dictionary of SCIP parameters to be set after general options are passed and before the search is started. Loading tests/ptest_quantentr.py +0 −4 Original line number Diff line number Diff line Loading @@ -137,13 +137,11 @@ class REE(ProductionTestCase): P, Y = self.P, self.Y obj = math.log(2) Ystar = (0.5 * np.eye(4) + X) / 3 P.set_objective("min", picos.quantrelentr(X, Y)) self.primalSolve(P) self.expectObjective(self.P, obj) self.expectVariable(self.Y, cvxopt.matrix(Ystar)) def testSeparable(self): # noqa X = np.array([ Loading Loading @@ -188,13 +186,11 @@ class CREE(ProductionTestCase): P, Y = self.P, self.Y obj = math.log(2) Ystar = (0.5 * np.eye(4) + X) / 3 P.set_objective("min", picos.quantrelentr(X, Y)) self.primalSolve(P) self.expectObjective(self.P, obj) self.expectVariable(self.Y, cvxopt.matrix(Ystar)) def testSeparable(self): # noqa X = np.array([ Loading Loading
picos/modeling/options.py +1 −6 Original line number Diff line number Diff line Loading @@ -466,14 +466,9 @@ OPTIONS = [ passed and before the search is started. See the `list of QICS parameters <https://qics.readthedocs.io/en/stable/guide/gettingstarted.html <https://qics.readthedocs.io/en/stable/guide/reference.html#solving #solving>`_."""), ("qics_init_pnt", dict, {}, """ A dictionary of tuples representing the variables x, y, z, s, tau, kap to initialize the QICS solver from. Unspecified variables will be initialized using QICS' default settings."""), ("scip_params", dict, {}, """ A dictionary of SCIP parameters to be set after general options are passed and before the search is started. Loading
tests/ptest_quantentr.py +0 −4 Original line number Diff line number Diff line Loading @@ -137,13 +137,11 @@ class REE(ProductionTestCase): P, Y = self.P, self.Y obj = math.log(2) Ystar = (0.5 * np.eye(4) + X) / 3 P.set_objective("min", picos.quantrelentr(X, Y)) self.primalSolve(P) self.expectObjective(self.P, obj) self.expectVariable(self.Y, cvxopt.matrix(Ystar)) def testSeparable(self): # noqa X = np.array([ Loading Loading @@ -188,13 +186,11 @@ class CREE(ProductionTestCase): P, Y = self.P, self.Y obj = math.log(2) Ystar = (0.5 * np.eye(4) + X) / 3 P.set_objective("min", picos.quantrelentr(X, Y)) self.primalSolve(P) self.expectObjective(self.P, obj) self.expectVariable(self.Y, cvxopt.matrix(Ystar)) def testSeparable(self): # noqa X = np.array([ Loading