Adds a linear inequality constraint of the form
lowerBound <= coefficients'x < upperBound
Namespace:
CenterSpace.NMath.Analysis
Assembly:
NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub AddConstraint ( _
coefficients As DoubleVector, _
lowerBound As Double, _
upperBound As Double, _
tolerance As Double _
) |
Parameters
- coefficients
- Type: CenterSpace.NMath.Core..::.DoubleVector
Constraint coefficients.
- lowerBound
- Type: System..::.Double
The lower bound of the constraint.
- upperBound
- Type: System..::.Double
The upper bound of the constraint.
- tolerance
- Type: System..::.Double
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_.
See Also