Adds an inequality constraint of the form constraintFunction(x) <= upperBound

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

Syntax

C#
public void AddUpperBoundConstraint(
	int xDimension,
	Func<DoubleVector, double> constraintFunction,
	double upperBound
)
Visual Basic (Declaration)
Public Sub AddUpperBoundConstraint ( _
	xDimension As Integer, _
	constraintFunction As Func(Of DoubleVector, Double), _
	upperBound As Double _
)
Visual C++
public:
void AddUpperBoundConstraint(
	int xDimension, 
	Func<DoubleVector^, double>^ constraintFunction, 
	double upperBound
)

Parameters

xDimension
Type: System..::.Int32
The dimension of the domain of the constraintFunction
constraintFunction
Type: System..::.Func<(Of <(DoubleVector, Double>)>)
Constraint function.
upperBound
Type: System..::.Double
The upper bound.

See Also