Class NonNegativeConstraint

    • Constructor Detail

      • NonNegativeConstraint

        public NonNegativeConstraint​(boolean restricted)
        Parameters:
        restricted - If true, all the variables must be positive.
    • Method Detail

      • isRestrictedToNonNegative

        public boolean isRestrictedToNonNegative()
        Indicates whether all the variables must be restricted to non-negative values.
        Returns:
        true if all the variables must be positive.