| BoundedVariableProblemAddUpperBound(Int32, Double) Method |
Adds an upper bound constraint on the variable at the given index.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public void AddUpperBound(
int variableIndex,
double upperBound
)
Public Sub AddUpperBound (
variableIndex As Integer,
upperBound As Double
)
public:
void AddUpperBound(
int variableIndex,
double upperBound
)
member AddUpperBound :
variableIndex : int *
upperBound : float -> unit
Parameters
- variableIndex Int32
- The zero-based index of the variable to which the
constraint is applied.
- upperBound Double
- The value of the upper bound for the variable.
See Also