Class LinearEqualityConstraint

    • Constructor Detail

      • LinearEqualityConstraint

        public LinearEqualityConstraint​(RealMatrix a,
                                        RealVector b)
        Construct a set of linear equality constraints ax = b. Represents equations a[i].x = b[i], for each row of a.
        Parameters:
        a - the matrix of linear weights
        b - the vector of constants
      • LinearEqualityConstraint

        public LinearEqualityConstraint​(double[][] a,
                                        double[] b)
        Construct a set of linear equality constraints ax = b. Represents equations a[i].x = b[i], for each row of a.
        Parameters:
        a - the matrix of linear weights
        b - the vector of constants