| NonlinearProgrammingProblemAddUpperBoundConstraint(Int32, FuncDoubleVector, Double, Double) Method |
Adds an inequality constraint of the form
constraintFunction(x) <= upperBound
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public void AddUpperBoundConstraint(
int xDimension,
Func<DoubleVector, double> constraintFunction,
double upperBound
)
Public Sub AddUpperBoundConstraint (
xDimension As Integer,
constraintFunction As Func(Of DoubleVector, Double),
upperBound As Double
)
public:
void AddUpperBoundConstraint(
int xDimension,
Func<DoubleVector^, double>^ constraintFunction,
double upperBound
)
member AddUpperBoundConstraint :
xDimension : int *
constraintFunction : Func<DoubleVector, float> *
upperBound : float -> unit
Parameters
- xDimension Int32
- The dimension of the domain of the constraintFunction
- constraintFunction FuncDoubleVector, Double
- Constraint function.
- upperBound Double
- The upper bound.
Exceptions See Also