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