Parameters
RuleOptions
See RuleOptions
Returns
RuleEntry<"assignment-priority", object & RuleOptions>
Soft constraint. The solver adds a penalty for each assignment of the
targeted members, making them less likely to appear on the schedule.
Use priority to control preference strength; higher priority means a larger
penalty. This rule remains a preference. The member is still assigned when
coverage or hard constraints require it.
Opposite of preferAssignment. Both map to the same underlying
assignment-priority rule with different directions.