Click or drag to resize

NonlinearProgrammingProblemAddLinearUpperBoundConstraint Method

Adds a linear inequality constraint of the form coefficients'x <= upperBound

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

Parameters

coefficients  DoubleVector
Constraint coefficients.
upperBound  Double
The upper bound.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if upperBound is not real - i.e. NaN of Infinity.
See Also