Click or drag to resize

LinearConstraint Methods

The LinearConstraint type exposes the following members.

Methods
 NameDescription
Public methodClone Returns a deep copy of self.
(Overrides ConstraintClone)
Public methodEquals(LinearConstraint) Returns true if the given LinearConstraint is equal to self. Two constraints are equal if they have the same coefficients, right hand side, and are of the same type (equality or inequality).
Public methodEquals(Object) Returns true if the given LinearConstraint is equal to self. Two constraints are equal if they have the same coefficients, right hand side, and are of the same type (equality or inequality).
(Overrides ObjectEquals(Object))
Public methodEvaluateConstraintFunction(Double) Evaluates the constraint function at the given point.
(Inherited from Constraint)
Public methodEvaluateConstraintFunction(DoubleVector) Evaluates the constraint function at the given point.
(Overrides ConstraintEvaluateConstraintFunction(DoubleVector))
Public methodGetHashCode Returns the hash code for this object.
(Overrides ObjectGetHashCode)
Public methodGradient(DoubleVector) Evaluates the gradient of the constraint function and returns this value.
(Inherited from Constraint)
Public methodGradient(DoubleVector, DoubleVector) Evaluates the gradient of the constraint function and places in the given vector.
(Overrides ConstraintGradient(DoubleVector, DoubleVector))
Public methodIsSatisfied(DoubleVector) Determines if the constraint represented by this instance is satisfied at the given point.
(Inherited from Constraint)
Public methodIsSatisfied(DoubleVector, Double) Determines if the constraint represented by this instance is satisfied at the given point withing the given tolerance. The tolerance associated with this object, accessed with the Tolerance property, is ignored.
(Inherited from Constraint)
Public methodToString String representation of a linear constraint.
(Overrides ObjectToString)
Top
See Also