Click or drag to resize

NonlinearProgrammingProblemAddLinearEqualityConstraint Method

Adds an equality constraint of the form coefficients'x = rightHandSide

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public void AddLinearEqualityConstraint(
	DoubleVector coefficients,
	double rightHandSide
)

Parameters

coefficients  DoubleVector
Vector of coefficients.
rightHandSide  Double
The right hand side of the equality.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if rightHandSide is not real - i.e. NaN of Infinity.
See Also