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