Adds a linear inequality constraint of the form
coefficients'x <= upperBound
Namespace:
CenterSpace.NMath.AnalysisAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public void AddLinearUpperBoundConstraint( DoubleVector coefficients, double upperBound ) |
| Visual Basic (Declaration) |
|---|
Public Sub AddLinearUpperBoundConstraint ( _ coefficients As DoubleVector, _ upperBound As Double _ ) |
| Visual C++ |
|---|
public: void AddLinearUpperBoundConstraint( DoubleVector^ coefficients, double upperBound ) |
Parameters
- coefficients
- Type: CenterSpace.NMath.Core..::.DoubleVector
Constraint coefficients.
- upperBound
- Type: System..::.Double
The upper bound.