Class SDPDualProblem.EqualityConstraints

    • Constructor Detail

      • EqualityConstraints

        public EqualityConstraints​(Vector b,
                                   SymmetricMatrix C,
                                   SymmetricMatrix[] A)
        Construct the equality constraints for a dual SDP problem, \(\sum_{i=1}^{p}y_i\mathbf{A_i}+\textbf{S} = \textbf{C}, \textbf{S} \succeq \textbf{0}\).
        Parameters:
        b - \(b\)
        C - \(C\)
        A - \(A\)
    • Method Detail

      • dimension

        public int dimension()
        Description copied from interface: Constraints
        Get the number of variables.
        Specified by:
        dimension in interface Constraints
        Returns:
        the number of variables
      • size

        public int size()
        Description copied from interface: Constraints
        Get the number of constraints.
        Specified by:
        size in interface Constraints
        Returns:
        the number of constraints