109 throw new ArgumentOutOfRangeException(
112 "The requested solution-check level is not defined.");
139 throw new ArgumentOutOfRangeException(
142 "The reported objective override must be finite when specified.");
146 private static void ValidateTolerance(
148 string parameterName)
150 if (!
double.IsFinite(value) ||
153 throw new ArgumentOutOfRangeException(
156 "A numerical tolerance must be finite and non-negative.");
Configures generic lot-sizing solution checking.
double ObjectiveRelativeTolerance
Gets or sets the relative tolerance used when comparing objective values.
bool IgnoreDisabledConstraints
Gets or sets whether disabled mathematical constraints must be ignored.
double ZeroTolerance
Gets or sets the absolute tolerance used to identify numerical zero.
double FeasibilityTolerance
Gets or sets the absolute tolerance used for constraint feasibility.
bool ContinueAfterStructuralErrors
Gets or sets whether checking should continue after a structural error.
double ObjectiveAbsoluteTolerance
Gets or sets the absolute tolerance used when comparing objective values.
SolutionCheckLevel Level
Gets or sets the requested checking depth.
double IntegralityTolerance
Gets or sets the tolerance used for integer and binary values.
void EnsureValid()
Validates the checker options.
double? ReportedObjectiveValueOverride
Gets or sets an optional externally reported objective value that takes precedence over the value sto...
SolutionCheckLevel
Defines how deeply a lot-sizing solution must be checked.