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