ScheduleViolation Properties |
The ScheduleViolation type exposes the following members.
Name | Description | |
---|---|---|
FirstDay |
The day this violation occurs on. If the violation ranges over multiple days
(e.g. workload constraints) then this is the first day in the range.
| |
ID |
The ID of the constraint if it is set in the XML.
| |
Label |
A label for the constraint if provided in the problem XML.
| |
LastDay |
The day this violation occurs on. If the violation ranges over multiple days
(e.g. workload constraints) then this is the last day in the range.
| |
MinMax |
Min or Max.
| |
Penalty |
The penalty due to this violation.
| |
SolutionValue |
The actual value that has been assigned in the solution.
| |
TargetUnit |
A unit description for the TargetValue (if available).
For example if it is a constraint on the amount of time a person can be assigned to a
particular task then this field contains the task ID.
| |
TargetValue |
The minimum or maximum value that ideally should be assigned in the solution.
| |
Weight |
The weight for the constraint.
| |
WeightFunction |
The weight function for this constraint e.g. linear or quadratic.
|