Commit 1faacd35 authored by kerry-he's avatar kerry-he
Browse files

Fixed some documentation references

parent ed699dbe
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -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.
+0 −4
Original line number Diff line number Diff line
@@ -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([
@@ -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([