Click or drag to resize

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.2.419.0 (24.2.419.0)
Syntax
public SolverConstraintSettings(
	double desiredValue,
	double tolerance,
	SolverConstraintScaling scaling,
	string name,
	double weight
)

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