Click or drag to resize

DelegateBasedInequalityConstraint Constructor (DelegateBasedInequalityConstraintCallback, SegmentDefinition, InequalityBoundType, Double, Double, InequalityConstraintScaling, Double)

Initializes a new instance.

Namespace:  AGI.Foundation.NumericalMethods
Assembly:  AGI.Foundation.SegmentPropagation (in AGI.Foundation.SegmentPropagation.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public DelegateBasedInequalityConstraint(
	DelegateBasedInequalityConstraintCallback callback,
	SegmentDefinition segment,
	InequalityBoundType boundType,
	double boundValue,
	double tolerance,
	InequalityConstraintScaling scaling,
	double weight
)

Parameters

callback
Type: AGI.Foundation.NumericalMethodsDelegateBasedInequalityConstraintCallback
The delegate that will compute a value to compare against the BoundValue.
segment
Type: AGI.Foundation.SegmentPropagationSegmentDefinition
The segment that this constraint will act on.
boundType
Type: AGI.Foundation.NumericalMethodsInequalityBoundType
Whether the boundValue represents a lower or an upper bound.
boundValue
Type: SystemDouble
The lower or upper bound value that the function will be driven to satisfy if it is not already satisfied.
tolerance
Type: SystemDouble
How close the evaluated value must get to the boundValue to consider this inequality constraint to be active and on the constraint manifold.
scaling
Type: AGI.Foundation.NumericalMethodsInequalityConstraintScaling
The type of scaling to be used on this constraint.
weight
Type: SystemDouble
The weight of this constraint compared to the cost function and other constraints.
See Also