Click or drag to resize

NonlinearProgrammingProblemAddEqualityConstraint(DoubleFunctional, Double) Method

Adds an equality constraint of the form constraintFunction(x) = rightHandSide

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public void AddEqualityConstraint(
	DoubleFunctional constraintFunction,
	double rightHandSide
)

Parameters

constraintFunction  DoubleFunctional
Constraint function.
rightHandSide  Double
The right hand side of the equality.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if rightHandSide is not real - i.e. NaN of Infinity.
See Also