Click or drag to resize

InequalityConstraintSettings Constructor (InequalityBoundType, Double, Double, InequalityConstraintScaling, String, Double)

Initializes a new instance.

Namespace:  AGI.Foundation.NumericalMethods
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public InequalityConstraintSettings(
	InequalityBoundType boundType,
	double boundValue,
	double tolerance,
	InequalityConstraintScaling scaling,
	string name,
	double weight
)

Parameters

boundType
Type: AGI.Foundation.NumericalMethodsInequalityBoundType
Whether the inequality represents an upper bound or a lower bound.
boundValue
Type: SystemDouble
The value of the upper or lower bound that defines the inequality.
tolerance
Type: SystemDouble
How close the evaluated value must get to the BoundValue to consider this inequality to be on the bound.
scaling
Type: AGI.Foundation.NumericalMethodsInequalityConstraintScaling
Sets the type of scaling to be used on this constraint.
name
Type: SystemString
An optional name for the constraint settings.
weight
Type: SystemDouble
A value multiplied by the constraint error to prioritize or de-prioritize it with respect to other constraints or the cost function.
Remarks
An upper bound occurs if the inequality function must be less than or equal to the bound value to be satisfied. A lower bound occurs if the inequality function must be greater than or equal to the bound value to be satisfied.
See Also