LotSizingDataModel.Solver 2.0.1
Solver-independent modeling, execution, monitoring and adapter infrastructure.
Loading...
Searching...
No Matches
ScientificFormulationSelectionCandidate.cs
Go to the documentation of this file.
2
3/// <summary>
4/// One registered formulation and its scientific compatibility.
5/// </summary>
7{
11 bool? technicalCanBuild)
12 {
14 formulation ??
15 throw new ArgumentNullException(nameof(formulation));
16
18 compatibility ??
19 throw new ArgumentNullException(nameof(compatibility));
20
21 TechnicalCanBuild = technicalCanBuild;
22 }
23
26
27 /// <summary>
28 /// Null when selection was performed from a precomputed scientific result
29 /// without a concrete LotSizingInstance.
30 /// </summary>
31 public bool? TechnicalCanBuild { get; }
32
33 public bool IsSelectable =>
34 Compatibility.Kind ==
36 TechnicalCanBuild != false;
37}
ScientificFormulationSelectionCandidate(IMathematicalModelFormulation formulation, ScientificFormulationCompatibilityResult compatibility, bool? technicalCanBuild)
bool? TechnicalCanBuild
Null when selection was performed from a precomputed scientific result without a concrete LotSizingIn...
Defines a solver-independent mathematical formulation for a lot-sizing instance.