| |||||||
DETAILS: DOCUMENTATION | ELEMENTS | ATTRIBUTES | SOURCE | FRAMES | NO FRAMES |
If this is used then employees with this contract will only be assigned shifts if they are needed. The constraint can be given a weight which is a penalty incurred for each such employee that is assigned at least one shift. Other constraints regarding the number and sequences of assignments (such as Workload, Patterns,...) can be ignored for optional employees that are not used at all. The constraint can be used to leave certain employees unscheduled if possible (for example, temporary or external employees). This constraint is ignored for VariableEmployees (set the cost of their employment via the employee definition).
Attribute Summary | |
xs:boolean | countPreAssignments If true, then also fixed assignments are counted to determine whether an employee is used. |
nonNegativeDouble | weight The penalty incurred by each optional employee that is assigned at least one shift. |
Attribute Detail |
xs:boolean
true
optional
unqualified
nonNegativeDouble
optional
unqualified
<xs:element minOccurs="0" name="UsageOptional"><xs:complexType></xs:element><xs:attribute default="true" name="countPreAssignments" type="xs:boolean" use="optional"></xs:complexType>
</xs:attribute>
| |||||||
DETAILS: DOCUMENTATION | ELEMENTS | ATTRIBUTES | SOURCE | FRAMES | NO FRAMES |