Class LinearBoundedConstraint

    • Constructor Detail

      • LinearBoundedConstraint

        public LinearBoundedConstraint​(RealMatrix a,
                                       RealVector lower,
                                       RealVector upper)
        Construct a set of linear inequality constraints from Ax < B
        Parameters:
        a - A matrix linear coefficient vectors
        lower - lower bound
        upper - upper bound
      • LinearBoundedConstraint

        public LinearBoundedConstraint​(double[][] a,
                                       double[] lower,
                                       double[] upper)
        Construct a set of linear inequality constraints from Ax < B
        Parameters:
        a - A matrix linear coefficient vectors
        lower - lower bound
        upper - upper bound
    • Method Detail

      • dim

        public int dim()
        Returns the dimensionality of the function domain. If dim() returns (n) then this function expects an n-vector as its input.
        Specified by:
        dim in interface VectorDifferentiableFunction
        Returns:
        the expected dimension of the function's domain