BoxConstraintsProjectorTryConvertToBoxConstraints Method |
Attempts to convert the constraints to simple box constraints for
each parameter.
Namespace: Altaxo.Calc.OptimizationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3618.0 (4.8.3618.0)
Syntaxpublic (double?[] , double?[] , bool[]? , double?[]? , bool[]? )? TryConvertToBoxConstraints(
double tolerance = 1E-12
)
Parameters
- tolerance Double (Optional)
- When determining whether a matrix entry is considered non-zero, this tolerance is used relative to the row norm. This allows for some numerical imprecision in the constraint definitions while still enabling conversion to boundary constraints when appropriate.
Return Value
NullableValueTupleNullableDouble,
NullableDouble,
Boolean,
NullableDouble,
BooleanIf the conversion fails, the return value is null. If the conversion succeeds, the return value is atuple consisting of the fixed values, lower bounds, lower bound exclusivity flags, upper bounds, and upper bound exclusivity flags for each parameter if the conversion is possible; otherwise, null.
Implements
IConstraintsProjectorTryConvertToBoxConstraints(Double)
See Also