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.2.419.0 (24.2.419.0)
Syntax public InequalityConstraintSettings(
InequalityBoundType boundType,
double boundValue,
double tolerance,
InequalityConstraintScaling scaling,
string name,
double weight
)
Public Sub New (
boundType As InequalityBoundType,
boundValue As Double,
tolerance As Double,
scaling As InequalityConstraintScaling,
name As String,
weight As Double
)
public:
InequalityConstraintSettings(
InequalityBoundType boundType,
double boundValue,
double tolerance,
InequalityConstraintScaling^ scaling,
String^ name,
double weight
)
new :
boundType : InequalityBoundType *
boundValue : float *
tolerance : float *
scaling : InequalityConstraintScaling *
name : string *
weight : float -> InequalityConstraintSettings
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