LotSizingDataModel.Checker 2.0.1
Reusable validation engine for structural, mathematical and objective consistency checks.
Loading...
Searching...
No Matches
MathematicalConstraintCheckDetail.cs
Go to the documentation of this file.
1using LotSizingDataModel.Solver.Modeling;
2
4
5/// <summary>
6/// Describes the numerical evaluation of one mathematical constraint.
7/// </summary>
9{
10 /// <summary>
11 /// Gets or sets the constraint identifier.
12 /// </summary>
13 public int ConstraintId
14 {
15 get;
16 set;
17 }
18
19 /// <summary>
20 /// Gets or sets the constraint name.
21 /// </summary>
22 public string ConstraintName
23 {
24 get;
25 set;
26 } = string.Empty;
27
28 /// <summary>
29 /// Gets or sets the constraint domain key, when available.
30 /// </summary>
31 public string? DomainKey
32 {
33 get;
34 set;
35 }
36
37 /// <summary>
38 /// Gets or sets the evaluated left-hand-side value.
39 /// </summary>
40 public double LeftHandSideValue
41 {
42 get;
43 set;
44 }
45
46 /// <summary>
47 /// Gets or sets the constraint sense.
48 /// </summary>
49 public MathematicalConstraintSense Sense
50 {
51 get;
52 set;
53 }
54
55 /// <summary>
56 /// Gets or sets the right-hand-side value.
57 /// </summary>
58 public double RightHandSideValue
59 {
60 get;
61 set;
62 }
63
64 /// <summary>
65 /// Gets or sets the positive violation magnitude.
66 /// </summary>
67 public double Violation
68 {
69 get;
70 set;
71 }
72
73 /// <summary>
74 /// Gets or sets whether the constraint is feasible within tolerance.
75 /// </summary>
76 public bool IsSatisfied
77 {
78 get;
79 set;
80 }
81}
Describes the numerical evaluation of one mathematical constraint.
bool IsSatisfied
Gets or sets whether the constraint is feasible within tolerance.
MathematicalConstraintSense Sense
Gets or sets the constraint sense.
string? DomainKey
Gets or sets the constraint domain key, when available.