The LinearConstraint type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| LinearConstraint | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| Clone |
Returns a deep copy of self.
(Overrides Constraint..::.Clone()()().) | |
| Equals | Overloaded. | |
| EvaluateConstraintFunction |
Evaluates the constraint function at the
given point.
(Overrides Constraint..::.EvaluateConstraintFunction(DoubleVector).) | |
| GetHashCode |
Returns the hash code for this object.
(Overrides Object..::.GetHashCode()()().) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Gradient | Overloaded. | |
| IsSatisfied |
Determines if the constraint represented by this instance is
satisfied at the given point.
(Inherited from Constraint.) | |
| ToString |
String representation of a linear constraint.
(Overrides Object..::.ToString()()().) |
Operators
| Name | Description | |
|---|---|---|
| Equality |
Compares two LinearConstraint objects for equaltiy.
| |
| Inequality |
Compares two LinearConstraint objects for inequaltiy.
|
Properties
| Name | Description | |
|---|---|---|
| Coefficients |
Gets and sets the coefficients for the linear combination that is
constrained.
| |
| ConstraintCoefficients |
Gets and sets the coefficients for the linear combination that is
constrained.
| |
| RightHandSide |
Gets and sets the right hand side, rhs, of the constraint expression
c0*x0 + c1*x1 + ... + cn*xn >= (==) rhs | |
| Tolerance |
Gets and sets the tolerance for determining whether or not this
constraint is satisfied at a particular point. For
example the equality constraint
c(x) = 0 will be considered to be satisfied at a point x0
if |c(x0)| < Tolerance, and a inequality constraint
c(x) >= 0 will be considered to be satisfied at a point x0
if c(x0) >= -tolerance_.
(Inherited from Constraint.) | |
| Type |
Gets and sets the type of the constraint, either equality or inequality.
(Inherited from Constraint.) |