SolverConstraintSettings Constructor (Double, Double, SolverConstraintScaling, String, Double) |
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 SolverConstraintSettings(
double desiredValue,
double tolerance,
SolverConstraintScaling scaling,
string name,
double weight
)
Public Sub New (
desiredValue As Double,
tolerance As Double,
scaling As SolverConstraintScaling,
name As String,
weight As Double
)
public:
SolverConstraintSettings(
double desiredValue,
double tolerance,
SolverConstraintScaling^ scaling,
String^ name,
double weight
)
new :
desiredValue : float *
tolerance : float *
scaling : SolverConstraintScaling *
name : string *
weight : float -> SolverConstraintSettings
Parameters
- desiredValue
- Type: SystemDouble
The desired value that the function
will be driven to. - tolerance
- Type: SystemDouble
How close the evaluated value must get to the DesiredValue to consider
this constraint satisfied. - scaling
- Type: AGI.Foundation.NumericalMethodsSolverConstraintScaling
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.
See Also