InequalityConstraintSettings Constructor (InequalityBoundType, Double, Double, InequalityConstraintScaling) |
Initializes a new instance.
Namespace:
AGI.Foundation.NumericalMethods
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public InequalityConstraintSettings(
InequalityBoundType boundType,
double boundValue,
double tolerance,
InequalityConstraintScaling scaling
)
Public Sub New (
boundType As InequalityBoundType,
boundValue As Double,
tolerance As Double,
scaling As InequalityConstraintScaling
)
public:
InequalityConstraintSettings(
InequalityBoundType boundType,
double boundValue,
double tolerance,
InequalityConstraintScaling^ scaling
)
new :
boundType : InequalityBoundType *
boundValue : float *
tolerance : float *
scaling : InequalityConstraintScaling -> 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.
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