Adds an upper bound constraint on the variable at the given index.

Namespace:  CenterSpace.NMath.Analysis
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public void AddUpperBound(
	int variableIndex,
	double upperBound
)
Visual Basic (Declaration)
Public Sub AddUpperBound ( _
	variableIndex As Integer, _
	upperBound As Double _
)
Visual C++
public:
void AddUpperBound(
	int variableIndex, 
	double upperBound
)

Parameters

variableIndex
Type: System..::.Int32
The zero-based index of the variable to which the constraint is applied.
upperBound
Type: System..::.Double
The value of the upper bound for the variable.

See Also