Click or drag to resize

LinearConstrainedProblemAddUpperBoundConstraint(ILinearConstraintCoefficients, Double, Double) 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 AddUpperBoundConstraint(
	ILinearConstraintCoefficients coefficients,
	double upperBound,
	double tolerance
)

Parameters

coefficients  ILinearConstraintCoefficients
Constraint coefficients.
upperBound  Double
The upper bound.
tolerance  Double
The tolerance for determining whether or not this constraint is satisfied at a particular point. For example the equality constraint c(x) = 0 will be considered to be satisfied at a point x0 if |c(x0)| < Tolerance, and a inequality constraint c(x) >= 0 will be considered to be satisfied at a point x0 if c(x0) >= -tolerance_.
See Also