LotSizingDataModel.Checker 2.0.1
Reusable validation engine for structural, mathematical and objective consistency checks.
Loading...
Searching...
No Matches
SolutionCheckIssue.cs
Go to the documentation of this file.
2
4
5/// <summary>
6/// Describes one issue detected by a lot-sizing solution checker.
7/// </summary>
8public sealed class SolutionCheckIssue
9{
10 /// <summary>
11 /// Gets or sets the issue severity.
12 /// </summary>
14 {
15 get;
16 set;
17 }
18
19 /// <summary>
20 /// Gets or sets the issue category.
21 /// </summary>
23 {
24 get;
25 set;
26 }
27
28 /// <summary>
29 /// Gets or sets the related mathematical-domain key, when available.
30 /// </summary>
31 public string? DomainKey
32 {
33 get;
34 set;
35 }
36
37 /// <summary>
38 /// Gets or sets the related mathematical constraint name, when available.
39 /// </summary>
40 public string? ConstraintName
41 {
42 get;
43 set;
44 }
45
46 /// <summary>
47 /// Gets or sets the actual value involved in the issue, when meaningful.
48 /// </summary>
49 public double? ActualValue
50 {
51 get;
52 set;
53 }
54
55 /// <summary>
56 /// Gets or sets an expected or reference value, when meaningful.
57 /// </summary>
58 public double? ExpectedValue
59 {
60 get;
61 set;
62 }
63
64 /// <summary>
65 /// Gets or sets the numerical violation magnitude, when meaningful.
66 /// </summary>
67 public double? Violation
68 {
69 get;
70 set;
71 }
72
73 /// <summary>
74 /// Gets or sets a human-readable diagnostic message.
75 /// </summary>
76 public string Message
77 {
78 get;
79 set;
80 } = string.Empty;
81}
Describes one issue detected by a lot-sizing solution checker.
SolutionCheckIssueKind Kind
Gets or sets the issue category.
string? DomainKey
Gets or sets the related mathematical-domain key, when available.
SolutionCheckSeverity Severity
Gets or sets the issue severity.
double? Violation
Gets or sets the numerical violation magnitude, when meaningful.
double? ActualValue
Gets or sets the actual value involved in the issue, when meaningful.
double? ExpectedValue
Gets or sets an expected or reference value, when meaningful.
string? ConstraintName
Gets or sets the related mathematical constraint name, when available.
string Message
Gets or sets a human-readable diagnostic message.
SolutionCheckSeverity
Defines the severity of a solution-check issue.
SolutionCheckIssueKind
Identifies the category of an issue detected while checking a solution.